diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-03-06 08:56:37 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 08:56:37 -0800 |
commit | c161720ab49ed426e50f70c09da9b0c04be0f50f (patch) | |
tree | a1de1a4db254ce9fbb4b036918b9ec5777ebd067 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 7755c26195900fa5611cd87582acd2f1875d3c40 (diff) | |
download | llvm-c161720ab49ed426e50f70c09da9b0c04be0f50f.zip llvm-c161720ab49ed426e50f70c09da9b0c04be0f50f.tar.gz llvm-c161720ab49ed426e50f70c09da9b0c04be0f50f.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions