[PATCH] D110245: [ConstantFolding] Fold ptrtoint(gep i8 null, x) -> x

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


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

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110245

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110245.375624.patch
Type: text/x-patch
Size: 21450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210928/056c6c7a/attachment.bin>


More information about the llvm-commits mailing list