summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-06-20 17:06:07 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-06-20 17:06:07 +0000
commit2cda6e8ca62c2ed33532b8af022db082d5270830 (patch)
tree38e37063817b6b8664e03c9e99b6039436629351 /lib
parent2d245e2da458a8088f46136df93b918282833994 (diff)
downloadllvm-2cda6e8ca62c2ed33532b8af022db082d5270830.tar.gz
llvm-2cda6e8ca62c2ed33532b8af022db082d5270830.tar.bz2
llvm-2cda6e8ca62c2ed33532b8af022db082d5270830.tar.xz
R600: Expand vector flog2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211376 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 ee6eb5bd32..d62f8b412a 100644
--- a/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -321,6 +321,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(TargetMachine &TM) :
setOperationAction(ISD::FCOS, VT, Expand);
setOperationAction(ISD::FDIV, VT, Expand);
setOperationAction(ISD::FEXP2, VT, Expand);
+ setOperationAction(ISD::FLOG2, VT, Expand);
setOperationAction(ISD::FPOW, VT, Expand);
setOperationAction(ISD::FFLOOR, VT, Expand);
setOperationAction(ISD::FTRUNC, VT, Expand);