[PATCH] D16156: Proper handling of diamond-like cases in if-conversion

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 13 14:27:23 PST 2016


kparzysz created this revision.
kparzysz added a reviewer: MatzeB.
kparzysz added a subscriber: llvm-commits.
kparzysz set the repository for this revision to rL LLVM.

If converter was somewhat careless about "diamond" cases, where there was no join block, or in other words, where the true/false blocks did not have analyzable branches. In such cases, it was possible for it to remove the (necessary) branches, resulting in a loss of entire basic blocks.


Repository:
  rL LLVM

http://reviews.llvm.org/D16156

Files:
  lib/CodeGen/IfConversion.cpp
  test/CodeGen/Hexagon/ifcvt-diamond-bad.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16156.44791.patch
Type: text/x-patch
Size: 6545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160113/0ee01073/attachment.bin>


More information about the llvm-commits mailing list