[Mlir-commits] [mlir] Add REQUIRES: asserts to limit the test to debug only. (PR #83145)

Xiang Li llvmlistbot at llvm.org
Tue Feb 27 07:43:18 PST 2024


https://github.com/python3kgae created https://github.com/llvm/llvm-project/pull/83145

None

>From 8cb9329b375bef6222997a7c286ece44a6e332f2 Mon Sep 17 00:00:00 2001
From: Xiang Li <python3kgae at outlook.com>
Date: Tue, 27 Feb 2024 10:42:39 -0500
Subject: [PATCH] Add REQUIRES: asserts to limit the test to debug only.

---
 mlir/test/Target/LLVMIR/erase-dangling-constants.mlir | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir b/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir
index b3b5d540ae88fc..dbb67559560031 100644
--- a/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir
+++ b/mlir/test/Target/LLVMIR/erase-dangling-constants.mlir
@@ -1,3 +1,4 @@
+// REQUIRES: asserts
 // RUN: mlir-translate -mlir-to-llvmir %s -debug-only=llvm-dialect-to-llvm-ir 2>&1 | FileCheck %s
 
 // CHECK: Convert initializer for dup_const



More information about the Mlir-commits mailing list