[all-commits] [llvm/llvm-project] ce6127: [RISCV] Add rv32 command line to short-forward-bra...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Nov 21 11:00:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce6127433b91943917c63b33bf16936e394ff3bb
      https://github.com/llvm/llvm-project/commit/ce6127433b91943917c63b33bf16936e394ff3bb
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M llvm/test/CodeGen/RISCV/short-forward-branch-opt.ll

  Log Message:
  -----------
  [RISCV] Add rv32 command line to short-forward-branch-opt.ll. NFC


  Commit: 7a6fd49c8a4f9576d3dafe98e78f9c4bc3798105
      https://github.com/llvm/llvm-project/commit/7a6fd49c8a4f9576d3dafe98e78f9c4bc3798105
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/test/CodeGen/RISCV/short-forward-branch-opt.ll

  Log Message:
  -----------
  [RISCV] Use short forward branch for ISD::ABS.

We can use short forward branch to conditionally negate if the
value is negative.


Compare: https://github.com/llvm/llvm-project/compare/b072ec5ec670...7a6fd49c8a4f


More information about the All-commits mailing list