From 315bad0bc651e06a4a87288254adb8e0be63e6c9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 Dec 2002 20:52:08 +0000 Subject: [PATCH] Add new testcase for repeated preds git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5056 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ExecutionEngine/test-phi.ll | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test/ExecutionEngine/test-phi.ll b/test/ExecutionEngine/test-phi.ll index 14b1b60ce31..9e214382e03 100644 --- a/test/ExecutionEngine/test-phi.ll +++ b/test/ExecutionEngine/test-phi.ll @@ -11,11 +11,18 @@ Dead: br label %T } +int %test(bool %C) { + br bool %C, label %T, label %T +T: + %X = phi int [123, %0], [123, %0] + ret int %X +} + int %main() { br label %Test Test: - %X = phi int [7, %0], [%Y, %Dead] - ret int 0 + %X = phi int [0, %0], [%Y, %Dead] + ret int %X Dead: %Y = shr int 12, ubyte 4 br label %Test -- 2.34.1