mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Generalize test case to handle multiple indvars modes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139578 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c8015aa6c
commit
603fff3968
@ -1,8 +1,11 @@
|
||||
; The loop canonicalization pass should guarantee that there is one backedge
|
||||
; for all loops. This allows the -indvars pass to recognize the %IV
|
||||
; The loop canonicalization pass should guarantee that there is one backedge
|
||||
; for all loops. This allows the -indvars pass to recognize the %IV
|
||||
; induction variable in this testcase.
|
||||
|
||||
; RUN: opt < %s -indvars -S | grep indvar
|
||||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
; CHECK: Loop.backedge:
|
||||
; CHECK-NOT: br
|
||||
; CHECK: br label %Loop
|
||||
|
||||
define i32 @test(i1 %C) {
|
||||
; <label>:0
|
||||
|
Loading…
Reference in New Issue
Block a user