[PATCH] D84601: [InstCombine] Fold freeze into phi if beneficial

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 26 17:47:06 PDT 2020


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

Use isGuaranteedNotToBeUndefOrPoison to correctly deal with constant vectors


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84601

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84601.280765.patch
Type: text/x-patch
Size: 4432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200727/19a7cd61/attachment.bin>


More information about the llvm-commits mailing list