[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri May 13 09:19:11 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelPattern.cpp updated: 1.87 -> 1.88
---
Log message:
Realize that we don't support fmod directly, fixing CodeGen/Generic/print-arith-fp.ll
---
Diffs of the changes: (+3 -1)
PPC32ISelPattern.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.87 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.88
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.87 Thu May 12 18:23:53 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp Fri May 13 11:18:54 2005
@@ -64,13 +64,15 @@
setOperationAction(ISD::SREM, MVT::i32, Expand);
setOperationAction(ISD::UREM, MVT::i32, Expand);
- // We don't support sin/cos/sqrt
+ // We don't support sin/cos/sqrt/fmod
setOperationAction(ISD::FSIN , MVT::f64, Expand);
setOperationAction(ISD::FCOS , MVT::f64, Expand);
setOperationAction(ISD::FSQRT, MVT::f64, Expand);
+ setOperationAction(ISD::SREM , MVT::f64, Expand);
setOperationAction(ISD::FSIN , MVT::f32, Expand);
setOperationAction(ISD::FCOS , MVT::f32, Expand);
setOperationAction(ISD::FSQRT, MVT::f32, Expand);
+ setOperationAction(ISD::SREM , MVT::f32, Expand);
//PowerPC does not have CTPOP or CTTZ
setOperationAction(ISD::CTPOP, MVT::i32 , Expand);
More information about the llvm-commits
mailing list