diff options
author | David Stuttard <david.stuttard@amd.com> | 2018-09-14 10:27:19 +0000 |
---|---|---|
committer | David Stuttard <david.stuttard@amd.com> | 2018-09-14 10:27:19 +0000 |
commit | 20de3e99b5251fc38adff18ffd55fc98251a2075 (patch) | |
tree | 8a69e7f38a755dd5cd44dd991fa51e9fd50f83cf /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | f051379fbc3fef3b884088082721a15bc8ee1ead (diff) | |
download | llvm-20de3e99b5251fc38adff18ffd55fc98251a2075.zip llvm-20de3e99b5251fc38adff18ffd55fc98251a2075.tar.gz llvm-20de3e99b5251fc38adff18ffd55fc98251a2075.tar.bz2 |
[AMDGPU] Ensure trig range reduction only used for subtargets that require it
Summary:
GFX9 and above support sin/cos instructions with a greater range and thus don't
require a fract instruction prior to invocation.
Added a subtarget feature to reflect this and added code to take advantage of
expanded range on GFX9+
Also updated the tests to check correct behaviour
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, tpr, t-tye, llvm-commits
Differential Revision: https://reviews.llvm.org/D51933
Change-Id: I1c1f1d3726a5ae32116646ca5cfa1ab4ef69e5b0
llvm-svn: 342222
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions