I noticed this while working on a (ptrtoint (gep null, x)) -> x fold.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D110168
[InstSimplify] Don't lose inbounds when simplifying a GEP ClosedPublic Authored by arichardson on Sep 21 2021, 6:39 AM.
Details Summary I noticed this while working on a (ptrtoint (gep null, x)) -> x fold.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 21 2021, 9:51 AM This revision was landed with ongoing or failed builds.Sep 23 2021, 1:25 AM Closed by commit rG05663dc14644: [InstSimplify] Don't lose inbounds when simplifying a GEP (authored by arichardson). · Explain Why This revision was automatically updated to reflect the committed changes. arichardson marked an inline comment as done.
Revision Contents
Diff 374471 llvm/include/llvm/Analysis/InstructionSimplify.h
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Analysis/PHITransAddr.cpp
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/lib/Transforms/Scalar/NewGVN.cpp
llvm/test/Transforms/InstSimplify/simplify-nested-bitcast.ll
|
Legit warning.