mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-07 04:21:39 +00:00
target operand flag values aren't a bitmask
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3223f19ff0
commit
4dea941c8d
@ -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