1 ; RUN: llc < %s -march=mips -mcpu=mips32r2 | FileCheck %s 2 ; RUN: llc < %s -march=mips64 -mcpu=mips64r2 | FileCheck %s 3 4 define signext i8 @A(i8 %e.0, i8 signext %sum) nounwind { 5 entry: 6 ; CHECK: seb 7 add i8 %sum, %e.0 ; <i8>:0 [#uses=1] 8 ret i8 %0 9 } 10 11 define signext i16 @B(i16 %e.0, i16 signext %sum) nounwind { 12 entry: 13 ; CHECK: seh 14 add i16 %sum, %e.0 ; <i16>:0 [#uses=1] 15 ret i16 %0 16 } 17 18