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 3aaf155 commit 717c2c8Copy full SHA for 717c2c8
llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
@@ -363,8 +363,9 @@ define amdgpu_kernel void @test_no_fold_canonicalize_fcopysign_value_f32(ptr add
363
}
364
365
; GCN-LABEL: test_fold_canonicalize_fabs_value_f32:
366
-; VI: v_mul_f32_e64 [[V:v[0-9]+]], 1.0, |[[V]]|
367
-; GFX9: v_max_f32_e64 [[V:v[0-9]+]], |[[V]]|, |[[V]]|
+; GCN: v_and_b32_e32 [[V:v[0-9]+]], 0x7fffffff, v{{[0-9]+}}
+; GCN-NOT: v_mul
368
+; GCN-NOT: v_max
369
; GCN: {{flat|global}}_store_dword v{{.+}}, [[V]]
370
define amdgpu_kernel void @test_fold_canonicalize_fabs_value_f32(ptr addrspace(1) %arg) {
371
%id = tail call i32 @llvm.amdgcn.workitem.id.x()
0 commit comments