1 ; RUN: llc -march=mipsel < %s | FileCheck %s 2 3 define i32 @foo0() nounwind readnone { 4 entry: 5 ; CHECK: foo0 6 ; CHECK: lui $[[R0:[0-9]+]], 4660 7 ; CHECK: ori ${{[0-9]+}}, $[[R0]], 22136 8 ret i32 305419896 9 } 10 11 define i32 @foo1() nounwind readnone { 12 entry: 13 ; CHECK: foo1 14 ; CHECK: lui ${{[0-9]+}}, 4660 15 ; CHECK-NOT: ori 16 ret i32 305397760 17 } 18 19 define i32 @foo2() nounwind readnone { 20 entry: 21 ; CHECK: foo2 22 ; CHECK: addiu ${{[0-9]+}}, $zero, 4660 23 ret i32 4660 24 } 25 26 define i32 @foo17() nounwind readnone { 27 entry: 28 ; CHECK: foo17 29 ; CHECK: addiu ${{[0-9]+}}, $zero, -32204 30 ret i32 -32204 31 } 32 33 define i32 @foo18() nounwind readnone { 34 entry: 35 ; CHECK: foo18 36 ; CHECK: ori ${{[0-9]+}}, $zero, 33332 37 ret i32 33332 38 } 39