[all-commits] [llvm/llvm-project] 2ceaa1: [RISCV][NFC] Use RISCVSubtarget method for predica...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Wed Apr 5 06:50:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ceaa13effe47377b8813167f6677e2aa5d07089
      https://github.com/llvm/llvm-project/commit/2ceaa13effe47377b8813167f6677e2aa5d07089
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFeatures.td

  Log Message:
  -----------
  [RISCV][NFC] Use RISCVSubtarget method for predicate in RISCVFeatures.td when available

As RISCVSubtarget defines hasStdExtZfhOrZfhmin() and hasStdExtCOrZca(),
just use these for the matching Predicate definitions rather than
repeating the logic.




More information about the All-commits mailing list