This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GFX9: Set +fast-fmaf for >=gfx900 unless -cl-denorms-are-zero is set
AbandonedPublic

Authored by kzhuravl on Apr 14 2017, 7:54 AM.

Details

Reviewers
arsenm

Diff Detail

Event Timeline

kzhuravl created this revision.Apr 14 2017, 7:54 AM
kzhuravl updated this revision to Diff 95299.Apr 14 2017, 7:56 AM

Add \n to test file.

arsenm added inline comments.Apr 21 2017, 10:57 AM
lib/Basic/Targets.cpp
2208–2210

We glue fast-fmaf to the specific subtargets, so I don't think you can actually turn it and off. It has this nonsensical behavior where it assumes if you disable a subtarget feature for the processors you aren't actually targeting the processor at all. I think a dedicated new feature might be needed

kzhuravl abandoned this revision.Apr 21 2017, 11:55 AM

Abandoned in favor of D32363.