[PATCH] D47203: [LowerSwitch] Fixed faulty PHI node in switch default block

Karl-Johan Karlsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 20 08:14:41 PDT 2018


Ka-Ka updated this revision to Diff 152092.
Ka-Ka added a comment.

Fixed another case when PHI nodes are not correctly updated.
This time it is when switch is replaced with a single branch.


Repository:
  rL LLVM

https://reviews.llvm.org/D47203

Files:
  lib/Transforms/Utils/LowerSwitch.cpp
  test/Transforms/Util/lowerswitch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47203.152092.patch
Type: text/x-patch
Size: 3143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180620/600484dd/attachment.bin>


More information about the llvm-commits mailing list