From: Chris Lattner Date: Fri, 13 Aug 2004 03:08:54 +0000 (+0000) Subject: New testcase, which causes the block extractor to barf X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=07ca8e7e286289c14001cbb8ba483097df70e758;p=oota-llvm.git New testcase, which causes the block extractor to barf git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15715 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll b/test/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll new file mode 100644 index 00000000000..cf8e5849e5f --- /dev/null +++ b/test/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll @@ -0,0 +1,12 @@ +; RUN: llvm-as < %s | opt -extract-blocks -disable-output + +implementation + +void %l102_yyparse() { +no_exit.0.i: + br bool false, label %yylex.entry, label %yylex.entry + +yylex.entry: + %tmp.1027 = phi int [ 0, %no_exit.0.i ], [ 0, %no_exit.0.i ] + ret void +}