Skip to content
Snippets Groups Projects
Commit 0e230bc7 authored by Nadav Rotem's avatar Nadav Rotem
Browse files

Add a testcase for #9623

llvm-svn: 132991
parent 648788e7
No related branches found
No related tags found
No related merge requests found
; A test for checking PR 9623
;RUN: llc -march=x86-64 -promote-elements < %s | FileCheck %s
; CHECK: pmulld
; CHECK: paddd
; CHECK: movdqa
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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment