[PATCH] D84948: [InstCombine] Fold select/and/or with freeze(undef) that is used in the op only

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 22:40:55 PDT 2020


aqjune updated this revision to Diff 283487.
aqjune added a comment.

Iterate over uses of freeze(undef) and choose the best value


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84948

Files:
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/freeze-phi.ll
  llvm/test/Transforms/InstCombine/freeze.ll
  llvm/test/Transforms/InstCombine/select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84948.283487.patch
Type: text/x-patch
Size: 6462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200806/dab2e8f2/attachment.bin>


More information about the llvm-commits mailing list