[llvm-commits] [SignlessTypes] CVS: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
Reid Spencer
reid at x10sys.com
Thu Oct 19 18:17:35 PDT 2006
Changes in directory llvm/lib/Target/ARM:
ARMISelDAGToDAG.cpp updated: 1.74.2.1 -> 1.74.2.2
---
Log message:
Get rid of useless call.
---
Diffs of the changes: (+1 -2)
ARMISelDAGToDAG.cpp | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff -u llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.74.2.1 llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.74.2.2
--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.74.2.1 Wed Oct 18 22:57:56 2006
+++ llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp Thu Oct 19 20:17:20 2006
@@ -805,8 +805,7 @@
case ISD::Constant: {
uint32_t val = cast<ConstantSDNode>(N)->getValue();
if(!isRotInt8Immediate(val)) {
- const Type *t = MVT::getTypeForValueType(MVT::i32);
- Constant *C = ConstantInt::get(t, val);
+ Constant *C = ConstantInt::get(Type::UIntTy, val);
int alignment = 2;
SDOperand Addr = CurDAG->getTargetConstantPool(C, MVT::i32, alignment);
SDOperand Z = CurDAG->getTargetConstant(0, MVT::i32);
More information about the llvm-commits
mailing list