[all-commits] [llvm/llvm-project] 994543: [ValueTracking] Implement canCreatePoison
Juneyoung Lee via All-commits
all-commits at lists.llvm.org
Tue Apr 14 13:58:26 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 994543abc9bf7bbb94a2deea31323031fb9ff58d
https://github.com/llvm/llvm-project/commit/994543abc9bf7bbb94a2deea31323031fb9ff58d
Author: Juneyoung Lee <aqjune at gmail.com>
Date: 2020-04-15 (Wed, 15 Apr 2020)
Changed paths:
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/unittests/Analysis/ValueTrackingTest.cpp
Log Message:
-----------
[ValueTracking] Implement canCreatePoison
Summary:
This PR adds `canCreatePoison(Instruction *I)` which returns true if `I` can generate poison from non-poison
operands.
Reviewers: spatel, nikic, lebedev.ri
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits, regehr, nlopes
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77890
More information about the All-commits
mailing list