X86: Align the stack on word boundaries in LowerFormalArguments()
[oota-llvm.git] / test / CodeGen / X86 / loop-strength-reduce8.ll
index 1846c7d4467c29d6998e297d30ef800bdd835a59..1d042769b0ba2330ccfd346811704c4261d4f44c 100644 (file)
@@ -1,4 +1,10 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep leal | not grep 16
+; RUN: llc < %s -mtriple=i386-apple-darwin | FileCheck %s
+
+; CHECK: leal 16(%eax), %edx
+; CHECK: align
+; CHECK: addl    $4, %edx
+; CHECK: decl    %ecx
+; CHECK: jne     LBB0_2
 
        %struct.CUMULATIVE_ARGS = type { i32, i32, i32, i32, i32, i32, i32 }
        %struct.bitmap_element = type { %struct.bitmap_element*, %struct.bitmap_element*, i32, [2 x i64] }