[llvm] [NFC] Add an assertion requirement to an opt test (PR #106027)

Anshil Gandhi via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 25 19:44:28 PDT 2024


https://github.com/gandhi56 created https://github.com/llvm/llvm-project/pull/106027

None

>From 169451c125da27ba92cc97afe49da577a52436f2 Mon Sep 17 00:00:00 2001
From: Anshil Gandhi <gandhi21299 at gmail.com>
Date: Sun, 25 Aug 2024 22:42:06 -0400
Subject: [PATCH] [NFC] Add an assertion requirement to an opt test

---
 llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll b/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
index 42640f94537640..8228f21b56b132 100644
--- a/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
+++ b/llvm/test/LTO/AMDGPU/gpu-rdc-amdgpu-attrs.ll
@@ -2,6 +2,7 @@
 ; RUN: opt -passes="lto<O3>" -debug-only=amdgpu-attributor -S -o - %s 2>&1 | FileCheck %s --check-prefix=POST-LINK
 
 ; REQUIRES: amdgpu-registered-target
+; REQUIRES: asserts
 
 target triple = "amdgcn-amd-amdhsa"
 



More information about the llvm-commits mailing list