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:
d632f49
)
Fix a crash handling 'undef bool', fixing an llc crash on 186.crafty
author
Chris Lattner
<sabre@nondot.org>
Tue, 8 Mar 2005 22:53:09 +0000
(22:53 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 8 Mar 2005 22:53:09 +0000
(22:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20523
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 79b3c1bd36d87061a3889fc1db77e647ac9a2218..38e51abf03ff62ba10728145bea1fb4726aa9b86 100644
(file)
--- a/
lib/Target/PowerPC/PPC32ISelSimple.cpp
+++ b/
lib/Target/PowerPC/PPC32ISelSimple.cpp
@@
-612,7
+612,7
@@
void PPC32ISel::copyConstantToRegister(MachineBasicBlock *MBB,
Constant *C, unsigned R) {
if (isa<UndefValue>(C)) {
BuildMI(*MBB, IP, PPC::IMPLICIT_DEF, 0, R);
- if (getClass(C->getType()) == cLong)
+ if (getClass
B
(C->getType()) == cLong)
BuildMI(*MBB, IP, PPC::IMPLICIT_DEF, 0, R+1);
return;
}