Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / X86 / 2011-10-30-padd.ll
1 ; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s
2
3 ;CHECK-LABEL: addXX_test:
4 ;CHECK: padd
5 ;CHECK: ret
6
7
8 define <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
16 define <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