[llvm] [MIR] Fix check-line-and-variables.mir test for external shell (PR #206364)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 28 12:44:22 PDT 2026
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/206364
We need to quote the new pass sequence given it involves parentheses.
>From 279a7404aca9f62e81a60194a5474e423970b2f9 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Sun, 28 Jun 2026 19:43:26 +0000
Subject: [PATCH] [MIR] Fix check-line-and-variables.mir test for external
shell
We need to quote the new pass sequence given it involves parentheses.
---
.../CodeGen/Generic/MIRDebugify/check-line-and-variables.mir | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir b/llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
index ead0470d985a5..0f4da849f1e91 100644
--- a/llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
+++ b/llvm/test/CodeGen/Generic/MIRDebugify/check-line-and-variables.mir
@@ -2,7 +2,7 @@
# RUN: llc -mtriple=x86_64-unknown-linux-gnu -run-pass=mir-debugify,dead-mi-elimination,mir-check-debugify -o - %s 2>&1 | FileCheck %s
# RUN: llc -mtriple=x86_64-unknown-linux-gnu -run-pass=mir-debugify,mir-check-debugify -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-PASS
-# RUN: llc -mtriple=x86_64-unknown-linux-gnu -passes=mir-debugify,function(machine-function(dead-mi-elimination)),mir-check-debugify -o - %s 2>&1 | FileCheck %s
+# RUN: llc -mtriple=x86_64-unknown-linux-gnu -passes="mir-debugify,function(machine-function(dead-mi-elimination)),mir-check-debugify" -o - %s 2>&1 | FileCheck %s
# RUN: llc -mtriple=x86_64-unknown-linux-gnu -passes=mir-debugify,mir-check-debugify -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-PASS
--- |
; ModuleID = 'check-line-and-variables.mir'
More information about the llvm-commits
mailing list