~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/ExecutionEngine/MCJIT/2007-12-10-APIntLoadStore.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: %lli -force-interpreter %s
 
2
; PR1836
 
3
 
 
4
define i32 @main() {
 
5
entry:
 
6
    %retval = alloca i32        ; <i32*> [#uses=2]
 
7
    %tmp = alloca i32       ; <i32*> [#uses=2]
 
8
    %x = alloca i75, align 16       ; <i75*> [#uses=1]
 
9
    %"alloca point" = bitcast i32 0 to i32      ; <i32> [#uses=0]
 
10
    store i75 999, i75* %x, align 16
 
11
    store i32 0, i32* %tmp, align 4
 
12
    %tmp1 = load i32, i32* %tmp, align 4     ; <i32> [#uses=1]
 
13
    store i32 %tmp1, i32* %retval, align 4
 
14
    br label %return
 
15
 
 
16
return:     ; preds = %entry
 
17
    %retval2 = load i32, i32* %retval        ; <i32> [#uses=1]
 
18
    ret i32 %retval2
 
19
}