summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopUnswitch
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-28 00:27:48 +0000
committerDan Gohman <gohman@apple.com>2009-09-28 00:27:48 +0000
commit4dbb301f1760be643f6ddbf19abab706b385626a (patch)
tree18a5336ef984565f8a1a066e938147e87bbd4135 /llvm/test/Transforms/LoopUnswitch
parent2963777d0cfe1936d4816c603e520b4afc176bd5 (diff)
downloadbcm5719-llvm-4dbb301f1760be643f6ddbf19abab706b385626a.tar.gz
bcm5719-llvm-4dbb301f1760be643f6ddbf19abab706b385626a.zip
Move the dominator verification code out of special code embedded within
the PassManager code into a regular verifyAnalysis method. Also, reorganize loop verification. Make the LoopPass infrastructure call verifyLoop as needed instead of having LoopInfo::verifyAnalysis check every loop in the function after each looop pass. Add a new command-line argument, -verify-loop-info, to enable the expensive full checking. llvm-svn: 82952
Diffstat (limited to 'llvm/test/Transforms/LoopUnswitch')
-rw-r--r--llvm/test/Transforms/LoopUnswitch/preserve-analyses.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopUnswitch/preserve-analyses.ll b/llvm/test/Transforms/LoopUnswitch/preserve-analyses.ll
index 8d3f1382f3c..3364fb27410 100644
--- a/llvm/test/Transforms/LoopUnswitch/preserve-analyses.ll
+++ b/llvm/test/Transforms/LoopUnswitch/preserve-analyses.ll
@@ -1,4 +1,4 @@
-; RUN: opt -loop-unswitch %s -disable-output
+; RUN: opt -loop-unswitch -verify-loop-info -verify-dom-info %s -disable-output
; Loop unswitch should be able to unswitch these loops and
; preserve LCSSA and LoopSimplify forms.
OpenPOWER on IntegriCloud