brintos

brintos / llvm-project-archived public Read only

0
0
Text · 324 B · e01cebe Raw
14 lines · plain
1; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -fast-isel -fast-isel-abort=1 | FileCheck %s2 3; Test that alloca addresses are materialized with the right size instruction.4 5declare void @bar(ptr %arg)6 7; CHECK-LABEL: @foo8define void @foo() {9  %a = alloca i3210; CHECK: leal {{.*}}, %edi11  call void @bar(ptr %a)12  ret void13}14