[PATCH] D76005: [ValueTracking] Let isGuaranteedNotToBeUndefOrPoison look into more constants and bitcast/alloca/gep

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 11 10:10:29 PDT 2020


aqjune created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
aqjune abandoned this revision.

This patch helps isGuaranteedNotToBeUndefOrPoison look into more constants and instructions (bitcast/alloca/gep).

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/D76005

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: D76005.249661.patch
Type: text/x-patch
Size: 5070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200311/05f2f819/attachment.bin>


More information about the llvm-commits mailing list