At -O0, multiple uses of a virtual registers in the same BB are being marked
authorEvan Cheng <evan.cheng@apple.com>
Mon, 14 Nov 2011 21:02:09 +0000 (21:02 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 14 Nov 2011 21:02:09 +0000 (21:02 +0000)
commit41e00172c51a1666cbcda5df2c6f45d685068fbb
tree35fb445deec5b181c576263f439174095e39770f
parent4d0a9ff36574da0c042e9bd3ae816301b392ac41
At -O0, multiple uses of a virtual registers in the same BB are being marked
"kill". This looks like a bug upstream. Since that's going to take some time
to understand, loosen the assertion and disable the optimization when
multiple kills are seen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144568 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp