1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
3
4define <4 x float> @foo(<4 x float>* %p, <4 x float> %x) nounwind {
5; CHECK-LABEL: foo:
6; CHECK:       # %bb.0:
7; CHECK-NEXT:    mulps (%rdi), %xmm0
8; CHECK-NEXT:    retq
9  %t = load <4 x float>, <4 x float>* %p
10  %z = fmul <4 x float> %t, %x
11  ret <4 x float> %z
12}
13
14define <2 x double> @bar(<2 x double>* %p, <2 x double> %x) nounwind {
15; CHECK-LABEL: bar:
16; CHECK:       # %bb.0:
17; CHECK-NEXT:    mulpd (%rdi), %xmm0
18; CHECK-NEXT:    retq
19  %t = load <2 x double>, <2 x double>* %p
20  %z = fmul <2 x double> %t, %x
21  ret <2 x double> %z
22}
23