[PATCH] D39306: Fix CodeGen/AMDGPU/fcanonicalize-elimination.ll on FreeBSD 11.0
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 25 14:38:52 PDT 2017
arichardson created this revision.
Herald added subscribers: krytarowski, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl, emaste.
On FreeBSD11.0 the FileCheck NOT string "1.0" will be matched by
`.amd_amdgpu_isa "amdgcn-unknown-freebsd11.0--gfx802"` at the end of the
file. Add a CHECK for that directive to avoid failing the test.
https://reviews.llvm.org/D39306
Files:
test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
Index: test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
===================================================================
--- test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
+++ test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
@@ -519,6 +519,10 @@
ret void
}
+; Avoid failing the test on FreeBSD11.0 which prints will match the GCN-NOT: 1.0
+; in the .amd_amdgpu_isa "amdgcn-unknown-freebsd11.0--gfx802" directive
+; CHECK: .amd_amdgpu_isa
+
declare float @llvm.canonicalize.f32(float) #0
declare double @llvm.canonicalize.f64(double) #0
declare half @llvm.canonicalize.f16(half) #0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39306.120319.patch
Type: text/x-patch
Size: 595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171025/6453591e/attachment.bin>
More information about the llvm-commits
mailing list