[all-commits] [llvm/llvm-project] d24915: [RISCV] Return InstSeq from generateInstSeqImpl in...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Dec 6 14:58:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d24915207c631b7cf637081f333b41bc5159c700
      https://github.com/llvm/llvm-project/commit/d24915207c631b7cf637081f333b41bc5159c700
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-12-06 (Tue, 06 Dec 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp

  Log Message:
  -----------
  [RISCV] Return InstSeq from generateInstSeqImpl instead of using an output parameter. NFC

We should be able to rely on RVO here.


  Commit: d6cfdf04406a18423dba1536e8770402667f0908
      https://github.com/llvm/llvm-project/commit/d6cfdf04406a18423dba1536e8770402667f0908
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-12-06 (Tue, 06 Dec 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp

  Log Message:
  -----------
  [RISCV] Pass ZB_Undefined to countTrailingZeros/countLeadingZeros. NFC

We know the input is not zero so we can simplify the generated code.


Compare: https://github.com/llvm/llvm-project/compare/6ab6085c77ef...d6cfdf04406a


More information about the All-commits mailing list