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