commit | 23e07e73a8d05902278d506eba34b321e2302bb6 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jun 08 17:33:16 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jun 08 17:33:16 2002 +0000 |
tree | f307512a8ee5b3c2f2e350d1ea626edae496fc88 | |
parent | db241dcf514ba4fb61c60d41b47e2dc601a6ac36 [diff] [blame] |
New testcases for verifier git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2763 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Verifier/AmbiguousPhi.ll b/test/Verifier/AmbiguousPhi.ll new file mode 100644 index 0000000..7da71b0 --- /dev/null +++ b/test/Verifier/AmbiguousPhi.ll
@@ -0,0 +1,8 @@ + + +int "test"(int %i, int %j, bool %c) { + br bool %c, label %A, label %A +A: + %a = phi int [%i, %0], [%j, %0] ; Error, different values from same block! + ret int %a +}