[PATCH] D64432: [InstCombine] try to narrow a truncated load

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 12:43:22 PDT 2019


spatel updated this revision to Diff 210151.
spatel added a comment.

Patch updated:

1. Add limitation based on dereferenceable attribute to prevent information loss.
2. Add/adjust tests to include dereferenceable attributes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64432/new/

https://reviews.llvm.org/D64432

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/test/Transforms/InstCombine/trunc-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64432.210151.patch
Type: text/x-patch
Size: 6183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190716/e976b541/attachment.bin>


More information about the llvm-commits mailing list