e19d552987
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
19 lines
330 B
LLVM
19 lines
330 B
LLVM
; A test for checking PR 9623
|
|
; RUN: llc -mcpu=corei7 < %s | FileCheck %s
|
|
|
|
target triple = "x86_64-apple-darwin"
|
|
|
|
; CHECK: pmulld
|
|
; CHECK: paddd
|
|
; CHECK-NOT: movdqa
|
|
; CHECK: ret
|
|
|
|
define <4 x i8> @foo(<4 x i8> %x, <4 x i8> %y) {
|
|
entry:
|
|
%binop = mul <4 x i8> %x, %y
|
|
%binop6 = add <4 x i8> %binop, %x
|
|
ret <4 x i8> %binop6
|
|
}
|
|
|
|
|