[XLA] Simplify A*C + B*C => (A+B)*C when safe.
"Safe" means: - A, B, and C are integers, OR - A, B, and C are floating-point types, and C is a power of 2 (including 2^(-k)). PiperOrigin-RevId: 223899195
Loading
Please sign in to comment
"Safe" means: - A, B, and C are integers, OR - A, B, and C are floating-point types, and C is a power of 2 (including 2^(-k)). PiperOrigin-RevId: 223899195