[all-commits] [llvm/llvm-project] d1c378: [RISCV] Prefer ShortForwardBranch over the fully g...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Aug 31 11:07:57 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1c3784adfb54594fd1d6b3f76aac017099f21a5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

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

  Log Message:
  [RISCV] Prefer ShortForwardBranch over the fully generic Zicond expansion.

Short forward branch is shorter than (or (czero.eqz), (czero.nez)).

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D159295

More information about the All-commits mailing list