diff options
author | Alexander Richardson <arichardson.kde@gmail.com> | 2017-10-25 21:44:21 +0000 |
---|---|---|
committer | Alexander Richardson <arichardson.kde@gmail.com> | 2017-10-25 21:44:21 +0000 |
commit | 5d1f72d3b59d3c827357eee1ca4fbde0c9d2c55e (patch) | |
tree | 86e5d9bd9c242a5f4a4ccfd565678d0592dba7b1 /test/CodeGen/AMDGPU | |
parent | b50083959647151e66ca63a9d994f1ceb9de009b (diff) |
Fix CodeGen/AMDGPU/fcanonicalize-elimination.ll on FreeBSD 11.0
Summary:
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.
Reviewers: rampitec, kzhuravl
Reviewed By: rampitec, kzhuravl
Subscribers: emaste, kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits, krytarowski
Differential Revision: https://reviews.llvm.org/D39306
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316616 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/AMDGPU')
-rw-r--r-- | test/CodeGen/AMDGPU/fcanonicalize-elimination.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll b/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll index f35fe098569..f66278845c1 100644 --- a/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll +++ b/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll @@ -519,6 +519,10 @@ define amdgpu_kernel void @test_fold_canonicalize_load_nnan_value_f16(half addrs ret void } +; 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 + declare float @llvm.canonicalize.f32(float) #0 declare double @llvm.canonicalize.f64(double) #0 declare half @llvm.canonicalize.f16(half) #0 |