From: Chris Lattner Date: Mon, 19 Dec 2005 01:22:53 +0000 (+0000) Subject: Fix syntax for indirect calls. This fixes Olden/mst X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=96d5bb79d49b4ec67aa9a44af2d7f41bcfbab1d3;p=oota-llvm.git Fix syntax for indirect calls. This fixes Olden/mst git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24850 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index 88cbac2a758..ba878892c5e 100644 --- a/lib/Target/Sparc/SparcInstrInfo.td +++ b/lib/Target/Sparc/SparcInstrInfo.td @@ -570,11 +570,11 @@ let Uses = [O0, O1, O2, O3, O4, O5], hasDelaySlot = 1, isCall = 1, // indirect calls def JMPLrr : F3_1<2, 0b111000, (ops MEMrr:$ptr), - "jmpl $ptr", + "call $ptr", [(set ICC/*bogus*/, (call ADDRrr:$ptr, ICC/*bogus*/))]>; def JMPLri : F3_2<2, 0b111000, (ops MEMri:$ptr), - "jmpl $ptr", + "call $ptr", [(set ICC/*bogus*/, (call ADDRri:$ptr, ICC/*bogus*/))]>; } diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td index 88cbac2a758..ba878892c5e 100644 --- a/lib/Target/SparcV8/SparcV8InstrInfo.td +++ b/lib/Target/SparcV8/SparcV8InstrInfo.td @@ -570,11 +570,11 @@ let Uses = [O0, O1, O2, O3, O4, O5], hasDelaySlot = 1, isCall = 1, // indirect calls def JMPLrr : F3_1<2, 0b111000, (ops MEMrr:$ptr), - "jmpl $ptr", + "call $ptr", [(set ICC/*bogus*/, (call ADDRrr:$ptr, ICC/*bogus*/))]>; def JMPLri : F3_2<2, 0b111000, (ops MEMri:$ptr), - "jmpl $ptr", + "call $ptr", [(set ICC/*bogus*/, (call ADDRri:$ptr, ICC/*bogus*/))]>; }