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

[RISCV] Slightly improve expanded multiply emulation in getVLENFactoredAmount. (#84113)

Instead of initializing the accumulator to 0. Initialize it on first
assignment with a mv from the register that holds VLENB << ShiftAmount.

Fix a missing kill flag on the final Add.

I have no real interest in this case, just an easy optimization I
noticed.
parent 7755c261
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