[all-commits] [llvm/llvm-project] 25b6d0: [RISCV] Use binary search for RISCVLoadFPImm::getL...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Mar 10 00:03:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25b6d04ad58f4f3b2e9728fe060a433e0e415c92
      https://github.com/llvm/llvm-project/commit/25b6d04ad58f4f3b2e9728fe060a433e0e415c92
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

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

  Log Message:
  -----------
  [RISCV] Use binary search for RISCVLoadFPImm::getLoadFPImm.

The table is sorted so we can use a binary search instead of a
linear scan.




More information about the All-commits mailing list