[llvm] 59731f5 - [llvm][llc][test] Fix REQUIRES in regalloc pipeline test

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 3 06:13:50 PDT 2025


Author: David Spickett
Date: 2025-07-03T13:13:37Z
New Revision: 59731f5cfac65d8441c19287dea241ad500faac5

URL: https://github.com/llvm/llvm-project/commit/59731f5cfac65d8441c19287dea241ad500faac5
DIFF: https://github.com/llvm/llvm-project/commit/59731f5cfac65d8441c19287dea241ad500faac5.diff

LOG: [llvm][llc][test] Fix REQUIRES in regalloc pipeline test

Two problems here:
* Missing ":" after REQUIRES, so it was never checked for
  and ran anyway.
* The target name is "x86" not "x86_64".

Added: 
    

Modified: 
    llvm/test/tools/llc/new-pm/x86_64-regalloc-pipeline.mir

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llc/new-pm/x86_64-regalloc-pipeline.mir b/llvm/test/tools/llc/new-pm/x86_64-regalloc-pipeline.mir
index f1a30bc7964ca..7a50bcaf212c7 100644
--- a/llvm/test/tools/llc/new-pm/x86_64-regalloc-pipeline.mir
+++ b/llvm/test/tools/llc/new-pm/x86_64-regalloc-pipeline.mir
@@ -1,4 +1,4 @@
-# REQUIRES x86_64-registered-target
+# REQUIRES: x86-registered-target
 # RUN: llc -mtriple=x86_64-unknown-linux-gnu -enable-new-pm -O3 -regalloc-npm=fast -print-pipeline-passes %s -o - 2>&1 | FileCheck %s
 # RUN: llc -mtriple=x86_64-unknown-linux-gnu -enable-new-pm -O3 -regalloc-npm=greedy -print-pipeline-passes %s -o - 2>&1 | FileCheck %s --check-prefix=CHECK-GREEDY
 


        


More information about the llvm-commits mailing list