[PATCH] D105088: [InstCombine] Fold IntToPtr/PtrToInt to bitcast

Krishna Kariya via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 03:17:52 PDT 2021


Krishnakariya updated this revision to Diff 358889.
Krishnakariya marked 2 inline comments as done.
Krishnakariya added a comment.

simplified code for function "foldICmpWithCastOp".


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.358889.patch
Type: text/x-patch
Size: 4823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210715/f6fa6f9a/attachment.bin>


More information about the llvm-commits mailing list