diff options
author | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-03-24 12:56:59 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-03-24 12:56:59 +0000 |
commit | 29704e7fb425a9cdf0e134996be3c0302a71feed (patch) | |
tree | d198e67a086ed876f28bdbfd6f6156f8da2032f3 /llvm/lib/Target/Sparc | |
parent | d5cc45f192cbc1d6ad2566cbf999e1edfb3a525a (diff) | |
download | bcm5719-llvm-29704e7fb425a9cdf0e134996be3c0302a71feed.tar.gz bcm5719-llvm-29704e7fb425a9cdf0e134996be3c0302a71feed.zip |
Revert "Use std::bitset for SubtargetFeatures"
This reverts commit r233055.
It still causes buildbot failures (gcc running out of memory on several platforms, and a self-host failure on arm), although less than the previous time.
llvm-svn: 233068
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r-- | llvm/lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp b/llvm/lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp index dc9fb1ac51f..5975a517994 100644 --- a/llvm/lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp +++ b/llvm/lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp @@ -35,7 +35,7 @@ namespace Sparc { #include "SparcGenAsmWriter.inc" bool SparcInstPrinter::isV9() const { - return (STI.getFeatureBits()[Sparc::FeatureV9]) != 0; + return (STI.getFeatureBits() & Sparc::FeatureV9) != 0; } void SparcInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const |