[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelPattern.cpp
Nate Begeman
natebegeman at mac.com
Thu Oct 20 18:52:56 PDT 2005
Changes in directory llvm/lib/Target/IA64:
IA64ISelPattern.cpp updated: 1.66 -> 1.67
---
Log message:
Don't generate operations that aren't yet supported
---
Diffs of the changes: (+4 -1)
IA64ISelPattern.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/IA64/IA64ISelPattern.cpp
diff -u llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.66 llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.67
--- llvm/lib/Target/IA64/IA64ISelPattern.cpp:1.66 Thu Oct 6 23:50:48 2005
+++ llvm/lib/Target/IA64/IA64ISelPattern.cpp Thu Oct 20 20:52:45 2005
@@ -84,7 +84,7 @@
setOperationAction(ISD::SINT_TO_FP , MVT::i1 , Promote);
setOperationAction(ISD::UINT_TO_FP , MVT::i1 , Promote);
-
+
// We don't support sin/cos/sqrt
setOperationAction(ISD::FSIN , MVT::f64, Expand);
setOperationAction(ISD::FCOS , MVT::f64, Expand);
@@ -96,6 +96,9 @@
//IA64 has these, but they are not implemented
setOperationAction(ISD::CTTZ , MVT::i64 , Expand);
setOperationAction(ISD::CTLZ , MVT::i64 , Expand);
+ // FIXME: implement mulhs (xma.h) and mulhu (xma.hu)
+ setOperationAction(ISD::MULHS , MVT::i64 , Expand);
+ setOperationAction(ISD::MULHU , MVT::i64 , Expand);
computeRegisterProperties();
More information about the llvm-commits
mailing list