From b2bd3a45ec3f35eaeddf1321c9f8a0295bb125df Mon Sep 17 00:00:00 2001 From: Justin Fargnoli Date: Thu, 6 Feb 2025 11:17:55 -0800 Subject: [PATCH] [NVPTX] Require asserts in `unrecognized-sm1x.ll` (#126105) Fix clang-with-thin-lto-ubuntu - failed build --- llvm/test/CodeGen/NVPTX/unrecognized-sm1x.ll | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/test/CodeGen/NVPTX/unrecognized-sm1x.ll b/llvm/test/CodeGen/NVPTX/unrecognized-sm1x.ll index 9a1dc122915d..1f6e18e826e8 100644 --- a/llvm/test/CodeGen/NVPTX/unrecognized-sm1x.ll +++ b/llvm/test/CodeGen/NVPTX/unrecognized-sm1x.ll @@ -2,6 +2,7 @@ ; RUN: llc < %s -mtriple=nvptx -mcpu=sm_11 -debug-only=nvptx-subtarget -o /dev/null 2>&1 | FileCheck %s --check-prefix=SM11 ; RUN: llc < %s -mtriple=nvptx -mcpu=sm_12 -debug-only=nvptx-subtarget -o /dev/null 2>&1 | FileCheck %s --check-prefix=SM12 ; RUN: llc < %s -mtriple=nvptx -mcpu=sm_13 -debug-only=nvptx-subtarget -o /dev/null 2>&1 | FileCheck %s --check-prefix=SM13 +; REQUIRES: asserts ; SM10: 'sm_10' is not a recognized processor for this target (ignoring processor) ; SM11: 'sm_11' is not a recognized processor for this target (ignoring processor)