OSDN Git Service

Add a bit to mark operands of asm's that conflict
authorDale Johannesen <dalej@apple.com>
Wed, 17 Sep 2008 21:13:11 +0000 (21:13 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 17 Sep 2008 21:13:11 +0000 (21:13 +0000)
commit91aac1015e6714d959801dd8d60f55a72827dc4d
treec8440b8031a0fe3d7c63fcf9145ffc930759c547
parent870e4bef419b1bd3e5ee05673975f1c05198b612
Add a bit to mark operands of asm's that conflict
with an earlyclobber operand elsewhere.  Propagate
this bit and the earlyclobber bit through SDISel.
Change linear-scan RA not to allocate regs in a way
that conflicts with an earlyclobber.  See also comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56290 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h
include/llvm/CodeGen/MachineOperand.h
include/llvm/CodeGen/ScheduleDAG.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/RegAllocLinearScan.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGEmit.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/X86/2008-09-17-inline-asm-1.ll [new file with mode: 0644]