1 ; A test for checking PR 9623 2 ;RUN: llc -march=x86-64 -mcpu=corei7 -promote-elements < %s | FileCheck %s 3 4 target triple = "x86_64-apple-darwin" 5 6 ; CHECK: pmulld 7 ; CHECK: paddd 8 ; CHECK: movdqa 9 10 define <4 x i8> @foo(<4 x i8> %x, <4 x i8> %y) { 11 entry: 12 %binop = mul <4 x i8> %x, %y 13 %binop6 = add <4 x i8> %binop, %x 14 ret <4 x i8> %binop6 15 } 16 17 18