Skip to content

Commit 4e5a3a6

Browse files
committed
PPC "branch and link" instructions are branches in the PPC sense, but not
in the LLVM code generator sense (they are calls). Don't mark them as such, which fixes the regressions on the ppc tester last night llvm-svn: 22065
1 parent 0ae9b08 commit 4e5a3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/PowerPC/PowerPCInstrInfo.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ let isBranch = 1, isTerminator = 1 in {
9090
"bne $block">;
9191
}
9292

93-
let isBranch = 1, isTerminator = 1, isCall = 1,
93+
let isCall = 1,
9494
// All calls clobber the non-callee saved registers...
9595
Defs = [R0,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,
9696
F0,F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,F13,

0 commit comments

Comments
 (0)