diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-15 20:11:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-15 20:11:44 +0000 |
commit | fc87928ebb4d50850e9b2b36f0c24c4fb17877ba (patch) | |
tree | 4ed30342625f25d63c2577881d673ba1794bc2d5 | |
parent | 022ed327bd455348dbe0fbe0915219cb8b4cb6e1 (diff) |
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
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 88188c53d8..0ed15c0d0a 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, |