Now that transforms introducing branch on poison have been removed, we can stop marking ranges that have been derived from branch conditions as containing undef. The existing comment explains why this is legal. I've checked that alive2 is happy with SCCP tests after this change.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, this should be fine after fixing the remaining (known) places that may introduce branches on undef.
I think it would probably be good to wait a few more days before landing this, so there's a bit of time between the change in ValueTracking & this one, in case any issues arise from the former.