projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reverting r237234, "Use std::bitset for SubtargetFeatures"
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
InstPrinter
/
PPCInstPrinter.cpp
diff --git
a/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
b/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
index df88aa4f5da64c2e6ac64c9d29019bddbeacb847..c87499ffeaeb7857f186ce290f54fac49342c14e 100644
(file)
--- a/
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
+++ b/
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
@@
-119,7
+119,7
@@
void PPCInstPrinter::printInst(const MCInst *MI, raw_ostream &O,
O << "t";
O << " ";
- bool IsBookE =
STI.getFeatureBits()[PPC::FeatureBookE]
;
+ bool IsBookE =
(STI.getFeatureBits() & PPC::FeatureBookE) != 0
;
if (IsBookE && TH != 0 && TH != 16)
O << (unsigned int) TH << ", ";