OSDN Git Service

Fix a (harmless) but where vregs were added to the used reg lists for
authorChris Lattner <sabre@nondot.org>
Thu, 21 Feb 2008 04:55:52 +0000 (04:55 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Feb 2008 04:55:52 +0000 (04:55 +0000)
commit7cbeb2431c7264d0848d1343f43914f970828ac7
treeecadd35d333d99053d8c8191802004f74ad77b8b
parentdb71d63467bdb7b629641fee3272b47bd028e09f
Fix a (harmless) but where vregs were added to the used reg lists for
inline asms.

Fix PR2078 by marking aliases of registers used when a register is
marked used.  This prevents EAX from being allocated when AX is listed
in the clobber set for the asm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47426 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll [new file with mode: 0644]