llvm.org GIT mirror llvm / 5d1f72d
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 Alexander Richardson 2 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
517517 store half %canonicalized, half addrspace(1)* %gep2, align 2
518518 ret void
519519 }
521 ; Avoid failing the test on FreeBSD11.0 which will match the GCN-NOT: 1.0
522 ; in the .amd_amdgpu_isa "amdgcn-unknown-freebsd11.0--gfx802" directive
523 ; CHECK: .amd_amdgpu_isa
521525 declare float @llvm.canonicalize.f32(float) #0
522526 declare double @llvm.canonicalize.f64(double) #0