diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-15 17:04:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-15 17:04:40 +0000 |
commit | 657882cf6e9be3d409fbcf773fb8eaa67180c4e3 (patch) | |
tree | 2225472c8b7c052068b56427f2e56f542db7fdb3 /test/Assembler/2002-08-15-ConstantExprProblem.ll | |
parent | 96ad1ec87626d66bf00ffd18954e6ce4b1aec26a (diff) |
There seem to be issues with constant exprs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2002-08-15-ConstantExprProblem.ll')
-rw-r--r-- | test/Assembler/2002-08-15-ConstantExprProblem.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/Assembler/2002-08-15-ConstantExprProblem.ll b/test/Assembler/2002-08-15-ConstantExprProblem.ll new file mode 100644 index 0000000000..1f5a0a78e2 --- /dev/null +++ b/test/Assembler/2002-08-15-ConstantExprProblem.ll @@ -0,0 +1,15 @@ +%.LC0 = internal global [12 x sbyte] c"hello world\00" + +implementation ; Functions: + +sbyte* %test() { + br label %BB1 + +BB1: ;[#uses=2] + %ret = phi sbyte* [ getelementptr ([12 x sbyte]* %.LC0, uint 0, uint 0), %0 ], [ null, %BB2 ] + ret sbyte* %ret + +BB2: + br label %BB1 +} + |