23 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s3 4define <4 x float> @foo(ptr %p, <4 x float> %x) nounwind {5; CHECK-LABEL: foo:6; CHECK: # %bb.0:7; CHECK-NEXT: mulps (%rdi), %xmm08; CHECK-NEXT: retq9 %t = load <4 x float>, ptr %p10 %z = fmul <4 x float> %t, %x11 ret <4 x float> %z12}13 14define <2 x double> @bar(ptr %p, <2 x double> %x) nounwind {15; CHECK-LABEL: bar:16; CHECK: # %bb.0:17; CHECK-NEXT: mulpd (%rdi), %xmm018; CHECK-NEXT: retq19 %t = load <2 x double>, ptr %p20 %z = fmul <2 x double> %t, %x21 ret <2 x double> %z22}23