mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 19:49:49 +00:00
target operand flag values aren't a bitmask
llvm-svn: 115798
This commit is contained in:
parent
d085e53b36
commit
dd7ee2836f
@ -252,10 +252,10 @@ void ARMAsmPrinter::printOperand(const MachineInstr *MI, int OpNum,
|
||||
int64_t Imm = MO.getImm();
|
||||
O << '#';
|
||||
if ((Modifier && strcmp(Modifier, "lo16") == 0) ||
|
||||
(TF & ARMII::MO_LO16))
|
||||
(TF == ARMII::MO_LO16))
|
||||
O << ":lower16:";
|
||||
else if ((Modifier && strcmp(Modifier, "hi16") == 0) ||
|
||||
(TF & ARMII::MO_HI16))
|
||||
(TF == ARMII::MO_HI16))
|
||||
O << ":upper16:";
|
||||
O << Imm;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user