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:
07ad63b
)
Fix llc crasher compiling siod by giving BuildMI the correct number of arguments
author
Nate Begeman
<natebegeman@mac.com>
Fri, 13 Aug 2004 03:56:49 +0000
(
03:56
+0000)
committer
Nate Begeman
<natebegeman@mac.com>
Fri, 13 Aug 2004 03:56:49 +0000
(
03:56
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15719
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 c9157ef8bd4541be649b7d0ad2dfa764f1e0a973..f17515942d81a1d556417f00234defd7ec227f48 100644
(file)
--- a/
lib/Target/PowerPC/PPC32ISelSimple.cpp
+++ b/
lib/Target/PowerPC/PPC32ISelSimple.cpp
@@
-2797,7
+2797,7
@@
void ISel::emitCastOperation(MachineBasicBlock *MBB,
unsigned TempReg2 = makeAnotherReg(DestTy);
addFrameReference(BuildMI(*BB, IP, PPC::LBZ, 2, TempReg2),
ValueFrameIdx, 7);
- BuildMI(*
MBB, IP, PPC::EXTSB
, DestReg).addReg(TempReg2);
+ BuildMI(*
BB, IP, PPC::EXTSB, 1
, DestReg).addReg(TempReg2);
} else {
int offset = (DestClass == cShort) ? 6 : 4;
unsigned LoadOp = (DestClass == cShort) ? PPC::LHA : PPC::LWZ;