• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 -relocation-model=pic -mips16-constant-islands=false -O3 < %s | FileCheck %s -check-prefix=16
2
3@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
4
5define i32 @main() nounwind {
6entry:
7  %call = tail call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i32 1075344593) nounwind
8; 16:	lw	${{[0-9]+}}, 1f
9; 16:	b	2f
10; 16:	.align	2
11; 16: 1: 	.word	1075344593
12; 16: 2:
13
14  %call1 = tail call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i32 -1075344593) nounwind
15
16; 16:	lw	${{[0-9]+}}, 1f
17; 16:	b	2f
18; 16:	.align	2
19; 16: 1: 	.word	-1075344593
20; 16: 2:
21  ret i32 0
22}
23
24declare i32 @printf(i8* nocapture, ...) nounwind
25