This is an archive of the discontinued LLVM Phabricator instance.

Fix CodeGen/AMDGPU/fcanonicalize-elimination.ll on FreeBSD 11.0
ClosedPublic

Authored by arichardson on Oct 25 2017, 2:38 PM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

arichardson created this revision.Oct 25 2017, 2:38 PM
arichardson added inline comments.Oct 25 2017, 2:39 PM
test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
522 ↗(On Diff #120319)

I will remove the extra "prints" before committing

kzhuravl accepted this revision.Oct 25 2017, 2:40 PM

LGTM.

This revision is now accepted and ready to land.Oct 25 2017, 2:40 PM
This revision was automatically updated to reflect the committed changes.
arsenm added a subscriber: arsenm.Oct 25 2017, 5:33 PM

We should probably just fix by using explicit triples in the run lines. We should also probably just unset the default OS if it's ever used