~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to test/Transforms/GVN/2007-07-26-NonRedundant.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: opt < %s -gvn | llvm-dis
 
2
 
 
3
@bsLive = external global i32           ; <i32*> [#uses=2]
 
4
 
 
5
define i32 @bsR(i32 %n) {
 
6
entry:
 
7
        br i1 false, label %cond_next, label %bb19
 
8
 
 
9
cond_next:              ; preds = %entry
 
10
        store i32 0, i32* @bsLive, align 4
 
11
        br label %bb19
 
12
 
 
13
bb19:           ; preds = %cond_next, %entry
 
14
        %tmp29 = load i32* @bsLive, align 4             ; <i32> [#uses=0]
 
15
        ret i32 0
 
16
}