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

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 28 09:58:33 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGebb3dc08339c: [InstCombine] Fold ptrtoint(gep i8 null, x) -> x (authored by arichardson).

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.375625.patch
Type: text/x-patch
Size: 22251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210928/34bf7bfd/attachment.bin>


More information about the llvm-commits mailing list