commit | a82c87c9007dfe744dc59114256bcda22f64f188 | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@hanshq.net> | Fri Apr 15 21:45:30 2016 +0000 |
committer | Hans Wennborg <hans@hanshq.net> | Fri Apr 15 21:45:30 2016 +0000 |
tree | e6b2111778d5a3b5b8db8444aea2666b7434e8ef | |
parent | 3301aed47e9e6116e2f5dd59ee18136183a8a1b2 [diff] |
Switch lowering: don't add incoming PHI values from skipped bit test MBB's (PR27135) After r245976, LLVM will skip the last bit test case if knows it will always be true. However, we would still erroneously update PHI nodes with incoming values from the MBB that would perform the final bit test, causing -verify-machineinstrs to fail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266479 91177308-0d34-0410-b5e6-96231b3b80d8