[LLVMdev] eliminateFrameIndex

Boris Boesler baembel at gmx.de
Fri Oct 10 09:07:25 PDT 2014


Hi!

> Hi, you need to override requiresRegisterScavenging() and requiresFrameIndexScavenging() in your XXXRegisterInfo class to return true.
> FrameIndex elimination is done after RegAlloc and this tells LLVM to use the RegisterScavenging to get a new register during frame elimination. 

Success! Thanks Francois

Boris





More information about the llvm-dev mailing list