llvm-tutor
llvm-tutor copied to clipboard
Add extension points for TargetPassConfig::addMachinePasses
in LLVM 16 the Add extension points for MachinePass should be availible, i couldn't find a way to write a plugin in LLVM that can change the function prologue and epilogue that the MachinePass creates..
do you have such example ?
Hello 👋🏻 !
do you have such example ?
I do not. Would you like to contribute one? :)
-Andrzej
thats the problem with LLVM .. the new pass manager should have support also like GCC RTL pass the ASM changes but not many example exist ... for GCC there are some that change the Canary implementation: https://github.com/enferex/sataniccanary/blob/master/sataniccanary.c
i'm looking for such example in LLVM ...