[PATCH] D48181: [JumpThreading] Ignore nil destionation when determining whether a block only goes to a single destination

Xin Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 14 13:20:50 PDT 2018


trentxintong updated this revision to Diff 151414.
trentxintong added a comment.

Handle when all destinations are null (i.e. UNDEF value). There is a slight change in pr22086.ll this is due
to we do not run SimplifyInstructionsInBlock after folding (we run after threading).


Repository:
  rL LLVM

https://reviews.llvm.org/D48181

Files:
  lib/Transforms/Scalar/JumpThreading.cpp
  test/Transforms/JumpThreading/fold-not-thread.ll
  test/Transforms/JumpThreading/pr22086.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48181.151414.patch
Type: text/x-patch
Size: 8230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180614/768c3714/attachment.bin>


More information about the llvm-commits mailing list