[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:35:49 PST 2017


trentxintong created this revision.

Try to fold SwitchInst before attempting to jumpthread it.


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.90901.patch
Type: text/x-patch
Size: 6339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/c5c4fae7/attachment.bin>


More information about the llvm-commits mailing list