Remove special handling of implicit_def. Fix a couple more bugs in liveintervalanalys...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 1 Jul 2009 08:19:36 +0000 (08:19 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 1 Jul 2009 08:19:36 +0000 (08:19 +0000)
commit459a7c6b6ad9c4fcb9f119aa6eaaf2769b00d9b1
tree006dc09ed750a6cf80ca8dbd944db91063491f3e
parentd6bb283de9f81428762f13b7f6bae31adaba5768
Remove special handling of implicit_def. Fix a couple more bugs in liveintervalanalysis and coalescer handling of implicit_def.

Note, isUndef marker must be placed even on implicit_def def operand or else the scavenger will not ignore it. This is necessary because -O0 path does not use liveintervalanalysis, it treats implicit_def just like any other def.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74601 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/RegisterScavenging.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/RegisterScavenging.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp
test/CodeGen/ARM/2009-06-30-RegScavengerAssert5.ll [new file with mode: 0644]