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

This test was failing on X86 machines which do not have SSE4. Fixed the test by

specifying that the target CPU is corei7.

llvm-svn: 133053
parent d2d9bdb2
No related merge requests found
; A test for checking PR 9623
;RUN: llc -march=x86-64 -mcpu=corei7 -promote-elements < %s | FileCheck %s
target triple = "x86_64-apple-darwin"
; 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