Return true if I must trigger UB when any of KnownPoison is poison.
Declared in <llvm/Analysis/ValueTracking.h>
bool
mustTriggerUB(
Instruction const* I,
SmallPtrSetImpl<Value const*> const& KnownPoison);
That is, undefined behavior occurs when I is executed with any operands which appear in KnownPoison holding a poison value at the point of execution.
True if executing I must trigger undefined behavior.
| Name | Description |
|---|---|
| I | Instruction that may trigger UB on poison operands. |
| KnownPoison | Values already known to be poison at I. |