blob: 8ffd312477022999dbc33ec3101231730cce1e72 [file] [log] [blame]
NAKAMURA Takumiddbfbcf2011-03-16 13:52:38 +00001; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
2; CHECK-NOT: mov
Dan Gohman4106f372007-07-18 20:23:34 +00003
Evan Cheng687bcb22008-05-07 22:59:08 +00004define <4 x float> @foo(<4 x float>* %p, <4 x float> %x) nounwind {
Dan Gohman4106f372007-07-18 20:23:34 +00005 %t = load <4 x float>* %p
Dan Gohmanae3a0be2009-06-04 22:49:04 +00006 %z = fmul <4 x float> %t, %x
Dan Gohman4106f372007-07-18 20:23:34 +00007 ret <4 x float> %z
8}
Evan Cheng687bcb22008-05-07 22:59:08 +00009define <2 x double> @bar(<2 x double>* %p, <2 x double> %x) nounwind {
Dan Gohman4106f372007-07-18 20:23:34 +000010 %t = load <2 x double>* %p
Dan Gohmanae3a0be2009-06-04 22:49:04 +000011 %z = fmul <2 x double> %t, %x
Dan Gohman4106f372007-07-18 20:23:34 +000012 ret <2 x double> %z
13}