diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-16 01:45:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-16 01:45:05 +0000 |
commit | b8efa6b475ed2f7d3797a8719cd27ab5fd64ae42 (patch) | |
tree | cb434f80796c591a58b82293226fe175a17af92f /lib | |
parent | a295eb34a5c8bffa66ffd46b6f9b8e960930eae3 (diff) | |
download | external_llvm-b8efa6b475ed2f7d3797a8719cd27ab5fd64ae42.zip external_llvm-b8efa6b475ed2f7d3797a8719cd27ab5fd64ae42.tar.gz external_llvm-b8efa6b475ed2f7d3797a8719cd27ab5fd64ae42.tar.bz2 |
Fix a bug I introduced in the ppc refactoring, which caused long
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 9abf92c..8b46fe1 100644 --- 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> { |