[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 12:07:35 PDT 2019


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

Patch updated:
Loosen the dereferenceable constraint - any deref will do. Add a test to show that.


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/load-bitcast-vec.ll
  llvm/test/Transforms/InstCombine/memset.ll
  llvm/test/Transforms/InstCombine/unpack-fca.ll

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


More information about the llvm-commits mailing list