[llvm-dev] Can I differentiate an imm with an imm used in memory offset in MI pass?
Ryan Taylor via llvm-dev
llvm-dev at lists.llvm.org
Thu Sep 21 13:27:52 PDT 2017
So I'd like to be able to tell the difference between an imm and an imm
used in mem offset in MachineInstr.
Or, it would be nice to tell the difference between src and dst operands.
I must be missing something trivial?
int *b, a;
b = a + 2; // is there any marker/flag between 2 and 10 to tell the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev