JimG sez: "The value-kinds look like masks, but they're not consistently used

that way, unfortunately. If you want to change them to work additively instead
of a one-variant-kind-per-symbolref, that's great and I completely agree it's
worth doing, but it really should be a separate patch. Until then, this isn't
correct."

So I am reverting this bit until a more opportune time.

llvm-svn: 123340
This commit is contained in:
Jason W Kim 2011-01-12 23:21:49 +00:00
parent e63dfeee36
commit e9eae0f887
1 changed files with 2 additions and 2 deletions

View File

@ -189,10 +189,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;