[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Jan 15 14:22:13 PST 2006
Changes in directory llvm/lib/Target/SparcV8:
SparcV8ISelDAGToDAG.cpp updated: 1.53 -> 1.54
---
Log message:
Make sure that bool,byte and short arguments are the right type when loaded
from memory.
---
Diffs of the changes: (+1 -0)
SparcV8ISelDAGToDAG.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.53 llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.54
--- llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.53 Sun Jan 15 13:15:46 2006
+++ llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp Sun Jan 15 16:22:01 2006
@@ -243,6 +243,7 @@
Load = DAG.getExtLoad(LoadOp, MVT::i32, Root, FIPtr,
DAG.getSrcValue(0), ObjectVT);
+ Load = DAG.getNode(ISD::TRUNCATE, ObjectVT, Load);
}
ArgValues.push_back(Load);
}
More information about the llvm-commits
mailing list