Skip to content
Commit 74f0ec5e authored by Noah Goldstein's avatar Noah Goldstein
Browse files

[DAGCombiner] Make it so that `udiv` can be folded with `(select c, NonZero, 1)`

This is done by allowing speculation of `udiv` if we can prove the
denominator is non-zero.

https://alive2.llvm.org/ce/z/VNCt_q

Differential Revision: https://reviews.llvm.org/D149198
parent eccb4541
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment