1 ; RUN: llc < %s | FileCheck %s
2 target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8-n8:16"
3 target triple = "msp430-elf"
5 define zeroext i8 @lshr8(i8 zeroext %a, i8 zeroext %cnt) nounwind readnone {
9 %shr = lshr i8 %a, %cnt
13 define signext i8 @ashr8(i8 signext %a, i8 zeroext %cnt) nounwind readnone {
17 %shr = ashr i8 %a, %cnt
21 define zeroext i8 @shl8(i8 zeroext %a, i8 zeroext %cnt) nounwind readnone {
25 %shl = shl i8 %a, %cnt
29 define zeroext i16 @lshr16(i16 zeroext %a, i16 zeroext %cnt) nounwind readnone {
31 ; CHECK-LABEL: lshr16:
33 %shr = lshr i16 %a, %cnt
37 define signext i16 @ashr16(i16 signext %a, i16 zeroext %cnt) nounwind readnone {
39 ; CHECK-LABEL: ashr16:
41 %shr = ashr i16 %a, %cnt
45 define zeroext i16 @shl16(i16 zeroext %a, i16 zeroext %cnt) nounwind readnone {
49 %shl = shl i16 %a, %cnt