summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-06-26 01:28:05 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-06-26 01:28:05 +0000
commitb0f5a0e7e7fb08f6ab97603ef68b4837f62755a0 (patch)
tree66a3e386ab4cf1d8fdaba8abe9d6e9912417df1f /lib/Target
parent5842c109dd17a3a895887704699fbe21d062a8d4 (diff)
downloadllvm-b0f5a0e7e7fb08f6ab97603ef68b4837f62755a0.tar.gz
llvm-b0f5a0e7e7fb08f6ab97603ef68b4837f62755a0.tar.bz2
llvm-b0f5a0e7e7fb08f6ab97603ef68b4837f62755a0.tar.xz
R600: Fix vector FMA
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-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 84e78badce..5ea05f7b1e 100644
--- a/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -339,6 +339,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) :
setOperationAction(ISD::FFLOOR, VT, Expand);
setOperationAction(ISD::FTRUNC, VT, Expand);
setOperationAction(ISD::FMUL, VT, Expand);
+ setOperationAction(ISD::FMA, VT, Expand);
setOperationAction(ISD::FRINT, VT, Expand);
setOperationAction(ISD::FNEARBYINT, VT, Expand);
setOperationAction(ISD::FSQRT, VT, Expand);