summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopSimplify
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-01-28 23:06:47 +0000
committerPhilip Reames <listmail@philipreames.com>2015-01-28 23:06:47 +0000
commit9198b33b48967bd9d692cd56f831acfe08e7197f (patch)
tree2be840d4118b911c2db777d2812d7d0c49bcb605 /llvm/test/Transforms/LoopSimplify
parenta8fbcf0c1f9f3cff3a3deafe4bbb70419a822185 (diff)
downloadbcm5719-llvm-9198b33b48967bd9d692cd56f831acfe08e7197f.tar.gz
bcm5719-llvm-9198b33b48967bd9d692cd56f831acfe08e7197f.zip
Teach SplitBlockPredecessors how to handle landingpad blocks.
Patch by: Igor Laevsky <igor@azulsystems.com> "Currently SplitBlockPredecessors generates incorrect code in case if basic block we are going to split has a landingpad. Also seems like it is fairly common case among it's users to conditionally call either SplitBlockPredecessors or SplitLandingPadPredecessors. Because of this I think it is reasonable to add this condition directly into SplitBlockPredecessors." Differential Revision: http://reviews.llvm.org/D7157 llvm-svn: 227390
Diffstat (limited to 'llvm/test/Transforms/LoopSimplify')
-rw-r--r--llvm/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll b/llvm/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll
index 173a5825767..39471eb0d11 100644
--- a/llvm/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll
+++ b/llvm/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll
@@ -12,7 +12,7 @@ entry:
; CHECK-NEXT: landingpad
; CHECK: br label %catch
-; CHECK: catch.split-lp:
+; CHECK: catch.preheader.split-lp:
; CHECK-NEXT: landingpad
; CHECK: br label %catch
OpenPOWER on IntegriCloud