Skip to content

Commit bb18085

Browse files
committed
[NVPTX][Fix] Update minimum CPU for NVPTX intrinsics test
Summary: This test requires at least sm_30 to run, but that is still below the minimum supported version of sm_52 currently. Just set this to sm_60 so the tests pass in the future.
1 parent 81c4bf9 commit bb18085

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/CodeGen/NVPTX/intrinsics.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2-
; RUN: llc < %s -march=nvptx64 -mcpu=sm_20 | FileCheck %s
3-
; RUN: %if ptxas && !ptxas-12.0 %{ llc < %s -march=nvptx -mcpu=sm_20 | %ptxas-verify %}
4-
; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_20 | %ptxas-verify %}
1+
; RUN: llc < %s -march=nvptx -mcpu=sm_60 | FileCheck %s
2+
; RUN: llc < %s -march=nvptx64 -mcpu=sm_60 | FileCheck %s
3+
; RUN: %if ptxas && !ptxas-12.0 %{ llc < %s -march=nvptx -mcpu=sm_60 | %ptxas-verify %}
4+
; RUN: %if ptxas %{ llc < %s -march=nvptx64 -mcpu=sm_60 | %ptxas-verify %}
55

66
; CHECK-LABEL: test_fabsf(
77
define float @test_fabsf(float %f) {

0 commit comments

Comments
 (0)