[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 1 21:03:38 PST 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelPattern.cpp updated: 1.33 -> 1.34
---
Log message:
This target doesn't support fabs/fneg yet.
---
Diffs of the changes: (+4 -0)
PPC32ISelPattern.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.33 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.34
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.33 Fri Apr 1 18:42:16 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp Fri Apr 1 23:03:23 2005
@@ -53,6 +53,10 @@
// PowerPC has an i16 but no i8 (or i1) SEXTLOAD
setOperationAction(ISD::SEXTLOAD, MVT::i1, Expand);
setOperationAction(ISD::SEXTLOAD, MVT::i8, Expand);
+
+ // We don't support these yet.
+ setOperationAction(ISD::FNEG , MVT::f64 , Expand);
+ setOperationAction(ISD::FABS , MVT::f64 , Expand);
addLegalFPImmediate(+0.0); // Necessary for FSEL
addLegalFPImmediate(-0.0); //
More information about the llvm-commits
mailing list