[llvm-commits] [llvm] r79484 - in /llvm/trunk: lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp test/CodeGen/X86/2009-08-19-inline-asm-a-modifier.ll
Chris Lattner
clattner at apple.com
Wed Aug 19 20:16:07 PDT 2009
On Aug 19, 2009, at 5:40 PM, Dale Johannesen wrote:
>>
>> If regalloc picks a register other than eax, it's a bug that would
>> be good to catch because that would be increasing number of used
>> registers.
>
> No, using ecx or edx would not make the code quality any worse.
They would clobber an extra register. If/when we start doing
interprocedural regalloc, that is bad. Forcing the test to check for
eax does not make the test any more fragile.
-Chris
More information about the llvm-commits
mailing list