Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/X86/epilogue.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
; RUN: llc < %s -mcpu=generic -mtriple=i686-- | FileCheck %s ; CHECK-NOT: lea{{.*}}(%esp) ; CHECK: {{(mov.* %ebp, %esp)|(lea.*\(%ebp\), %esp)}} declare void @bar(<2 x i64>* %n) define void @foo(i64 %h) { %k = trunc i64 %h to i32 %p = alloca <2 x i64>, i32 %k call void @bar(<2 x i64>* %p) ret void }