1 ; RUN: llc < %s | FileCheck %s
3 target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16-a0:16:16"
4 target triple = "msp430---elf"
6 declare i32 @direct(i32 %a)
8 define i32 @test_direct(i32 %a) nounwind {
9 ; CHECK-LABEL: test_direct:
11 %1 = call i32 @direct(i32 %a)
15 define i16 @test_indirect(i16 (i16)* %a, i16 %b) nounwind {
16 ; CHECK-LABEL: test_indirect:
20 %1 = call i16 %a(i16 %b)