Index: llvm/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll =================================================================== --- llvm/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll +++ llvm/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll @@ -1,5 +1,8 @@ ; RUN: llc -no-integrated-as < %s +; NVPTX does not support memory address operands +; UNSUPPORTED: nvptx + define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() personality i32 (...)* @__gxx_personality_v0 { entry: invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* elementtype( i32) null, i32* elementtype(i32) null ) Index: llvm/test/CodeGen/Generic/2010-ZeroSizedArg.ll =================================================================== --- llvm/test/CodeGen/Generic/2010-ZeroSizedArg.ll +++ llvm/test/CodeGen/Generic/2010-ZeroSizedArg.ll @@ -1,6 +1,8 @@ ; RUN: llc < %s ; PR4975 +; UNSUPPORTED: nvptx + %0 = type <{ [0 x i32] }> %union.T0 = type { } Index: llvm/test/CodeGen/Generic/APIntLoadStore.ll =================================================================== --- llvm/test/CodeGen/Generic/APIntLoadStore.ll +++ llvm/test/CodeGen/Generic/APIntLoadStore.ll @@ -1,4 +1,8 @@ ; RUN: llc < %s > %t + +; NVPTX failed to emit extern global var of type size > 64 (i65 and so on) +; UxNSUPPORTED: nvptx + @i1_l = external global i1 ; [#uses=1] @i1_s = external global i1 ; [#uses=1] @i2_l = external global i2 ; [#uses=1] Index: llvm/test/CodeGen/Generic/APIntParam.ll =================================================================== --- llvm/test/CodeGen/Generic/APIntParam.ll +++ llvm/test/CodeGen/Generic/APIntParam.ll @@ -1,4 +1,7 @@ ; RUN: llc < %s > %t + +; UNSUPPORTED: nvptx + @i1_s = external global i1 ; [#uses=1] @i2_s = external global i2 ; [#uses=1] @i3_s = external global i3 ; [#uses=1] Index: llvm/test/CodeGen/Generic/APIntSextParam.ll =================================================================== --- llvm/test/CodeGen/Generic/APIntSextParam.ll +++ llvm/test/CodeGen/Generic/APIntSextParam.ll @@ -1,4 +1,7 @@ ; RUN: llc < %s > %t + +; UNSUPPORTED: nvptx + @i1_s = external global i1 ; [#uses=1] @i2_s = external global i2 ; [#uses=1] @i3_s = external global i3 ; [#uses=1] Index: llvm/test/CodeGen/Generic/APIntZextParam.ll =================================================================== --- llvm/test/CodeGen/Generic/APIntZextParam.ll +++ llvm/test/CodeGen/Generic/APIntZextParam.ll @@ -1,4 +1,7 @@ ; RUN: llc < %s > %t + +; UNSUPPORTED: nvptx + @i1_s = external global i1 ; [#uses=1] @i2_s = external global i2 ; [#uses=1] @i3_s = external global i3 ; [#uses=1] Index: llvm/test/CodeGen/Generic/empty-load-store.ll =================================================================== --- llvm/test/CodeGen/Generic/empty-load-store.ll +++ llvm/test/CodeGen/Generic/empty-load-store.ll @@ -1,6 +1,8 @@ ; RUN: llc < %s ; PR2612 +; UNSUPPORTED: nvptx + @current_foo = internal global { } zeroinitializer define i32 @foo() { Index: llvm/test/CodeGen/Generic/pr12507.ll =================================================================== --- llvm/test/CodeGen/Generic/pr12507.ll +++ llvm/test/CodeGen/Generic/pr12507.ll @@ -1,5 +1,7 @@ ; RUN: llc < %s +; UNSUPPORTED: nvptx + @c = external global i32, align 4 define void @foo(i160 %x) { Index: llvm/test/CodeGen/Generic/pr24662.ll =================================================================== --- llvm/test/CodeGen/Generic/pr24662.ll +++ llvm/test/CodeGen/Generic/pr24662.ll @@ -1,6 +1,8 @@ ; RUN: llc < %s -fast-isel ; RUN: llc < %s +; UNSUPPORTED: nvptx + define i60 @PR24662a() { ret i60 trunc (i670010 fptoui(float 0x400D9999A0000000 to i670010) to i60) } Index: llvm/test/CodeGen/Generic/stacksave-restore.ll =================================================================== --- llvm/test/CodeGen/Generic/stacksave-restore.ll +++ llvm/test/CodeGen/Generic/stacksave-restore.ll @@ -1,5 +1,7 @@ ; RUN: llc < %s +; UNSUPPORTED: nvptx + declare i8* @llvm.stacksave() declare void @llvm.stackrestore(i8*) Index: llvm/test/CodeGen/Generic/zero-sized-array.ll =================================================================== --- llvm/test/CodeGen/Generic/zero-sized-array.ll +++ llvm/test/CodeGen/Generic/zero-sized-array.ll @@ -1,6 +1,8 @@ ; RUN: llc < %s ; PR9900 +; UNSUPPORTED: nvptx + %zero = type [0 x i8] %foobar = type { i32, %zero } Index: llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll =================================================================== --- llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll +++ llvm/test/CodeGen/MLRegalloc/default-eviction-advisor.ll @@ -3,6 +3,7 @@ ; REQUIRES: !have_tf_aot ; REQUIRES: !have_tf_api ; REQUIRES: default_triple +; UNSUPPORTED: nvptx ; RUN: not llc -O2 -regalloc-enable-advisor=development < %s 2>&1 | FileCheck %s ; RUN: not llc -O2 -regalloc-enable-advisor=release < %s 2>&1 | FileCheck %s ; RUN: llc -O2 -regalloc-enable-advisor=default < %s 2>&1 | FileCheck %s --check-prefix=DEFAULT Index: llvm/test/Feature/optnone-llc.ll =================================================================== --- llvm/test/Feature/optnone-llc.ll +++ llvm/test/Feature/optnone-llc.ll @@ -6,6 +6,7 @@ ; RUN: llc -O1 -debug-only=isel -fast-isel=false %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=NOFAST ; REQUIRES: asserts, default_triple +; UNSUPPORTED: nvptx ; This test verifies that we don't run Machine Function optimizations ; on optnone functions, and that we can turn off FastISel. Index: llvm/test/MC/AsmParser/include.ll =================================================================== --- llvm/test/MC/AsmParser/include.ll +++ llvm/test/MC/AsmParser/include.ll @@ -1,5 +1,5 @@ ; RUN: llc -I %p/Inputs -filetype asm -o - %s | FileCheck %s -; UNSUPPORTED: -zos +; UNSUPPORTED: -zos,nvptx ; REQUIRES: default_triple module asm ".include \22module.x\22" Index: llvm/test/MC/AsmParser/macro-same-context.ll =================================================================== --- llvm/test/MC/AsmParser/macro-same-context.ll +++ llvm/test/MC/AsmParser/macro-same-context.ll @@ -1,6 +1,6 @@ ;; Test that macros in inline assembly blocks share the same context, ;; thus a definition is available to the whole file. PR36110 -; UNSUPPORTED: -zos +; UNSUPPORTED: -zos,nvptx ; RUN: not llc < %s 2>&1 | FileCheck %s ; REQUIRES: default_triple