[all-commits] [llvm/llvm-project] f36bbb: [RISCV] Use static_assert to check ranges in hasMe...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Aug 4 13:23:40 PDT 2023


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

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

  Log Message:
  -----------
  [RISCV] Use static_assert to check ranges in hasMergeOp and hasMaskOp.

If the ranges are wrong it is better to catch at compile time.




More information about the All-commits mailing list