Also add <imp-def> operands for defined and dead super-registers when rewriting.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 27 Apr 2011 17:42:31 +0000 (17:42 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 27 Apr 2011 17:42:31 +0000 (17:42 +0000)
commit93e110ba344ddc901dfb2af61d9c21002d8d3080
tree0f56a187fdbc7792f3da35a4a7773974b00936ee
parented708f9c1facb9928ef2f79503e7030c8f25b00d
Also add <imp-def> operands for defined and dead super-registers when rewriting.

We cannot rely on the <imp-def> operands added by LiveIntervals in all cases as
demonstrated by the test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130313 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/VirtRegMap.cpp
test/CodeGen/ARM/crash-greedy.ll