Unverified Commit 39f6d015 authored by Philip Reames's avatar Philip Reames Committed by GitHub
Browse files

[RISCV] Eliminate getVLENFactoredAmount and expose muladd [nfc] (#87881)



This restructures the code to make the fact that most of
getVLENFactoredAmount is just a generic multiply w/immediate more
obvious and prepare for a couple of upcoming enhancements to this code.

Note that I plan to switch mulImm to early return, but decided I'd do
that as a separate commit to keep this diff readable.

---------

Co-authored-by: default avatarLuke Lau <luke_lau@icloud.com>
parent 896b5e55
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