1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=x86_64-apple-darwin -mcpu=corei7 < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=x86_64-linux-gnu -mcpu=corei7 < %s | FileCheck %s 3*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=x86_64-windows-gnu -mcpu=corei7 < %s | FileCheck %s 4*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=x86_64-windows-msvc -mcpu=corei7 < %s | FileCheck %s 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdefine webkit_jscc i32 @simple_jscall(i32 %a, i32 %b, i32 %c) { 7*9880d681SAndroid Build Coastguard Worker %ab = add i32 %a, %b 8*9880d681SAndroid Build Coastguard Worker %abc = add i32 %ab, %c 9*9880d681SAndroid Build Coastguard Worker ret i32 %abc 10*9880d681SAndroid Build Coastguard Worker} 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker; 32-bit integers are only aligned to 4 bytes, even on x64. They are *not* 13*9880d681SAndroid Build Coastguard Worker; promoted to i64. 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Worker; CHECK: simple_jscall: 16*9880d681SAndroid Build Coastguard Worker; CHECK: addl 8(%rsp), %eax 17*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: addl 12(%rsp), %eax 18*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: retq 19