mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 03:59:12 +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();
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user