Fix PR5024. LiveVariables physical register defs should *commit* only after all
authorEvan Cheng <evan.cheng@apple.com>
Wed, 23 Sep 2009 06:28:31 +0000 (06:28 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 23 Sep 2009 06:28:31 +0000 (06:28 +0000)
commit296925dc169b45e7535abdccc8dc143a8bec7f0a
tree8350041adcde3c7f4c62bc987c7291ed028577c7
parentf7cd853071a02392d17ac544f69c14481e5400d0
Fix PR5024. LiveVariables physical register defs should *commit* only after all
of the defs are processed.
Also fix a implicit_def propagation bug: a implicit_def of a physical register
should be applied to uses of the sub-registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82616 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveVariables.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/LiveVariables.cpp
test/CodeGen/ARM/2009-09-22-LiveVariablesBug.ll [new file with mode: 0644]