[PATCH] D16240: [InstCombine] Simplify a known nonzero incoming value of PHI

Jun Bum Lim via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 13:28:59 PST 2016


junbuml updated this revision to Diff 46828.
junbuml added a comment.

Addressed Hal's comments and added two more test cases to show that it reuse the existing non-zero constant.


http://reviews.llvm.org/D16240

Files:
  lib/Transforms/InstCombine/InstCombinePHI.cpp
  test/Transforms/InstCombine/phi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16240.46828.patch
Type: text/x-patch
Size: 5722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160203/c4ebfae6/attachment.bin>


More information about the llvm-commits mailing list