[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelLowering.cpp AlphaISelPattern.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Thu Oct 6 09:54:40 PDT 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaISelLowering.cpp updated: 1.6 -> 1.7
AlphaISelPattern.cpp updated: 1.172 -> 1.173
---
Log message:
This is suppose to work now
---
Diffs of the changes: (+2 -1)
AlphaISelLowering.cpp | 2 ++
AlphaISelPattern.cpp | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.6 llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.7
--- llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.6 Thu Sep 29 17:54:56 2005
+++ llvm/lib/Target/Alpha/AlphaISelLowering.cpp Thu Oct 6 11:54:29 2005
@@ -66,6 +66,8 @@
setOperationAction(ISD::SEXTLOAD, MVT::i8, Expand);
setOperationAction(ISD::SEXTLOAD, MVT::i16, Expand);
+ setOperationAction(ISD::TRUNCSTORE, MVT::i1, Promote);
+
setOperationAction(ISD::FREM, MVT::f32, Expand);
setOperationAction(ISD::FREM, MVT::f64, Expand);
Index: llvm/lib/Target/Alpha/AlphaISelPattern.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.172 llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.173
--- llvm/lib/Target/Alpha/AlphaISelPattern.cpp:1.172 Thu Sep 29 17:54:56 2005
+++ llvm/lib/Target/Alpha/AlphaISelPattern.cpp Thu Oct 6 11:54:29 2005
@@ -1822,7 +1822,6 @@
} else { //ISD::TRUNCSTORE
switch(cast<VTSDNode>(Node->getOperand(4))->getVT()) {
default: assert(0 && "unknown Type in store");
- case MVT::i1: //FIXME: DAG does not promote this load
case MVT::i8: Opc = Alpha::STB; break;
case MVT::i16: Opc = Alpha::STW; break;
case MVT::i32: Opc = Alpha::STL; break;
More information about the llvm-commits
mailing list