If the condition value of SelectInst may be a poison or undef value,
infer constant range at SelectInst use is in correct.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The tests should all be updated to use noundef, plus one representative test without it.
Comment Actions
LGTM
llvm/lib/Analysis/LazyValueInfo.cpp | ||
---|---|---|
1670–1673 | This issue is only about undef, it does not affect poison. This is why it's mostly a theoretical problem. |
This issue is only about undef, it does not affect poison. This is why it's mostly a theoretical problem.