brintos

brintos / llvm-project-archived public Read only

0
0
Text · 297 B · e1d64b8 Raw
14 lines · plain
1; RUN: llc < %s -mcpu=generic -mtriple=i686-- | FileCheck %s2 3; CHECK-NOT: lea{{.*}}(%esp)4; CHECK: {{(mov.* %ebp, %esp)|(lea.*\(%ebp\), %esp)}}5 6declare void @bar(ptr %n)7 8define void @foo(i64 %h) {9  %k = trunc i64 %h to i3210  %p = alloca <2 x i64>, i32 %k11  call void @bar(ptr %p)12  ret void13}14