OSDN Git Service

Model inline asm constraint which ties an input to an output register as machine...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 23 Mar 2009 08:01:15 +0000 (08:01 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 23 Mar 2009 08:01:15 +0000 (08:01 +0000)
commitfb11288109329cb736d9f49769581a0d0c23fe19
treec2d5d369ef2db0b2fab9a7fc0aa4fbbb6a98a9c5
parent7d6d4b360fb8c1895b57eeb1284e792f953ea7ee
Model inline asm constraint which ties an input to an output register as machine operand TIED_TO constraint. This eliminated the need to pre-allocate registers for these. This also allows register allocator can eliminate the unneeded copies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67512 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/InlineAsm.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
lib/CodeGen/TwoAddressInstructionPass.cpp
lib/Target/X86/X86FloatingPoint.cpp
test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
test/CodeGen/X86/2008-09-18-inline-asm-2.ll
test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll
test/CodeGen/X86/inline-asm-2addr.ll [new file with mode: 0644]