• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=i686-- -mcpu=corei7 | FileCheck %s
2
3;CHECK-LABEL: addXX_test:
4;CHECK: padd
5;CHECK: ret
6
7
8define <16 x i8> @addXX_test(<16 x i8> %a) {
9      %b = add <16 x i8> %a, %a
10      ret <16 x i8> %b
11}
12
13;CHECK-LABEL: instcombine_test:
14;CHECK: padd
15;CHECK: ret
16define <16 x i8> @instcombine_test(<16 x i8> %a) {
17  %b = shl <16 x i8> %a, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
18  ret <16 x i8> %b
19}
20
21