[llvm-dev] Target MachineFunctionInfo and MIR passes

Matt Arsenault via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 13 01:19:49 PDT 2016


Hi,

How are MIR passes supposed to deal with custom state tracked in the target’s MachineFunctionInfo? I’m trying to test a patch which checks a bit set in it during register allocation. If I just run the post-RA pass which checks it, it was never set in the newly constructed one. I’d rather not have every pass need to re-analyze some possibly tricky to detect situation to avoid using it

-Matt


More information about the llvm-dev mailing list