[llvm] [GlobalISel] Add a update_givaluetracking_test_checks.py script (PR #140296)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 03:31:31 PDT 2025


================
@@ -0,0 +1,28 @@
+# NOTE: Assertions have been autogenerated by utils/update_givaluetracking_test_checks.py UTC_ARGS: --version 5
+# RUN: llc -mtriple aarch64 -passes="print<gisel-value-tracking>" %s -filetype=null 2>&1 | FileCheck %s
+
+---
+name:            Cst
+body:             |
+  bb.1:
+    %0:_(s8) = G_CONSTANT i8 1
+    %1:_(s8) = COPY %0
+...
+---
+name:            CstWithClass
----------------
arsenm wrote:

Function name doesn't match, there's no constant with a register class 

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


More information about the llvm-commits mailing list