Skip to content

Commit 70833d5

Browse files
committed
add -O3 test case for f32x2
Currently breaking for test_extract_i case because parameter symbols cannot appear in add instructions. We need an intermediate mov.
1 parent b47da83 commit 70833d5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

llvm/test/CodeGen/NVPTX/f32x2-instructions.ll

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
22
; ## Full FP32x2 support enabled by default.
3-
; RUN: llc < %s -mtriple=nvptx64-nvidia-cuda -mcpu=sm_100 \
4-
; RUN: -O0 -disable-post-ra -frame-pointer=all -verify-machineinstrs \
3+
; RUN: llc < %s -mtriple=nvptx64-nvidia-cuda -mcpu=sm_100 \
4+
; RUN: -O0 -disable-post-ra -frame-pointer=all -verify-machineinstrs \
55
; RUN: | FileCheck --check-prefixes=CHECK %s
66
; RUN: %if ptxas %{ \
77
; RUN: llc < %s -mtriple=nvptx64-nvidia-cuda -mcpu=sm_100 \
88
; RUN: -O0 -disable-post-ra -frame-pointer=all -verify-machineinstrs \
99
; RUN: | %ptxas-verify -arch=sm_100 \
1010
; RUN: %}
11+
; RUN: llc < %s -mtriple=nvptx64-nvidia-cuda -mcpu=sm_100 \
12+
; RUN: -O3 -verify-machineinstrs \
13+
; RUN: | FileCheck --check-prefixes=CHECK-O3 %s
14+
; RUN: %if ptxas %{ \
15+
; RUN: llc < %s -mtriple=nvptx64-nvidia-cuda -mcpu=sm_100 \
16+
; RUN: -O3 -disable-post-ra -frame-pointer=all -verify-machineinstrs \
17+
; RUN: | %ptxas-verify -arch=sm_100 \
18+
; RUN: %}
1119

1220
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
1321
target triple = "nvptx64-nvidia-cuda"

0 commit comments

Comments
 (0)