summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2017-06-25 17:58:25 +0000
committerDaniel Jasper <djasper@google.com>2017-06-25 17:58:25 +0000
commit4c6cd4ccb77cc994765dc9677278e48abf08ed69 (patch)
tree68eb8f6f65f6ff089b74b62e78976173f4746615 /llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
parent18e6b57cdf6e5373d09b3ee198834f4e655f1b1c (diff)
downloadbcm5719-llvm-4c6cd4ccb77cc994765dc9677278e48abf08ed69.tar.gz
bcm5719-llvm-4c6cd4ccb77cc994765dc9677278e48abf08ed69.zip
Revert "[LoopSimplify] Factor the logic to form dedicated exits into a utility."
This leads to a segfault. Chandler already has a test case and should be able to recommit with a fix soon. llvm-svn: 306252
Diffstat (limited to 'llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll')
-rw-r--r--llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll b/llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
index d115787b6ea..a35596aff11 100644
--- a/llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
+++ b/llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
@@ -2,6 +2,7 @@
; RUN: opt -loop-unswitch -disable-output -stats -info-output-file - < %s | FileCheck --check-prefix=STATS %s
; RUN: opt -S -loop-unswitch -verify-loop-info -verify-dom-info < %s | FileCheck %s
+; STATS: 1 loop-simplify - Number of pre-header or exit blocks inserted
; STATS: 2 loop-unswitch - Number of switches unswitched
; CHECK: %1 = icmp eq i32 %c, 1
OpenPOWER on IntegriCloud