[all-commits] [llvm/llvm-project] 45944e: [RISCV] Refactor translateSetCCForBranch to prepar...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jul 25 15:55:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45944e7cf45915eb2a0a2fae24e3396fc91dfc22
      https://github.com/llvm/llvm-project/commit/45944e7cf45915eb2a0a2fae24e3396fc91dfc22
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Refactor translateSetCCForBranch to prepare for D130508. NFC.

D130508 handles more constants than just 1 or -1. We need to extract
the constant instead of relying isOneConstant or isAllOnesConstant.




More information about the All-commits mailing list