[PATCH] D75401: [InstSimplify] Remove freeze if its operand is used as a branch condition

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 29 19:33:28 PST 2020


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

Let ValueTracking::isGuaranteedNotToBeUndefOrPoison look into branch conditions of dominating blocks' terminators


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75401

Files:
  llvm/include/llvm/Analysis/ValueTracking.h
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Transforms/InstSimplify/freeze.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75401.247474.patch
Type: text/x-patch
Size: 4233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200301/0baf2272/attachment.bin>


More information about the llvm-commits mailing list