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