[PATCH] D106289: [InstCombine] Fold phi ( inttoptr/ptrtoint x ) to phi (x)

Krishna Kariya via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 2 11:57:38 PDT 2021


Krishnakariya updated this revision to Diff 363539.
Krishnakariya marked 2 inline comments as done.
Krishnakariya retitled this revision from "[InstCombine] Fold phi ( inttoptr/ptrtoint x ) to phi (x) " to "[InstCombine] Fold phi ( inttoptr/ptrtoint x ) to phi (x)".
Krishnakariya edited the summary of this revision.
Krishnakariya added a comment.

Simplified code.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106289

Files:
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/phi-int2ptr-fold.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106289.363539.patch
Type: text/x-patch
Size: 8942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210802/8a6e379a/attachment-0001.bin>


More information about the llvm-commits mailing list