[LLVMdev] Register Coalescer does not preserve TargetFlag

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Aug 6 11:16:39 PDT 2012


On Aug 6, 2012, at 11:12 AM, Vincent Lejeune <vljn at ovi.com> wrote:

> Do you know any backend that implement instructions as a flag modifier in instruction ?

No, I am not aware that any of the targets in the tree do something like that. TargetFlags is used by ARM to modify global symbol operands and such.

But I meant you should be looking at the coding style used in the other targets. The getNextOperandForReg() function isn't used anywhere, see the MachineRegisterInfo iterators instead.

/jakob




More information about the llvm-dev mailing list