Add more special treatment for inline asm in RegAllocFast.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 28 Jun 2010 18:34:34 +0000 (18:34 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 28 Jun 2010 18:34:34 +0000 (18:34 +0000)
commitd843b3925fdc275b262ddc2ff8fabc8c98f9a5a0
treef86128b00a0bca4fa5dd6c7c645c37ed7c3a32b4
parent7d59a9766c1a48ea359e8014f9e7e7d01a57b593
Add more special treatment for inline asm in RegAllocFast.

When an instruction has tied operands and physreg defines, we must take extra
care that the tied operands conflict with neither physreg defs nor uses.

The special treatment is given to inline asm and instructions with tied operands
/ early clobbers and physreg defines.

This fixes PR7509.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107043 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocFast.cpp
test/CodeGen/X86/2008-09-18-inline-asm-2.ll
test/CodeGen/X86/2010-06-28-FastAllocTiedOperand.ll [new file with mode: 0644]