[PATCH] Fixing inst-combine not to drops nsw when combining adds into mul (PR19263)

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Jun 5 07:36:07 PDT 2014


> Here both constants are from different expression, one from LHS and other
> one is from RHS.

All tests still pass if I delete the extra logic from
WillNotOverflowSignedAdd. Can you add an extra test of split this off
to an independent patch?

Cheers,
Rafael



More information about the llvm-commits mailing list