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

llvm-svn: 119317
This commit is contained in:
Chris Lattner 2010-11-16 01:45:05 +00:00
parent 2489379756
commit cfedba706c
1 changed files with 1 additions and 0 deletions

View File

@ -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> {