[PATCH] D84242: [ValueTracking] Add UndefOrPoison/Poison-only version of relevant functions
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 7 19:53:44 PDT 2020
aqjune updated this revision to Diff 290397.
aqjune added a comment.
Rebase, and have a few changes to maximally utilize `noundef` attributes.
programUndefinedIfUndefOrPoison(I) is updated in a way that it returns true
if `I` is partially undef.
For example, the updated programUndefinedIfUndefOrPoison(I) returns true in this case:
%I = or i32 x, 1 ; if x = undef, %I is partially undef
call void @f(i32 noundef %I)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84242/new/
https://reviews.llvm.org/D84242
Files:
llvm/include/llvm/Analysis/ValueTracking.h
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/Transforms/Instrumentation/PoisonChecking.cpp
llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
llvm/unittests/Analysis/ValueTrackingTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84242.290397.patch
Type: text/x-patch
Size: 14910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/31d66e2e/attachment.bin>
More information about the llvm-commits
mailing list