[llvm] [RISCV][RegAlloc] Add getCSRFirstUseCost for RISC-V (PR #131349)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 14 09:21:57 PDT 2025
================
@@ -0,0 +1,91 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc %s -mtriple=riscv64 -regalloc-csr-first-time-cost=0 | FileCheck %s -check-prefix=ZERO-COST
+; RUN: llc %s -mtriple=riscv64 -regalloc-csr-first-time-cost=64 | FileCheck %s -check-prefix=SOME-COST
----------------
michaelmaitland wrote:
Good idea. Updated.
https://github.com/llvm/llvm-project/pull/131349
More information about the llvm-commits
mailing list