summaryrefslogtreecommitdiff
path: root/test/CodeGen/MSP430/jumptable.ll
diff options
context:
space:
mode:
authorVadzim Dambrouski <pftbest@gmail.com>2017-05-11 19:56:14 +0000
committerVadzim Dambrouski <pftbest@gmail.com>2017-05-11 19:56:14 +0000
commit29165da1cd5a932c256812656cf797e2c1a32367 (patch)
tree0d2973a0f72a667d1349807c0f1a0136d6cb326e /test/CodeGen/MSP430/jumptable.ll
parentded71be5b118e69172da50a3c825f5593a29507b (diff)
[MSP430] Generate EABI-compliant libcalls
Updates the MSP430 target to generate EABI-compatible libcall names. As a byproduct, adjusts the hardware multiplier options available in the MSP430 target, adds support for promotion of the ISD::MUL operation for 8-bit integers, and correctly marks R11 as used by call instructions. Patch by Andrew Wygle. Differential Revision: https://reviews.llvm.org/D32676 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/MSP430/jumptable.ll')
-rw-r--r--test/CodeGen/MSP430/jumptable.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/MSP430/jumptable.ll b/test/CodeGen/MSP430/jumptable.ll
index 5ccdbb701db..b4366251698 100644
--- a/test/CodeGen/MSP430/jumptable.ll
+++ b/test/CodeGen/MSP430/jumptable.ll
@@ -12,7 +12,7 @@ entry:
store i16 %i, i16* %i.addr, align 2
%0 = load i16, i16* %i.addr, align 2
; CHECK: mov.w #2, r13
-; CHECK: call #__mulhi3hw_noint
+; CHECK: call #__mspabi_mpyi
; CHECK: br .LJTI0_0(r12)
switch i16 %0, label %sw.default [
i16 0, label %sw.bb