ARM AnalyzeBranch should conservatively return true when it sees a predicated
authorEvan Cheng <evan.cheng@apple.com>
Sun, 5 May 2013 18:06:32 +0000 (18:06 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sun, 5 May 2013 18:06:32 +0000 (18:06 +0000)
commit0553e1efcd3f8ccd8b45302e033924d9f85a5d2f
tree049bf22c267c472ddef0f21a1fb312ed88619328
parent9a28cc14a9bc52072649f63308c2a66c9eebe0d1
ARM AnalyzeBranch should conservatively return true when it sees a predicated
indirect branch at the end of the BB. Otherwise if-converter, branch folding
pass may incorrectly update its successor info if it consider BB as fallthrough
to the next BB.

rdar://13782395

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181161 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp