I'm not sure what the precedence of this should be compared to
replacing with zero/one/undef. Currently this will win out over the
others if it doesn't matter to the reduction. This has similar
advantages to undef.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
currently we prefer 0 over 1 over undef because having undef in reproducers makes the IR makes it more likely that the code has undefined behavior, causing future changes to potentially perturb optimized IR
I think we should prefer 0 over 1 over nan over undef