~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/X86/4char-promote.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; A test for checking PR 9623
 
2
; RUN: llc -march=x86-64 -mcpu=corei7 < %s | FileCheck %s
 
3
 
 
4
target triple = "x86_64-apple-darwin"
 
5
 
 
6
; CHECK:  pmulld
 
7
; CHECK:  paddd
 
8
; CHECK-NOT:  movdqa
 
9
; CHECK:  ret
 
10
 
 
11
define <4 x i8> @foo(<4 x i8> %x, <4 x i8> %y) {
 
12
entry:
 
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