[PATCH] D104668: [OpaquePtr] Handle addrspacecasts in InstCombine

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 22 01:02:17 PDT 2021


nikic updated this revision to Diff 353573.
nikic added a comment.

Add PointerType::hasSameElementTypeAs().


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

https://reviews.llvm.org/D104668

Files:
  llvm/include/llvm/IR/DerivedTypes.h
  llvm/lib/IR/Instructions.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/test/Transforms/InstCombine/opaque-ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104668.353573.patch
Type: text/x-patch
Size: 4783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210622/bc5a4c01/attachment.bin>


More information about the llvm-commits mailing list