mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
24c8b51694
1. FileCheck-ize epilogue.ll and allow another asm instruction to restore %rsp. 2. Remove check in widen_arith-3.ll that was hitting instruction in epilogue instead of vector add. llvm-svn: 160274
14 lines
306 B
LLVM
14 lines
306 B
LLVM
; RUN: llc < %s -mcpu=generic -march=x86 | 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
|
|
}
|