[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
Evan Cheng
evan.cheng at apple.com
Thu Jun 15 01:18:19 PDT 2006
Changes in directory llvm/lib/Target/Sparc:
SparcISelDAGToDAG.cpp updated: 1.98 -> 1.99
---
Log message:
Type of extract_element index operand should be iPTR.
---
Diffs of the changes: (+2 -2)
SparcISelDAGToDAG.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
diff -u llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.98 llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.99
--- llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.98 Fri May 26 18:10:12 2006
+++ llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp Thu Jun 15 03:18:06 2006
@@ -564,9 +564,9 @@
}
// Split the value into top and bottom part. Top part goes in a reg.
- SDOperand Hi = DAG.getNode(ISD::EXTRACT_ELEMENT, MVT::i32, Val,
+ SDOperand Hi = DAG.getNode(ISD::EXTRACT_ELEMENT, getPointerTy(), Val,
DAG.getConstant(1, MVT::i32));
- SDOperand Lo = DAG.getNode(ISD::EXTRACT_ELEMENT, MVT::i32, Val,
+ SDOperand Lo = DAG.getNode(ISD::EXTRACT_ELEMENT, getPointerTy(), Val,
DAG.getConstant(0, MVT::i32));
RegValuesToPass.push_back(Hi);
More information about the llvm-commits
mailing list