search for: finishlayout

Displaying 2 results from an estimated 2 matches for "finishlayout".

2020 Oct 06
3
[MC] Questions about relaxation in MC
...MCInst with another one with a larger branch range. For example, c.beqz will be converted to beq in the RISC-V backend if the fixup value is out of range. There seems no target hook to convert one MCInst to a complex pattern in LLVM MC. Do I miss something obvious? I found there is a target hook, finishLayout, to manipulate the code generated. Does it make sense to implement the feature in finishLayout? Or is there any better idea to achieve the conversion? Thanks a lot. Best, Kai -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-de...
2020 Oct 06
3
Questions about relaxation in MC
...ge. For > example, c.beqz will be converted to beq in the RISC-V backend if > the fixup value is out of range. There seems no target hook to > convert one MCInst to a complex pattern in LLVM MC. Do I miss > something obvious? > > I found there is a target hook, finishLayout, to manipulate the > code generated. Does it make sense to implement the feature in > finishLayout? Or is there any better idea to achieve the > conversion? Thanks a lot. > > Best, > Kai > > > _______________________________________________ > LLVM D...