We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c1da54 commit 5da6544Copy full SHA for 5da6544
llvm/test/CodeGen/NVPTX/f16-instructions.ll
@@ -149,8 +149,10 @@ define half @test_old_fneg(half %a) #0 {
149
}
150
151
; CHECK-LABEL: test_fneg(
152
-; CHECK-DAG: ld.param.b16 [[A:%rs[0-9]+]], [test_fneg_param_0];
153
-; CHECK-NEXT: xor.b16 [[R:%rs[0-9]+]], [[A]], -32768;
+; CHECK: ld.param.b16 [[A:%rs[0-9]+]], [test_fneg_param_0];
+; CHECK-F16-NOFTZ-NEXT: neg.f16 [[R:%rs[0-9]+]], [[A]];
154
+; CHECK-F16-FTZ-NEXT: neg.ftz.f16 [[R:%rs[0-9]+]], [[A]];
155
+; CHECK-NOF16-NEXT: xor.b16 [[R:%rs[0-9]+]], [[A]], -32768;
156
; CHECK-NEXT: st.param.b16 [func_retval0+0], [[R]];
157
; CHECK-NEXT: ret;
158
define half @test_fneg(half %a) #0 {
0 commit comments