[PATCH] D105088: [InstCombine] Fold IntToPtr/PtrToInt to bitcast
Krishna Kariya via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 14 11:39:49 PDT 2021
Krishnakariya updated this revision to Diff 358674.
Krishnakariya marked an inline comment as done.
Krishnakariya added a comment.
Created a new function (simplifyIntToPtrRoundTripCast) which simplifies the inttoptr/ptrtoint cast.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105088/new/
https://reviews.llvm.org/D105088
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/ptr-int-ptr-icmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105088.358674.patch
Type: text/x-patch
Size: 4407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210714/13e8f9c3/attachment.bin>
More information about the llvm-commits
mailing list