[PATCH] D83926: [ValueTracking] Let isGuaranteedNotToBeUndefOrPoison use Operator, look into more ops

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 00:01:41 PDT 2020


aqjune added a comment.

For this, `canCreatePoison` seems to be helpful. I'll add a patch that

- refactors `canCreatePoison` so it takes an operator
- add a function `canCreateUndef`

and make this patch call invoke the two functions.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83926





More information about the llvm-commits mailing list