[llvm] [NVPTX] legalize v2i32 to improve compatibility with v2f32 (PR #153478)

Princeton Ferro via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 16:49:18 PDT 2025


================
@@ -2,16 +2,22 @@
 ; ## Full FP32x2 support enabled by default.
 ; RUN: llc < %s -mcpu=sm_80 -O0 -disable-post-ra -frame-pointer=all            \
 ; RUN: -verify-machineinstrs | FileCheck --check-prefixes=CHECK,CHECK-NOF32X2 %s
-; RUN: %if ptxas-sm_80 %{                                                       \
+; RUN: %if ptxas-sm_80 %{                                                      \
 ; RUN:  llc < %s -mcpu=sm_80 -O0 -disable-post-ra -frame-pointer=all           \
 ; RUN:  -verify-machineinstrs | %ptxas-verify -arch=sm_80                      \
 ; RUN: %}
 ; RUN: llc < %s -mcpu=sm_100 -O0 -disable-post-ra -frame-pointer=all           \
 ; RUN: -verify-machineinstrs | FileCheck --check-prefixes=CHECK,CHECK-F32X2 %s
-; RUN: %if ptxas-sm_100 %{                                                       \
+; RUN: %if ptxas-sm_100 %{                                                     \
 ; RUN:  llc < %s -mcpu=sm_100 -O0 -disable-post-ra -frame-pointer=all          \
 ; RUN:  -verify-machineinstrs | %ptxas-verify -arch=sm_100                     \
 ; RUN: %}
+; RUN: llc < %s -mcpu=sm_100 -O3 -frame-pointer=all -verify-machineinstrs      \
+; RUN:   | FileCheck --check-prefixes=CHECK,CHECK-F32X2-O3 %s
+; RUN: %if ptxas-sm_100 %{                                                     \
+; RUN:  llc < %s -mcpu=sm_100 -O3 -disable-post-ra -frame-pointer=all          \
+; RUN:  -verify-machineinstrs | %ptxas-verify -arch=sm_100                     \
+; RUN: %}
----------------
Prince781 wrote:

Alright. I've removed them. 

https://github.com/llvm/llvm-project/pull/153478


More information about the llvm-commits mailing list