summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BranchFolding.h
diff options
context:
space:
mode:
authorKyle Butt <kyle+llvm@iteratee.net>2016-08-29 18:27:12 +0000
committerKyle Butt <kyle+llvm@iteratee.net>2016-08-29 18:27:12 +0000
commit092c4dd5b60462baaaaa8730ac8d0228d07edfa6 (patch)
tree6403c1cae647f88c8af71a05d54968ab970904d3 /llvm/lib/CodeGen/BranchFolding.h
parent793913c7eb507b56bf9eb0f136d8c86b35520fe1 (diff)
downloadbcm5719-llvm-092c4dd5b60462baaaaa8730ac8d0228d07edfa6.tar.gz
bcm5719-llvm-092c4dd5b60462baaaaa8730ac8d0228d07edfa6.zip
IfConversion: Fix branch predication bug.
This bug shows up with diamonds that share unpredicable, unanalyzable branches. There's an included test case from Hexagon. What was happening was that we were attempting to predicate the branch instruction despite the fact that it was checked to be the same. Now for unanalyzable branches we skip over the branch instructions when predicating the block. Differential Revision: https://reviews.llvm.org/D23939 llvm-svn: 279985
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud