[PATCH] D77890: [ValueTracking] Implement isPoisonIf and canPushFreezeIntoOperands

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 12:58:20 PDT 2020


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

- Leave canCreatePoison only
- Leave the latter switch only (merged)
- Let shl/ashr/lshr deal with constant shift amount
- Address other comments, add more tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77890

Files:
  llvm/include/llvm/Analysis/ValueTracking.h
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/unittests/Analysis/ValueTrackingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77890.257449.patch
Type: text/x-patch
Size: 8485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200414/45981ddf/attachment-0001.bin>


More information about the llvm-commits mailing list