[PATCH] D105088: [InstCombine] Fold IntToPtr/PtrToInt to bitcast
Krishna Kariya via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 9 06:13:44 PDT 2021
Krishnakariya updated this revision to Diff 357492.
Krishnakariya marked 2 inline comments as done.
Krishnakariya added a comment.
Herald added a subscriber: dexonsmith.
Added an command-line option disable-i2p-p2i-opt to opt to disable inttoptr/ptrtoint optimization.
I have removed the const keyword from the declaration of the CastResults array.
This change is temporary, and the array would be constified again.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105088/new/
https://reviews.llvm.org/D105088
Files:
llvm/lib/IR/Instructions.cpp
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/ptr-int-ptr-icmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105088.357492.patch
Type: text/x-patch
Size: 4489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210709/4311ab49/attachment.bin>
More information about the llvm-commits
mailing list