[LLVMdev] Possible fix for Bug 1388 - CPY instruction emitted on < ARMv6T
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue Jan 10 18:17:09 PST 2012
On Jan 10, 2012, at 3:57 PM, Jim Grosbach wrote:
> The register allocator expects to be able to insert a copy instruction w/o side-effects, though, and not having one can potentially cause problems. Jakob would be able to more specifically comment on what's required there.
That's right. The register allocator will insert copies and spill/fill instructions anywhere it feels like it.
It might be an option to simply bundle the CPSR def and use instructions, so CPSR is never live outside a bundle.
/jakob
More information about the llvm-dev
mailing list