[llvm] [NFC][NVPTX][test] Update test for `fneg half` (PR #95856)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 15:41:21 PDT 2024


================
@@ -143,11 +143,21 @@ define half @test_fsub(half %a, half %b) #0 {
 ; CHECK-NOF16-NEXT: cvt.rn.f16.f32 [[R:%rs[0-9]+]], [[R32]]
 ; CHECK-NEXT: st.param.b16    [func_retval0+0], [[R]];
 ; CHECK-NEXT: ret;
-define half @test_fneg(half %a) #0 {
+define half @test_old_fneg(half %a) #0 {
   %r = fsub half 0.0, %a
   ret half %r
 }
 
+; CHECK-LABEL: test_fneg(
+; CHECK-DAG:  ld.param.b16    [[A:%rs[0-9]+]], [test_fneg_param_0];
----------------
justinfargnoli wrote:

Thanks for pointing this out. This was an artifact from my copy/paste. It should be fixed with 5da6544f33a3b7822eab0889cbd06a793481089f.

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


More information about the llvm-commits mailing list