target operand flag values aren't a bitmask

llvm-svn: 115798
This commit is contained in:
Jim Grosbach 2010-10-06 16:51:55 +00:00
parent d085e53b36
commit dd7ee2836f

View File

@ -252,10 +252,10 @@ void ARMAsmPrinter::printOperand(const MachineInstr *MI, int OpNum,
int64_t Imm = MO.getImm(); int64_t Imm = MO.getImm();
O << '#'; O << '#';
if ((Modifier && strcmp(Modifier, "lo16") == 0) || if ((Modifier && strcmp(Modifier, "lo16") == 0) ||
(TF & ARMII::MO_LO16)) (TF == ARMII::MO_LO16))
O << ":lower16:"; O << ":lower16:";
else if ((Modifier && strcmp(Modifier, "hi16") == 0) || else if ((Modifier && strcmp(Modifier, "hi16") == 0) ||
(TF & ARMII::MO_HI16)) (TF == ARMII::MO_HI16))
O << ":upper16:"; O << ":upper16:";
O << Imm; O << Imm;
break; break;