summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-11-27 21:23:39 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-11-27 21:23:39 +0000
commit175e7a8c977e34d9f0ae45dc73e5b963f63aed51 (patch)
treed7214cba1aff9b6ec2323a799c27d2092b62befd /llvm/lib/Target
parentc149dc02d36d1d4ed210b460f947dc5a3651454c (diff)
downloadbcm5719-llvm-175e7a8c977e34d9f0ae45dc73e5b963f63aed51.tar.gz
bcm5719-llvm-175e7a8c977e34d9f0ae45dc73e5b963f63aed51.zip
R600: Expand vector FABS
NOTE: This is a candidate for the 3.4 branch. llvm-svn: 195881
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/R600/AMDGPUISelLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
index f2a6aab9cd7..c4d75ffa0d0 100644
--- a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud