diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-12-01 03:15:22 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-12-01 03:15:22 +0000 |
commit | ef39d3e9d0f82338406eb391ce67076eb2611565 (patch) | |
tree | 674405f80fa9ad399c7fd736f38a93f3dd05882a /lib/Target | |
parent | 08885c6758a8ee88a360e30d2be457f759498e10 (diff) | |
download | external_llvm-ef39d3e9d0f82338406eb391ce67076eb2611565.zip external_llvm-ef39d3e9d0f82338406eb391ce67076eb2611565.tar.gz external_llvm-ef39d3e9d0f82338406eb391ce67076eb2611565.tar.bz2 |
Merging r195881:
------------------------------------------------------------------------
r195881 | tstellar | 2013-11-27 13:23:39 -0800 (Wed, 27 Nov 2013) | 3 lines
R600: Expand vector FABS
NOTE: This is a candidate for the 3.4 branch.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/R600/AMDGPUISelLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/R600/AMDGPUISelLowering.cpp b/lib/Target/R600/AMDGPUISelLowering.cpp index f2a6aab..c4d75ff 100644 --- a/lib/Target/R600/AMDGPUISelLowering.cpp +++ b/lib/Target/R600/AMDGPUISelLowering.cpp @@ -179,6 +179,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) : for (unsigned int x = 0; x < NumFloatTypes; ++x) { MVT::SimpleValueType VT = FloatTypes[x]; + setOperationAction(ISD::FABS, VT, Expand); setOperationAction(ISD::FADD, VT, Expand); setOperationAction(ISD::FDIV, VT, Expand); setOperationAction(ISD::FFLOOR, VT, Expand); |