[llvm] d264514 - Enforce parameter order in f16 call, flipped call unit tests (#96258)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 14:07:44 PDT 2024
Author: Akshay Deodhar
Date: 2024-06-25T14:07:40-07:00
New Revision: d26451411f9cab2200a749f5b7a2f4f93c154445
URL: https://github.com/llvm/llvm-project/commit/d26451411f9cab2200a749f5b7a2f4f93c154445
DIFF: https://github.com/llvm/llvm-project/commit/d26451411f9cab2200a749f5b7a2f4f93c154445.diff
LOG: Enforce parameter order in f16 call, flipped call unit tests (#96258)
Added:
Modified:
llvm/test/CodeGen/NVPTX/f16-instructions.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/NVPTX/f16-instructions.ll b/llvm/test/CodeGen/NVPTX/f16-instructions.ll
index 234da13f7e3a5..14e02a49f6e5e 100644
--- a/llvm/test/CodeGen/NVPTX/f16-instructions.ll
+++ b/llvm/test/CodeGen/NVPTX/f16-instructions.ll
@@ -265,7 +265,10 @@ declare half @test_callee(half %a, half %b) #0
; CHECK-DAG: .param .align 2 .b8 retval0[2];
; CHECK: call.uni (retval0),
; CHECK-NEXT: test_callee,
-; CHECK: );
+; CHECK-NEXT: (
+; CHECK-NEXT: param0,
+; CHECK-NEXT: param1
+; CHECK-NEXT: );
; CHECK-NEXT: ld.param.b16 [[R:%rs[0-9]+]], [retval0+0];
; CHECK-NEXT: }
; CHECK-NEXT: st.param.b16 [func_retval0+0], [[R]];
@@ -286,7 +289,10 @@ define half @test_call(half %a, half %b) #0 {
; CHECK-DAG: .param .align 2 .b8 retval0[2];
; CHECK: call.uni (retval0),
; CHECK-NEXT: test_callee,
-; CHECK: );
+; CHECK-NEXT: (
+; CHECK-NEXT: param0,
+; CHECK-NEXT: param1
+; CHECK-NEXT: );
; CHECK-NEXT: ld.param.b16 [[R:%rs[0-9]+]], [retval0+0];
; CHECK-NEXT: }
; CHECK-NEXT: st.param.b16 [func_retval0+0], [[R]];
@@ -307,7 +313,10 @@ define half @test_call_flipped(half %a, half %b) #0 {
; CHECK-DAG: .param .align 2 .b8 retval0[2];
; CHECK: call.uni (retval0),
; CHECK-NEXT: test_callee,
-; CHECK: );
+; CHECK-NEXT: (
+; CHECK-NEXT: param0,
+; CHECK-NEXT: param1
+; CHECK-NEXT: );
; CHECK-NEXT: ld.param.b16 [[R:%rs[0-9]+]], [retval0+0];
; CHECK-NEXT: }
; CHECK-NEXT: st.param.b16 [func_retval0+0], [[R]];
More information about the llvm-commits
mailing list