summaryrefslogtreecommitdiff
path: root/lib/Target/R600
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-10-29 16:37:20 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-10-29 16:37:20 +0000
commitf54a8409f9fcf025999d8a53fac989c6d0c82e72 (patch)
treee49e82b351b1539ea171043e71c2986ed429bf80 /lib/Target/R600
parent636a5cb8ded0d6ab7051cbde98953039ef80a6bb (diff)
downloadllvm-f54a8409f9fcf025999d8a53fac989c6d0c82e72.tar.gz
llvm-f54a8409f9fcf025999d8a53fac989c6d0c82e72.tar.bz2
llvm-f54a8409f9fcf025999d8a53fac989c6d0c82e72.tar.xz
R600: Expand vector FSQRT ops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600')
-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 b442c25473..bde6894cec 100644
--- a/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -180,6 +180,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) :
setOperationAction(ISD::FFLOOR, VT, Expand);
setOperationAction(ISD::FMUL, VT, Expand);
setOperationAction(ISD::FRINT, VT, Expand);
+ setOperationAction(ISD::FSQRT, VT, Expand);
setOperationAction(ISD::FSUB, VT, Expand);
}
}