OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab566ea
)
Fix another vestige of the 32-bit PowerPC backend.
author
Misha Brukman
<brukman+llvm@gmail.com>
Thu, 19 Aug 2004 16:50:30 +0000
(16:50 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Thu, 19 Aug 2004 16:50:30 +0000
(16:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15918
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPC64ISelSimple.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPC64ISelSimple.cpp
b/lib/Target/PowerPC/PPC64ISelSimple.cpp
index
9c4fb3c
..
18ea84c
100644
(file)
--- a/
lib/Target/PowerPC/PPC64ISelSimple.cpp
+++ b/
lib/Target/PowerPC/PPC64ISelSimple.cpp
@@
-2558,10
+2558,8
@@
void ISel::emitCastOperation(MachineBasicBlock *MBB,
else
BuildMI(*MBB, IP, PPC::EXTSH, 1, DestReg).addReg(SrcReg);
break;
- case cLong:
- ++SrcReg;
- // Fall through
case cInt:
+ case cLong:
if (DestClass == cByte)
BuildMI(*MBB, IP, PPC::EXTSB, 1, DestReg).addReg(SrcReg);
else if (DestClass == cShort)