diff --git a/llvm/test/Other/2003-02-19-LoopInfoNestingBug.ll b/llvm/test/Analysis/LoopInfo/2003-02-19-LoopInfoNestingBug.ll similarity index 76% rename from llvm/test/Other/2003-02-19-LoopInfoNestingBug.ll rename to llvm/test/Analysis/LoopInfo/2003-02-19-LoopInfoNestingBug.ll index b807c4440008c5..caa27b3c58ffdc 100644 --- a/llvm/test/Other/2003-02-19-LoopInfoNestingBug.ll +++ b/llvm/test/Analysis/LoopInfo/2003-02-19-LoopInfoNestingBug.ll @@ -2,9 +2,10 @@ ; figure out that loop "Inner" should be nested inside of leep "LoopHeader", ; and instead nests it just inside loop "Top" ; -; RUN: opt < %s -analyze -loops | \ -; RUN: grep " Loop at depth 3 containing: %Inner
" -; +; RUN: opt < %s -analyze -loops -enable-new-pm=0 | FileCheck %s +; RUN: opt < %s -passes='print' -disable-output 2>&1 | FileCheck %s + +; CHECK: Loop at depth 3 containing: %Inner
define void @test() { br label %Top