From 169451c125da27ba92cc97afe49da577a52436f2 Mon Sep 17 00:00:00 2001 From: Anshil Gandhi 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 42640f9453764..8228f21b56b13 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" -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"