~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/X86/avx-varargs-x86_64.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=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
 
2
; <rdar://problem/10463281>
 
3
; Check that the <8 x float> is passed on the stack.
 
4
 
 
5
@x = common global <8 x float> zeroinitializer, align 32
 
6
declare i32 @f(i32, ...)
 
7
 
 
8
; CHECK-LABEL: test1:
 
9
; CHECK: vmovaps        %ymm0, (%rsp)
 
10
define void @test1() nounwind uwtable ssp {
 
11
entry:
 
12
  %0 = load <8 x float>, <8 x float>* @x, align 32
 
13
  %call = call i32 (i32, ...) @f(i32 1, <8 x float> %0)
 
14
  ret void
 
15
}