1 ; RUN: llc -march=mips -mcpu=mips32r2 < %s | FileCheck %s
3 define i32 @ext0_5_9(i32 %s, i32 %pos, i32 %sz) nounwind readnone {
5 ; CHECK: ext ${{[0-9]+}}, $4, 5, 9
7 %and = and i32 %shr, 511
11 define void @ins2_5_9(i32 %s, i32* nocapture %d) nounwind {
13 ; CHECK: ins ${{[0-9]+}}, $4, 5, 9
15 %shl = and i32 %and, 16352
16 %tmp3 = load i32* %d, align 4
17 %and5 = and i32 %tmp3, -16353
18 %or = or i32 %and5, %shl
19 store i32 %or, i32* %d, align 4