brintos

brintos / llvm-project-archived public Read only

0
0
Text · 494 B · 85b2634 Raw
19 lines · plain
1; RUN: llc < %s -mcpu=corei7-avx -mattr=+avx | FileCheck %s2target triple = "x86_64-pc-win32"3 4declare <8 x float> @foo(<8 x float>, i32)5 6define <8 x float> @test1(<8 x float> %x, <8 x float> %y) nounwind uwtable readnone ssp {7entry:8; CHECK: test19; CHECK: leaq {{.*}}, %rcx10; CHECK: movl {{.*}}, %edx11; CHECK: call12; CHECK: ret13  %x1 = fadd  <8 x float>  %x, %y14  %call = call  <8 x float> @foo(<8 x float> %x1, i32 1) nounwind15  %y1 = fsub  <8 x float>  %call, %y16  ret <8 x float> %y117}18 19