[llvm-commits] [SignlessTypes] CVS: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
Reid Spencer
reid at x10sys.com
Wed Oct 18 20:59:01 PDT 2006
Changes in directory llvm/lib/Target/ARM:
ARMISelDAGToDAG.cpp updated: 1.74 -> 1.74.2.1
---
Log message:
For PR950: http://llvm.org/PR950 :
This commit (on SignlessTypes branch) provides the first Iteration for
moving LLVM away from Signed types. This patch removes the ConstantSInt
and ConstantUInt classes from Type.h and makes all necessary changes in
LLVM to compensate.
---
Diffs of the changes: (+1 -1)
ARMISelDAGToDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff -u llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.74 llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.74.2.1
--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.74 Wed Oct 18 07:03:07 2006
+++ llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp Wed Oct 18 22:57:56 2006
@@ -806,7 +806,7 @@
uint32_t val = cast<ConstantSDNode>(N)->getValue();
if(!isRotInt8Immediate(val)) {
const Type *t = MVT::getTypeForValueType(MVT::i32);
- Constant *C = ConstantUInt::get(t, val);
+ Constant *C = ConstantInt::get(t, 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