1 ; Check that stack alignment can be forced. Individual targets should test their
2 ; specific implementation details.
4 ; RUN: llc < %s -stackrealign -stack-alignment=32 | FileCheck %s
8 define i32 @f(i8* %p) nounwind {
11 %conv = sext i8 %0 to i32
15 define i64 @g(i32 %i) nounwind {
20 %0 = alloca i8, i32 %i
21 call void @llvm.memset.p0i8.i32(i8* %0, i8 0, i32 %i, i1 false)
22 %call = call i32 @f(i8* %0)
23 %conv = sext i32 %call to i64
27 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i1) nounwind