summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-30 04:26:56 +0000
committerChris Lattner <sabre@nondot.org>2005-04-30 04:26:56 +0000
commit9993823876f69ff5ee8f76540d9b4df8454e80fe (patch)
treeb000f2ab577dfb21880ee797824f4e7c2ceeb6c4 /llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
parent9c6bbafc15aaea7251f4b99b721587bfff45d0e7 (diff)
downloadbcm5719-llvm-9993823876f69ff5ee8f76540d9b4df8454e80fe.tar.gz
bcm5719-llvm-9993823876f69ff5ee8f76540d9b4df8454e80fe.zip
Doesn't support these nodes
llvm-svn: 21634
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp b/llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
index 1e72bf0ba60..8614a24743c 100644
--- a/llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
+++ b/llvm/lib/Target/PowerPC/PPC64ISelPattern.cpp
@@ -52,6 +52,14 @@ namespace {
setOperationAction(ISD::MEMSET, MVT::Other, Expand);
setOperationAction(ISD::MEMCPY, MVT::Other, Expand);
+ // We don't support sin/cos/sqrt
+ setOperationAction(ISD::FSIN , MVT::f64, Expand);
+ setOperationAction(ISD::FCOS , MVT::f64, Expand);
+ setOperationAction(ISD::FSQRT, MVT::f64, Expand);
+ setOperationAction(ISD::FSIN , MVT::f32, Expand);
+ setOperationAction(ISD::FCOS , MVT::f32, Expand);
+ setOperationAction(ISD::FSQRT, MVT::f32, Expand);
+
// PPC 64 has i16 and i32 but no i8 (or i1) SEXTLOAD
setOperationAction(ISD::SEXTLOAD, MVT::i1, Expand);
setOperationAction(ISD::SEXTLOAD, MVT::i8, Expand);
OpenPOWER on IntegriCloud