xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/x86-64-shortint.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; CHECK: movswl
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-p:64:64"
6*9880d681SAndroid Build Coastguard Workertarget triple = "x86_64-apple-darwin8"
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Workerdefine void @bar(i16 zeroext  %A) {
10*9880d681SAndroid Build Coastguard Worker        tail call void @foo( i16 signext %A   )
11*9880d681SAndroid Build Coastguard Worker        ret void
12*9880d681SAndroid Build Coastguard Worker}
13*9880d681SAndroid Build Coastguard Workerdeclare void @foo(i16 signext )
14*9880d681SAndroid Build Coastguard Worker
15