11; RUN: llc < %s -march=nvptx -mcpu=sm_20 -verify-machineinstrs \
2- ; RUN: | FileCheck %s --check-prefix =CHECK --check-prefix= CHECK-NOTRAP
2+ ; RUN: | FileCheck %s --check-prefixes =CHECK, CHECK-NOTRAP
33; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 -verify-machineinstrs \
4- ; RUN: | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOTRAP
4+ ; RUN: | FileCheck %s --check-prefixes=CHECK,CHECK-NOTRAP
5+ ; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 -verify-machineinstrs -mattr=+ptx75 \
6+ ; RUN: | FileCheck %s --check-prefixes=CHECK-PTX75
57; RUN: llc < %s -march=nvptx -mcpu=sm_20 -verify-machineinstrs -trap-unreachable \
6- ; RUN: | FileCheck %s --check-prefix =CHECK --check-prefix= CHECK-TRAP
8+ ; RUN: | FileCheck %s --check-prefixes =CHECK, CHECK-TRAP
79; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 -verify-machineinstrs -trap-unreachable \
8- ; RUN: | FileCheck %s --check-prefix =CHECK --check-prefix= CHECK-TRAP
10+ ; RUN: | FileCheck %s --check-prefixes =CHECK, CHECK-TRAP
911; RUN: %if ptxas && !ptxas-12.0 %{ llc < %s -march=nvptx -mcpu=sm_20 -verify-machineinstrs | %ptxas-verify %}
1012; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_20 -verify-machineinstrs | %ptxas-verify %}
1113
@@ -21,12 +23,11 @@ define void @kernel_func() {
2123; CHECK-TRAP: trap;
2224; CHECK-NOTRAP-NOT: trap;
2325; CHECK: exit;
26+ ; CHECK-PTX75-NOT: exit;
2427 unreachable
2528}
2629
2730attributes #0 = { noreturn }
2831
29-
3032!nvvm.annotations = !{!1 }
31-
3233!1 = !{ptr @kernel_func , !"kernel" , i32 1 }
0 commit comments