[PATCH] D125083: [RISCV] Use check-prefixes to reduce check lines

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 6 04:59:00 PDT 2022


frasercrmck added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/float-arith.ll:3
 ; RUN: llc -mtriple=riscv32 -mattr=+f -verify-machineinstrs < %s \
-; RUN:   -target-abi=ilp32f | FileCheck -check-prefix=RV32IF %s
+; RUN:   -target-abi=ilp32f | FileCheck -check-prefixes=CHECK,RV32IF %s
 ; RUN: llc -mtriple=riscv64 -mattr=+f -verify-machineinstrs < %s \
----------------
`RV32IF` is unused and that's an error. You should see this when running locally?


================
Comment at: llvm/test/CodeGen/RISCV/float-fcmp-strict.ll:4
 ; RUN:   -disable-strictnode-mutation -target-abi=ilp32f \
-; RUN:   | FileCheck -check-prefix=RV32IF %s
+; RUN:   | FileCheck -check-prefixes=CHECK,RV32IF %s
 ; RUN: llc -mtriple=riscv64 -mattr=+f -verify-machineinstrs < %s \
----------------
`RV32IF` is unused


================
Comment at: llvm/test/CodeGen/RISCV/float-fcmp.ll:3
 ; RUN: llc -mtriple=riscv32 -mattr=+f -verify-machineinstrs < %s \
-; RUN:   -target-abi=ilp32f | FileCheck -check-prefix=RV32IF %s
+; RUN:   -target-abi=ilp32f | FileCheck -check-prefixes=CHECK,RV32IF %s
 ; RUN: llc -mtriple=riscv64 -mattr=+f -verify-machineinstrs < %s \
----------------
`RV32IF` unused


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125083/new/

https://reviews.llvm.org/D125083



More information about the llvm-commits mailing list