1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; A test for checking PR 9623
3 ; RUN: llc -mcpu=corei7 < %s | FileCheck %s
5 target triple = "x86_64-apple-darwin"
7 define <4 x i8> @foo(<4 x i8> %x, <4 x i8> %y) {
9 ; CHECK: ## %bb.0: ## %entry
10 ; CHECK-NEXT: pmulld %xmm0, %xmm1
11 ; CHECK-NEXT: paddd %xmm1, %xmm0
14 %binop = mul <4 x i8> %x, %y
15 %binop6 = add <4 x i8> %binop, %x