~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/X86/dyn-stackalloc.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: llc < %s -mtriple=i686-linux | FileCheck %s -check-prefix=X32
 
2
; X32-NOT:     {{$429496728|-7}}
 
3
; X32:     {{$4294967280|-16}}
 
4
; X32-NOT:     {{$429496728|-7}}
 
5
; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
 
6
; X64:     -16
 
7
 
 
8
define void @t() nounwind {
 
9
A:
 
10
        br label %entry
 
11
 
 
12
entry:
 
13
        %m1 = alloca i32, align 4
 
14
        %m2 = alloca [7 x i8], align 16
 
15
        call void @s( i32* %m1, [7 x i8]* %m2 )
 
16
        ret void
 
17
}
 
18
 
 
19
declare void @s(i32*, [7 x i8]*)