From fc87928ebb4d50850e9b2b36f0c24c4fb17877ba Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 May 2005 20:11:44 +0000 Subject: [PATCH] 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22065 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCInstrInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 88188c53d8b..0ed15c0d0a6 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -90,7 +90,7 @@ let isBranch = 1, isTerminator = 1 in { "bne $block">; } -let isBranch = 1, isTerminator = 1, isCall = 1, +let isCall = 1, // All calls clobber the non-callee saved registers... Defs = [R0,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12, F0,F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,F13, -- 2.34.1