; Exit blocks need to be updated for all nested loops...
-; RUN: llvm-as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -loopsimplify
implementation ; Functions:
; This testcase exposed a problem with the loop identification pass (LoopInfo).
; Basically, it was incorrectly calculating the loop nesting information.
;
-; RUN: llvm-as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -loopsimplify
implementation ; Functions:
; inserted for the "fail" loop, but the exit block of a loop is not updated
; to be the preheader instead of the exit loop itself.
-; RUN: llvm-as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -loopsimplify
int %re_match_2() {
br label %loopentry.1
-; RUN: llvm-as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -loopsimplify
implementation
-; RUN: llvm-as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -loopsimplify
void %foo(bool %C) {
br bool %C, label %T, label %F
; This testcase exposed a problem with the loop identification pass (LoopInfo).
; Basically, it was incorrectly calculating the loop nesting information.
;
-; RUN: llvm-as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -loopsimplify
implementation ; Functions:
; inserted for the "fail" loop, but the exit block of a loop is not updated
; to be the preheader instead of the exit loop itself.
-; RUN: llvm-as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -loopsimplify
int %re_match_2() {
br label %loopentry.1
-; RUN: llvm-as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -loopsimplify
implementation
-; RUN: llvm-as < %s | opt -preheaders
+; RUN: llvm-as < %s | opt -loopsimplify
void %foo(bool %C) {
br bool %C, label %T, label %F