[PATCH] D68244: [InstCombine] don't assume 'inbounds' for bitcast pointer to GEP transform (PR43501)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 07:01:20 PDT 2019


spatel updated this revision to Diff 222827.
spatel edited the summary of this revision.
spatel added a reviewer: jdoerfert.
spatel added a comment.

Patch updated:
Use 'dereferenceable' knowledge to deduce 'inbounds'. This removes the 3 diffs from the previous revision that had an argument with dereferenceable bytes.


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

https://reviews.llvm.org/D68244

Files:
  clang/test/CodeGen/aapcs-bitfield.c
  clang/test/CodeGenCXX/microsoft-abi-dynamic-cast.cpp
  clang/test/CodeGenCXX/microsoft-abi-typeid.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/test/Transforms/InstCombine/addrspacecast.ll
  llvm/test/Transforms/InstCombine/cast.ll
  llvm/test/Transforms/InstCombine/memset.ll
  llvm/test/Transforms/InstCombine/unpack-fca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68244.222827.patch
Type: text/x-patch
Size: 31227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191002/3f8539e3/attachment.bin>


More information about the llvm-commits mailing list