1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -O0 -mtriple=mipsel-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=MIPS32
8 tracksRegLiveness: true
13 ; MIPS32-LABEL: name: ctlz_i32
14 ; MIPS32: liveins: $a0
15 ; MIPS32: [[COPY:%[0-9]+]]:gpr32 = COPY $a0
16 ; MIPS32: [[CLZ:%[0-9]+]]:gpr32 = CLZ [[COPY]]
17 ; MIPS32: $v0 = COPY [[CLZ]]
18 ; MIPS32: RetRA implicit $v0
19 %0:gprb(s32) = COPY $a0
20 %1:gprb(s32) = G_CTLZ %0(s32)