Skip to content

Commit 717c2c8

Browse files
revert fcanonicalize testcase
1 parent 3aaf155 commit 717c2c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,9 @@ define amdgpu_kernel void @test_no_fold_canonicalize_fcopysign_value_f32(ptr add
363363
}
364364

365365
; 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]]|
366+
; GCN: v_and_b32_e32 [[V:v[0-9]+]], 0x7fffffff, v{{[0-9]+}}
367+
; GCN-NOT: v_mul
368+
; GCN-NOT: v_max
368369
; GCN: {{flat|global}}_store_dword v{{.+}}, [[V]]
369370
define amdgpu_kernel void @test_fold_canonicalize_fabs_value_f32(ptr addrspace(1) %arg) {
370371
%id = tail call i32 @llvm.amdgcn.workitem.id.x()

0 commit comments

Comments
 (0)