[llvm] [RISCV] Add scheduling info for Zcmp (PR #82719)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 09:54:15 PST 2024


================
@@ -163,3 +167,12 @@ define i32 @not_zcmp_mv(i32 %num, i32 %f) nounwind {
   %res = call i32 @func(i32 1, i32 %f)
   ret i32 %res
 }
+
+; CHECK32ZCMPMIR-LABEL: name: zcmp_mv
+; CHECK32ZCMPMIR: $x9, $x8 = CM_MVSA01 implicit $x10, implicit $x11
+; CHECK32ZCMPMIR: CM_MVA01S killed $x9, $x8, implicit-def $x10, implicit-def $x11
+; CHECK32ZCMPMIR-LABEL: name: not_zcmp_mv
+; CHECK32ZCMPMIR-NOT: CM_MVSA01
+; CHECK32ZCMPMIR-NOT: CM_MVA01S
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; CHECK32ZCMPMIR: {{.*}}
----------------
michaelmaitland wrote:

do you know why update_llc_tests_checks is generating this unused label despite it also using this label directly above? I have never seen this before.

https://github.com/llvm/llvm-project/pull/82719


More information about the llvm-commits mailing list