[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelPattern.cpp 
    Chris Lattner 
    lattner at cs.uiuc.edu
       
    Fri Apr 29 21:26:17 PDT 2005
    
    
  
Changes in directory llvm/lib/Target/Alpha:
AlphaISelPattern.cpp updated: 1.103 -> 1.104
---
Log message:
This target doesn't support the FSIN/FCOS/FSQRT nodes yet
---
Diffs of the changes:  (+9 -1)
 AlphaISelPattern.cpp |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.103 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.104
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.103	Wed Apr 27 15:10:01 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp	Fri Apr 29 23:26:03 2005
@@ -84,8 +84,16 @@
       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);
+
       //Doesn't work yet
-      setOperationAction(ISD::SETCC    , MVT::f32,   Promote);
+      setOperationAction(ISD::SETCC, MVT::f32,   Promote);
 
       computeRegisterProperties();
 
    
    
More information about the llvm-commits
mailing list