X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2Fforce-align-stack-alloca.ll;h=a9ba20f45e845ad0e6149e5c7a68e7bde0a6b7c4;hb=7e31fe7e20d75a0629092edab0844c45ed79eb82;hp=2ada194f891ffda09cde9b86dbc40a3497e136f7;hpb=d97f3a5ab084485fe4931b6e7d8fa40ae4caa3c1;p=oota-llvm.git diff --git a/test/CodeGen/X86/force-align-stack-alloca.ll b/test/CodeGen/X86/force-align-stack-alloca.ll index 2ada194f891..a9ba20f45e8 100644 --- a/test/CodeGen/X86/force-align-stack-alloca.ll +++ b/test/CodeGen/X86/force-align-stack-alloca.ll @@ -10,13 +10,13 @@ target triple = "i386-unknown-linux-gnu" define i32 @f(i8* %p) nounwind { entry: - %0 = load i8* %p + %0 = load i8, i8* %p %conv = sext i8 %0 to i32 ret i32 %conv } define i64 @g(i32 %i) nounwind { -; CHECK: g: +; CHECK-LABEL: g: ; CHECK: pushl %ebp ; CHECK-NEXT: movl %esp, %ebp ; CHECK-NEXT: pushl @@ -33,14 +33,14 @@ define i64 @g(i32 %i) nounwind { ; CHECK-NOT: {{[^ ,]*}}, %esp ; ; Next we set up the memset call, and then undo it. -; CHECK: subl $32, %esp +; CHECK: subl $20, %esp ; CHECK-NOT: {{[^ ,]*}}, %esp ; CHECK: calll memset ; CHECK-NEXT: addl $32, %esp ; CHECK-NOT: {{[^ ,]*}}, %esp ; ; Next we set up the call to 'f'. -; CHECK: subl $32, %esp +; CHECK: subl $28, %esp ; CHECK-NOT: {{[^ ,]*}}, %esp ; CHECK: calll f ; CHECK-NEXT: addl $32, %esp