diff test/Transforms/ADCE/2003-04-25-PHIPostDominateProblem.ll @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 95c75e76d11b
children
line wrap: on
line diff
--- a/test/Transforms/ADCE/2003-04-25-PHIPostDominateProblem.ll	Fri Nov 25 19:14:25 2016 +0900
+++ b/test/Transforms/ADCE/2003-04-25-PHIPostDominateProblem.ll	Fri Oct 27 17:07:41 2017 +0900
@@ -2,7 +2,8 @@
 ; entries for it's postdominator.  But I think this can only happen when the 
 ; PHI node is dead, so we just avoid patching up dead PHI nodes.
 
-; RUN: opt < %s -adce
+; RUN: opt < %s -adce                    -S | FileCheck %s
+; RUN: opt < %s -adce -adce-remove-loops -S | FileCheck %s
 
 target datalayout = "e-p:32:32"
 
@@ -15,6 +16,7 @@
         br i1 false, label %no_exit, label %return
 
 no_exit:                ; preds = %loopentry
+; CHECK: br label %then
         br i1 false, label %then, label %else
 
 then:           ; preds = %no_exit