[x32] Fix FrameIndex check in SelectLEA64_32Addr
[oota-llvm.git] / test / CodeGen / X86 / avoid-loop-align.ll
index 3e68f9486cfa49f6e8904e31684d3c8d1ab38c55..7957db72fe6d55e3d1d16e2533c812cd99032dac 100644 (file)
@@ -1,4 +1,11 @@
-; RUN: llc < %s -mtriple=i386-apple-darwin | grep align | count 1
+; RUN: llc < %s -mtriple=i386-apple-darwin | FileCheck %s
+
+; CodeGen should align the top of the loop, which differs from the loop
+; header in this case.
+
+; CHECK: jmp LBB0_2
+; CHECK: .align
+; CHECK: LBB0_1:
 
 @A = common global [100 x i32] zeroinitializer, align 32               ; <[100 x i32]*> [#uses=1]