From 809c872aae7c57afea1b00816bd99a4cd461b672 Mon Sep 17 00:00:00 2001 From: David Tenty Date: Thu, 30 Jan 2020 12:33:00 -0500 Subject: [PATCH] [NFC] Fix check prefix add in fcanonicalize-elimination.ll The test fix added by "D39306: Fix CodeGen/AMDGPU/fcanonicalize-elimination.ll on FreeBSD 11.0" uses a test prefix which is not actually used in the FileCheck stanza. Thus the problem originally encountered still exists and the tests fails for host triples that contain "1.0", including AIX 7.1.0. --- llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll b/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll index f567caa..6d1af9f 100644 --- a/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll +++ b/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll @@ -878,7 +878,7 @@ define float @v_test_canonicalize_frexp_mant(float %a) { ; Avoid failing the test on FreeBSD11.0 which will match the GCN-NOT: 1.0 ; in the .amd_amdgpu_isa "amdgcn-unknown-freebsd11.0--gfx802" directive -; CHECK: .amd_amdgpu_isa +; GCN: .amd_amdgpu_isa declare float @llvm.canonicalize.f32(float) #0 declare float @llvm.copysign.f32(float, float) #0 -- 2.7.4