[PATCH] D76010: [ValueTracking] Let isGuaranteedNotToBeUndefOrPoison look into more constants/instructions
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 11 11:19:07 PDT 2020
aqjune created this revision.
aqjune added a project: LLVM.
aqjune added reviewers: reames, jdoerfert.
This patch helps isGuaranteedNotToBeUndefOrPoison look into more constants and instructions (bitcast/alloca/gep/fcmp).
To deal with bitcast, Depth is added to isGuaranteedNotToBeUndefOrPoison.
This patch is splitted from https://reviews.llvm.org/D75808.
Checked with Alive2
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76010
Files:
llvm/include/llvm/Analysis/ValueTracking.h
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/InstSimplify/freeze.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76010.249686.patch
Type: text/x-patch
Size: 5783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200311/edbbb6f6/attachment.bin>
More information about the llvm-commits
mailing list