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