16 lines · plain
1; RUN: llc < %s -mcpu=skx -mtriple x86_64-unknown-linux-gnu -verify-machineinstrs | FileCheck %s2; RUN: llc < %s -mcpu=skx -mtriple=x86_64-linux-gnux32 -verify-machineinstrs | FileCheck %s --check-prefix=X323 4define i32 @A() {5; CHECK: movq %rsp, %rdi6; CHECK-NEXT: call7 8; X32: movl %esp, %edi9; X32-NEXT: call10 %alloc = alloca i32, align 811 %call = call i32 @foo(ptr %alloc)12 ret i32 %call13}14 15declare i32 @foo(ptr)16