[llvm-commits] [llvm] r157471 - /llvm/trunk/test/CodeGen/X86/bigstructret.ll

NAKAMURA Takumi geek4civic at gmail.com
Fri May 25 08:12:21 PDT 2012


Author: chapuni
Date: Fri May 25 10:12:21 2012
New Revision: 157471

URL: http://llvm.org/viewvc/llvm-project?rev=157471&view=rev
Log:
test/CodeGen/X86/bigstructret.ll: Relax stack offsets for hosts of stack-align=8, eg. win32 and netbsd.

Modified:
    llvm/trunk/test/CodeGen/X86/bigstructret.ll

Modified: llvm/trunk/test/CodeGen/X86/bigstructret.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/bigstructret.ll?rev=157471&r1=157470&r2=157471&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/bigstructret.ll (original)
+++ llvm/trunk/test/CodeGen/X86/bigstructret.ll Fri May 25 10:12:21 2012
@@ -34,10 +34,10 @@
 }
 
 ; CHECK: CallBigStruct2
-; CHECK: leal	16(%esp), {{.*}}
+; CHECK: leal	{{16|8}}(%esp), {{.*}}
 ; CHECK: call{{.*}}ReturnBigStruct2
 ; CHECK: subl	$4, %esp
-; CHECK: movl	20(%esp), %eax
+; CHECK: movl	{{20|12}}(%esp), %eax
 define fastcc i32 @CallBigStruct2() nounwind readnone {
 entry:
   %0 = call %1 @ReturnBigStruct2()





More information about the llvm-commits mailing list