brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 1de3431 Raw
32 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --no_x86_scrub_sp2; RUN: llc < %s | FileCheck %s3 4target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"5target triple = "x86_64-unknown-linux-gnu"6 7define i32 @foo() local_unnamed_addr #0 {8; CHECK-LABEL: foo:9; CHECK:       # %bb.0:10; CHECK-NEXT:    subq $4096, %rsp # imm = 0x100011; CHECK-NEXT:    .cfi_adjust_cfa_offset 409612; CHECK-NEXT:    movq $0, (%rsp)13; CHECK-NEXT:    subq $1784, %rsp # imm = 0x6F814; CHECK-NEXT:    .cfi_def_cfa_offset 588815; CHECK-NEXT:    movl $1, 3872(%rsp)16; CHECK-NEXT:    movl $2, 672(%rsp)17; CHECK-NEXT:    movl 1872(%rsp), %eax18; CHECK-NEXT:    addq $5880, %rsp # imm = 0x16F819; CHECK-NEXT:    .cfi_def_cfa_offset 820; CHECK-NEXT:    retq21  %a = alloca i32, i64 1000, align 1622  %b = alloca i32, i64 500, align 1623  %a0 = getelementptr inbounds i32, ptr %a, i64 50024  %b0 = getelementptr inbounds i32, ptr %b, i64 20025  store volatile i32 1, ptr %a026  store volatile i32 2, ptr %b027  %c = load volatile i32, ptr %a28  ret i32 %c29}30 31attributes #0 =  {"probe-stack"="inline-asm"}32