~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/Assembler/2002-08-15-ConstantExprProblem.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llvm-as %s -o /dev/null
 
2
; RUN: verify-uselistorder %s
 
3
 
 
4
@.LC0 = internal global [12 x i8] c"hello world\00"             ; <[12 x i8]*> [#uses=1]
 
5
 
 
6
define i8* @test() {
 
7
; <label>:0
 
8
        br label %BB1
 
9
 
 
10
BB1:            ; preds = %BB2, %0
 
11
        %ret = phi i8* [ getelementptr ([12 x i8], [12 x i8]* @.LC0, i64 0, i64 0), %0 ], [ null, %BB2 ]          ; <i8*> [#uses=1]
 
12
        ret i8* %ret
 
13
 
 
14
BB2:            ; No predecessors!
 
15
        br label %BB1
 
16
}
 
17