]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blob - test/CodeGen/X86/avx-win64-args.ll
[X86][AVX] Simplified diff between AVX1 and SSE42 fp stack folding tests. NFC.
[opencl/llvm.git] / test / CodeGen / X86 / avx-win64-args.ll
1 ; RUN: llc < %s -mcpu=corei7-avx -mattr=+avx | FileCheck %s
2 target triple = "x86_64-pc-win32"
4 declare <8 x float> @foo(<8 x float>, i32)
6 define <8 x float> @test1(<8 x float> %x, <8 x float> %y) nounwind uwtable readnone ssp {
7 entry:
8 ; CHECK: test1
9 ; CHECK: leaq {{.*}}, %rcx
10 ; CHECK: movl {{.*}}, %edx
11 ; CHECK: call
12 ; CHECK: ret
13   %x1 = fadd  <8 x float>  %x, %y
14   %call = call  <8 x float> @foo(<8 x float> %x1, i32 1) nounwind
15   %y1 = fsub  <8 x float>  %call, %y
16   ret <8 x float> %y1
17 }