diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/loop-strength-reduce7.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/loop-strength-reduce7.ll | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/loop-strength-reduce7.ll b/llvm/test/CodeGen/X86/loop-strength-reduce7.ll index 7a467d3118f..47b114b4d38 100644 --- a/llvm/test/CodeGen/X86/loop-strength-reduce7.ll +++ b/llvm/test/CodeGen/X86/loop-strength-reduce7.ll @@ -1,4 +1,5 @@ -; RUN: llc < %s | not grep imul +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc < %s | FileCheck %s target triple = "i386-apple-darwin9.6" %struct.III_psy_xmin = type { [22 x double], [13 x [3 x double]] } @@ -7,6 +8,30 @@ target triple = "i386-apple-darwin9.6" %struct.lame_global_flags = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8*, i8*, i32, i32, float, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, i32, i32, i32, float, float, float, float, i32, i32, i32, i32, i32, i32, i32, i32 } define fastcc void @outer_loop(%struct.lame_global_flags* nocapture %gfp, double* nocapture %xr, i32 %targ_bits, double* nocapture %best_noise, %struct.III_psy_xmin* nocapture %l3_xmin, i32* nocapture %l3_enc, %struct.III_scalefac_t* nocapture %scalefac, %struct.gr_info* nocapture %cod_info, i32 %ch) nounwind { +; CHECK-LABEL: outer_loop: +; CHECK: ## %bb.0: ## %entry +; CHECK-NEXT: pushl %esi +; CHECK-NEXT: movl $88, %eax +; CHECK-NEXT: movl $168, %ecx +; CHECK-NEXT: .p2align 4, 0x90 +; CHECK-NEXT: LBB0_2: ## %bb28.i37 +; CHECK-NEXT: ## =>This Loop Header: Depth=1 +; CHECK-NEXT: ## Child Loop BB0_3 Depth 2 +; CHECK-NEXT: xorl %edx, %edx +; CHECK-NEXT: movl %eax, %esi +; CHECK-NEXT: .p2align 4, 0x90 +; CHECK-NEXT: LBB0_3: ## %bb29.i38 +; CHECK-NEXT: ## Parent Loop BB0_2 Depth=1 +; CHECK-NEXT: ## => This Inner Loop Header: Depth=2 +; CHECK-NEXT: incl %edx +; CHECK-NEXT: addl $12, %esi +; CHECK-NEXT: cmpl $11, %edx +; CHECK-NEXT: jbe LBB0_3 +; CHECK-NEXT: ## %bb.1: ## %bb28.i37.loopexit +; CHECK-NEXT: ## in Loop: Header=BB0_2 Depth=1 +; CHECK-NEXT: addl $4, %eax +; CHECK-NEXT: addl $168, %ecx +; CHECK-NEXT: jmp LBB0_2 entry: br label %bb4 |