summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-02-19 11:38:11 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-02-19 11:38:11 +0000
commitefd7a96d2e8ff886fb2a1bc755dd6355b2bb5f17 (patch)
treec0afe1a7e7975789a575b441ac8e4e988da8f49c /llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
parent9570ff94f7f19af86a5f0cf3ea2992173980b3d8 (diff)
downloadbcm5719-llvm-efd7a96d2e8ff886fb2a1bc755dd6355b2bb5f17.tar.gz
bcm5719-llvm-efd7a96d2e8ff886fb2a1bc755dd6355b2bb5f17.zip
Reverting r229831 due to multiple ARM/PPC/MIPS build-bot failures.
llvm-svn: 229841
Diffstat (limited to 'llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp b/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
index ec2dc87398d..65461af5b7b 100644
--- a/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
+++ b/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
@@ -60,7 +60,7 @@ void X86ATTInstPrinter::printInst(const MCInst *MI, raw_ostream &OS,
// InstrInfo.td as soon as Requires clause is supported properly
// for InstAlias.
if (MI->getOpcode() == X86::CALLpcrel32 &&
- getAvailableFeatures()[X86::Mode64Bit]) {
+ (getAvailableFeatures() & X86::Mode64Bit) != 0) {
OS << "\tcallq\t";
printPCRelImm(MI, 0, OS);
}
OpenPOWER on IntegriCloud