[llvm] b2bd3a4 - [NVPTX] Require asserts in `unrecognized-sm1x.ll` (#126105)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 11:17:58 PST 2025


Author: Justin Fargnoli
Date: 2025-02-06T11:17:55-08:00
New Revision: b2bd3a45ec3f35eaeddf1321c9f8a0295bb125df

URL: https://github.com/llvm/llvm-project/commit/b2bd3a45ec3f35eaeddf1321c9f8a0295bb125df
DIFF: https://github.com/llvm/llvm-project/commit/b2bd3a45ec3f35eaeddf1321c9f8a0295bb125df.diff

LOG: [NVPTX] Require asserts in `unrecognized-sm1x.ll` (#126105)

Fix clang-with-thin-lto-ubuntu - failed build

Added: 
    

Modified: 
    llvm/test/CodeGen/NVPTX/unrecognized-sm1x.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/NVPTX/unrecognized-sm1x.ll b/llvm/test/CodeGen/NVPTX/unrecognized-sm1x.ll
index 9a1dc122915dde..1f6e18e826e86f 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)


        


More information about the llvm-commits mailing list