Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mcpu=corei7-avx -mattr=+avx | FileCheck %s
      2 target triple = "x86_64-pc-win32"
      3 
      4 declare <8 x float> @foo(<8 x float>, i32)
      5 
      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 }
     18 
     19