[all-commits] [llvm/llvm-project] 60cb48: [RISCV] Use movImm went multiplying by simm12 in g...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed May 4 17:24:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60cb4896856d6e84a9e0914d1152a45489d173f8
      https://github.com/llvm/llvm-project/commit/60cb4896856d6e84a9e0914d1152a45489d173f8
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-05-04 (Wed, 04 May 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/test/CodeGen/RISCV/rvv/emergency-slot.mir

  Log Message:
  -----------
  [RISCV] Use movImm went multiplying by simm12 in getVLENFactoredAmount.

No reason to special case simm12, movImm handles all immediates.

This also fixe a bug that we weren't passing the frame-setup/destroy
flag to movImm when we were calling it.




More information about the All-commits mailing list