summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitc6f8fdb4e5fad2cc443c135b39c1051c96df9c6c (patch)
tree268afa211a09f343385b9e068a17c0573f0e0e8d /llvm/lib/Target
parent69071442f08cb7075af13870c8a4320367d72eda (diff)
downloadbcm5719-llvm-c6f8fdb4e5fad2cc443c135b39c1051c96df9c6c.tar.gz
bcm5719-llvm-c6f8fdb4e5fad2cc443c135b39c1051c96df9c6c.zip
R600: Fix vector FMA
llvm-svn: 211757
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 84e78badce3..5ea05f7b1ed 100644
--- a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud