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:
e4d093c
)
* Correct 64-bit version: blr 1 (not 0)
author
Misha Brukman
<brukman+llvm@gmail.com>
Thu, 12 Aug 2004 03:30:03 +0000
(
03:30
+0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Thu, 12 Aug 2004 03:30:03 +0000
(
03:30
+0000)
* BuildMI() can build 0-param instructions (e.g., NOP)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15681
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
129b038
..
8f43fcb
100644
(file)
--- a/
lib/Target/PowerPC/PPC64ISelSimple.cpp
+++ b/
lib/Target/PowerPC/PPC64ISelSimple.cpp
@@
-1222,7
+1222,7
@@
void ISel::visitReturnInst(ReturnInst &I) {
visitInstruction(I);
}
}
- BuildMI(BB, PPC::BLR, 1).addImm(
0
);
+ BuildMI(BB, PPC::BLR, 1).addImm(
1
);
}
// getBlockAfter - Return the basic block which occurs lexically after the
@@
-1457,7
+1457,7
@@
void ISel::doCall(const ValueRecord &Ret, MachineInstr *CallMI,
BuildMI(BB, PPC::IMPLICIT_DEF, 0, PPC::LR);
BB->push_back(CallMI);
- BuildMI(BB, PPC::NOP,
1).addImm(
0);
+ BuildMI(BB, PPC::NOP, 0);
// These functions are automatically eliminated by the prolog/epilog pass
BuildMI(BB, PPC::ADJCALLSTACKUP, 1).addImm(NumBytes);