[llvm] [Verifier] Use not --crash for assertion (PR #174296)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 3 21:59:22 PST 2026
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/174296
>From dcb33b10695f661137f5d99c4bf18a85e95f07a9 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Sat, 3 Jan 2026 22:49:26 +0000
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.7
---
llvm/test/Verifier/token1.ll | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/llvm/test/Verifier/token1.ll b/llvm/test/Verifier/token1.ll
index e793dbdba1ad0..70d08442d1966 100644
--- a/llvm/test/Verifier/token1.ll
+++ b/llvm/test/Verifier/token1.ll
@@ -1,4 +1,5 @@
-; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
+; RUN: %if !asserts %{ not llvm-as -disable-output %s 2>&1 | FileCheck %s %}
+; RUN: %if asserts %{ not --crash llvm-as -disable-output %s 2>&1 | FileCheck %s %}
define void @f(token %A, token %B) {
entry:
More information about the llvm-commits
mailing list