Unverified Commit 3750558e authored by Craig Topper's avatar Craig Topper Committed by GitHub
Browse files

[RISCV][GISel] Legalize G_SMULO/G_UMULO (#67635)

Update `LegalizerHelper::widenScalarMulo` to not create a mulo if we aren't going to use the overflow flag. This prevents needing to legalize the widened operation. This generates better code when we need to make a libcall for multiply.
parent 6e8013a1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment