Fix a misplaced paren bug.
authorOwen Anderson <resistor@mac.com>
Tue, 15 Nov 2011 20:30:41 +0000 (20:30 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 15 Nov 2011 20:30:41 +0000 (20:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144692 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/Disassembler/ARMDisassembler.cpp

index 65e2d041f8acf95bb2170eb958a689bf21af93f5..ad250abf8116a9171b7502dc8e3cd2d4d381b53b 100644 (file)
@@ -4095,7 +4095,7 @@ static DecodeStatus DecodeVCVTD(llvm::MCInst &Inst, unsigned Insn,
   DecodeStatus S = MCDisassembler::Success;
 
   // VMOVv2f32 is ambiguous with these decodings.
-  if (!(imm & 0x38 && cmode == 0xF)) {
+  if (!(imm & 0x38) && cmode == 0xF) {
     Inst.setOpcode(ARM::VMOVv2f32);
     return DecodeNEONModImmInstruction(Inst, Insn, Address, Decoder);
   }