; 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 | FileCheck %s ; CHECK: Loop.backedge: ; CHECK-NOT: br ; CHECK: br label %Loop, !dbg [[BACKEDGE_LOC:![0-9]+]] ; CHECK: [[BACKEDGE_LOC]] = !DILocation(line: 101, column: 1, scope: !{{.*}}) define i32 @test(i1 %C) { ;