projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f429a3e
)
Fix a crash on 173.applu by asking for a constant bigger than 32-bits.
author
Chris Lattner
<sabre@nondot.org>
Sat, 9 Apr 2005 19:47:21 +0000
(19:47 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 9 Apr 2005 19:47:21 +0000
(19:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21185
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPC32ISelSimple.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPC32ISelSimple.cpp
b/lib/Target/PowerPC/PPC32ISelSimple.cpp
index e137839a2698573b4185887143e6c628b7909d49..3d84865b8260194a98cd08cb6230538638f11dc0 100644
(file)
--- a/
lib/Target/PowerPC/PPC32ISelSimple.cpp
+++ b/
lib/Target/PowerPC/PPC32ISelSimple.cpp
@@
-3742,7
+3742,7
@@
void PPC32ISel::emitGEPOperation(MachineBasicBlock *MBB,
User::op_iterator IdxEnd = GEPI->op_end();
const TargetData &TD = TM.getTargetData();
const Type *Ty = Src->getType();
- int
64
_t constValue = 0;
+ int
32
_t constValue = 0;
// Record the operations to emit the GEP in a vector so that we can emit them
// after having analyzed the entire instruction.