summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-12-01 03:15:22 +0000
committerBill Wendling <isanbard@gmail.com>2013-12-01 03:15:22 +0000
commitef39d3e9d0f82338406eb391ce67076eb2611565 (patch)
tree674405f80fa9ad399c7fd736f38a93f3dd05882a /lib
parent08885c6758a8ee88a360e30d2be457f759498e10 (diff)
downloadllvm-ef39d3e9d0f82338406eb391ce67076eb2611565.tar.gz
llvm-ef39d3e9d0f82338406eb391ce67076eb2611565.tar.bz2
llvm-ef39d3e9d0f82338406eb391ce67076eb2611565.tar.xz
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')
-rw-r--r--lib/Target/R600/AMDGPUISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/R600/AMDGPUISelLowering.cpp b/lib/Target/R600/AMDGPUISelLowering.cpp
index f2a6aab9cd..c4d75ffa0d 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);