[PATCH] D21791: [InstCombine] Fix for trunc folding build break

Anna Thomas via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 06:36:12 PDT 2016


anna updated this revision to Diff 62216.
anna added a comment.

The RAUW in `visitTrunc` inserts `BitOrPointerCast` if required   and replaces all uses of the `trunc`.


Repository:
  rL LLVM

http://reviews.llvm.org/D21791

Files:
  include/llvm/Analysis/Loads.h
  lib/Analysis/Loads.cpp
  lib/Transforms/InstCombine/InstCombineCasts.cpp
  test/Transforms/InstCombine/trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21791.62216.patch
Type: text/x-patch
Size: 12129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160629/c5c1eaf7/attachment.bin>


More information about the llvm-commits mailing list