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:
a295eb3
)
Fix a bug I introduced in the ppc refactoring, which caused long
author
Chris Lattner
<sabre@nondot.org>
Tue, 16 Nov 2010 01:45:05 +0000
(
01:45
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 16 Nov 2010 01:45:05 +0000
(
01:45
+0000)
branches to be emitted as:
bne cr0, 2
instead of:
bne cr0, $+8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119317
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstrInfo.td
b/lib/Target/PowerPC/PPCInstrInfo.td
index 9abf92c94cc3a9d5d26d1ac799596db40a64a26f..8b46fe1ffbc005b56cece97b8c9df74ec343d9ca 100644
(file)
--- a/
lib/Target/PowerPC/PPCInstrInfo.td
+++ b/
lib/Target/PowerPC/PPCInstrInfo.td
@@
-291,6
+291,7
@@
def directbrtarget : Operand<OtherVT> {
let EncoderMethod = "getDirectBrEncoding";
}
def condbrtarget : Operand<OtherVT> {
+ let PrintMethod = "printBranchOperand";
let EncoderMethod = "getCondBrEncoding";
}
def calltarget : Operand<iPTR> {