================
@@ -218,6 +218,16 @@ Instruction *InstCombinerImpl::visitMul(BinaryOperator &I) {
: BinaryOperator::CreateNeg(Op0);
}
+ {
+ // abs(a * abs(b)) --> abs(a * b)
----------------
elhewaty wrote:
@dtcxzyw, @nikic updated.
https://github.com/llvm/llvm-project/pull/78110