[llvm] 809c872 - [NFC] Fix check prefix add in fcanonicalize-elimination.ll

David Tenty via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 30 14:20:05 PST 2020


Author: David Tenty
Date: 2020-01-30T17:19:49-05:00
New Revision: 809c872aae7c57afea1b00816bd99a4cd461b672

URL: https://github.com/llvm/llvm-project/commit/809c872aae7c57afea1b00816bd99a4cd461b672
DIFF: https://github.com/llvm/llvm-project/commit/809c872aae7c57afea1b00816bd99a4cd461b672.diff

LOG: [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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll b/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
index f567caa91720..6d1af9f9eeb8 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


        


More information about the llvm-commits mailing list