[PATCH] D52232: [IPSCCP] Fix a problem with removing labels in a switch with undef condition
Bjorn Pettersson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 19 02:41:40 PDT 2018
bjope updated this revision to Diff 166079.
bjope added a comment.
- Got rid of the changes in ConstantFoldTerminator.
- Now we force folding for indeterminate values before calling ConstantFoldTerminator (so now we only need to call ConstantFoldTerminator one time for the indeterminate case).
Repository:
rL LLVM
https://reviews.llvm.org/D52232
Files:
lib/Transforms/Scalar/SCCP.cpp
test/Transforms/SCCP/switch-undef-constantfoldterminator.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52232.166079.patch
Type: text/x-patch
Size: 4886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180919/cd103fcc/attachment.bin>
More information about the llvm-commits
mailing list