Displaying 1 result from an estimated 1 matches for "op2_transformed".
Did you mean:
op1_transformed
2013 Jul 16
0
[LLVMdev] [PATCH 2/2] X86: infer immediate forms of bit-test instructions
...ingRef(Name.str() + "l"));
+
+ SMLoc Loc = Op1.getEndLoc();
+ const MCExpr *Op1_transformed = MCConstantExpr::Create(Given_imm % 32, getContext());
+ Operands.begin()[1] = X86Operand::CreateImm(Op1_transformed, Loc, Loc);
+
+ Loc = Op2.getEndLoc();
+ const MCExpr *Op2_transformed = MCConstantExpr::Create(Given_mem + 4 * (Given_imm / 32),
+ getContext());
+ Operands.begin()[2] = X86Operand::CreateMem(Op2_transformed, Loc, Loc);
+
+ delete &Op1;
+ delete &Op2;
+ }
+ }
+
return false;
}
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86...