This fixes PR45885 by fixing isGuaranteedNotToBeUndefOrPoison so it does not look into dominating
branch conditions of V when V is an instruction in an unreachable block.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG apart from the test issue.
llvm/test/Transforms/DivRemPairs/pr45885.ll | ||
---|---|---|
2 ↗ | (On Diff #263449) | This needs REQUIRES. It probably makes more sense to target x86 and put it in the X86 directory. |
llvm/test/Transforms/DivRemPairs/pr45885.ll | ||
---|---|---|
2 ↗ | (On Diff #263449) | Put it into PowerPC instead, as the input did not cause crash in X86 |