brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · ec00493 Raw
41 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=x86_64-linux-gnu    -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X643; RUN: llc -mtriple=x86_64-linux-gnu                 -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X644; RUN: llc -mtriple=i386-linux-gnu      -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X325; RUN: llc -mtriple=i386-linux-gnu                   -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X326; RUN: llc -mtriple=x86_64-linux-gnux32 -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X32ABI-GISEL7; RUN: llc -mtriple=x86_64-linux-gnux32              -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X32ABI-SDAG8 9define ptr @allocai32() {10; X64-LABEL: allocai32:11; X64:       # %bb.0:12; X64-NEXT:    leaq -{{[0-9]+}}(%rsp), %rax13; X64-NEXT:    retq14;15; X32-LABEL: allocai32:16; X32:       # %bb.0:17; X32-NEXT:    pushl %eax18; X32-NEXT:    .cfi_def_cfa_offset 819; X32-NEXT:    movl %esp, %eax20; X32-NEXT:    popl %ecx21; X32-NEXT:    .cfi_def_cfa_offset 422; X32-NEXT:    retl23;24; X32ABI-GISEL-LABEL: allocai32:25; X32ABI-GISEL:       # %bb.0:26; X32ABI-GISEL-NEXT:    leal -{{[0-9]+}}(%rsp), %eax27; X32ABI-GISEL-NEXT:    movl %eax, %eax28; X32ABI-GISEL-NEXT:    retq29;30; X32ABI-SDAG-LABEL: allocai32:31; X32ABI-SDAG:       # %bb.0:32; X32ABI-SDAG-NEXT:    leal -{{[0-9]+}}(%rsp), %eax33; X32ABI-SDAG-NEXT:    retq34; X32ABI-LABEL: allocai32:35; X32ABI:       # %bb.0:36; X32ABI-NEXT:    leal -{{[0-9]+}}(%rsp), %eax37; X32ABI-NEXT:    retq38  %ptr1 = alloca i3239  ret ptr %ptr140}41