[llvm-commits] [llvm] r56592 - in /llvm/trunk: lib/CodeGen/RegAllocLocal.cpp lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp lib/CodeGen/SelectionDAG/SelectionDAGBuild.h test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll test/CodeGen/X86/2008-09-17-inline-asm-1.ll test/CodeGen/X86/2008-09-18-inline-asm-2.ll

Dale Johannesen dalej at apple.com
Thu Sep 25 10:11:31 PDT 2008


On Sep 25, 2008, at 12:13 AMPDT, Evan Cheng wrote:
>
> I think this approach can work. But is it any simpler than a dumb
> solution: 1) Don't process inlineasm early clobber first,  handle them
> the same way. 2) When allocating for a earlyclobber def (source
> operands are already allocated), just avoid allocating any registers
> which conflict with any source. 3) When allocating for a source, check
> if there is a earlyclobber def that's already assigned a physical
> register. What do you think?
>
> Evan

That doesn't strike me as any dumber than what I did.  However I can  
give it a try when I get back to this.





More information about the llvm-commits mailing list