Fix PR5412: Fix an inverted check and another missing sub-register check.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 14 Nov 2009 02:09:09 +0000 (02:09 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 14 Nov 2009 02:09:09 +0000 (02:09 +0000)
commit8fdd84cfa74e248394a8f5049e7478bf2535a150
tree39681756d8a90a4f21598cbe485ccb39086bfc58
parented9bab3b4da0a5c5581fdd477c19c02420dd2fc7
Fix PR5412: Fix an inverted check and another missing sub-register check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88738 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/VirtRegRewriter.cpp
test/CodeGen/ARM/2009-11-13-ScavengerAssert2.ll [new file with mode: 0644]
test/CodeGen/ARM/2009-11-13-VRRewriterCrash.ll [new file with mode: 0644]