[PATCH] D110247: [InstCombine] Fold ptrtoint(gep null) with a variable index

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 24 01:46:58 PDT 2021


arichardson updated this revision to Diff 374760.
arichardson added a comment.

Use EmitGEPOffset, drop InstSimplify baseline


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110247

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110247.374760.patch
Type: text/x-patch
Size: 22251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210924/0d1510da/attachment.bin>


More information about the llvm-commits mailing list