[PATCH] D30712: [JumpThread] Try to fold SwitchInst before attempting to jumpthread it
Xin Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 11:38:59 PST 2017
trentxintong updated this revision to Diff 90902.
trentxintong added a comment.
Do not call getPredicateAt when its not a foldable terminator.
https://reviews.llvm.org/D30712
Files:
lib/Transforms/Scalar/JumpThreading.cpp
test/Transforms/JumpThreading/basic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30712.90902.patch
Type: text/x-patch
Size: 6350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/51d95a4c/attachment.bin>
More information about the llvm-commits
mailing list