Displaying 2 results from an estimated 2 matches for "retfloat".
2014 Apr 22
3
[LLVMdev] adding comment
...mp. You can then call MachineInstr::setAsmPrinterFlag(MachineInstr::FastISel) to set the flag.
Some passes seem to be stripping the comment flags though. The one I noticed is the pseudo-instruction expansion pass:
# *** IR Dump After Machine Copy Propagation Pass ***:
# Machine code for function retfloat: Post SSA
BB#0: derived from LLVM BB %entry
RetRA; comment-flags: FastISel
# End machine code for function retfloat.
# *** IR Dump After Post-RA pseudo instruction expansion pass ***:
# Machine code for function retfloat: Post SSA
BB#0: derived from LLVM BB %entry
RET %RA
# End machi...
2014 Apr 17
2
[LLVMdev] adding comment
Would adding a flag to MachineInstr::MIFlag do the trick? I'm thinking that fast isel could ensure that a flag (e.g. MIFlag::FastISel) is added to the instructions it creates, then the instruction printer could optionally emit a comment for instructions that have this flag.
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
>