[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / expand-subs-pseudo.mir
blobc4a97649801db0a19a416957bd1f3aabafe0d49a
1 # RUN: llc -run-pass=aarch64-expand-pseudo -mtriple=aarch64-unknown-linux-gnu -o - %s | FileCheck %s
3 ---
4 # CHECK-LABEL:  name: test
5 # CHECK-LABEL:  bb.0:
6 # CHECK:          $w5 = SUBSWrs renamable $w3, renamable $w2, 0, implicit-def dead $nzcv, debug-instr-number 1
7 # CHECK-NEXT:     $w6 = SUBSWrs renamable $w5, renamable $w3, 0, implicit-def $nzcv, debug-instr-number 2
8 # CHECK-NEXT:     RET undef $lr
10 name:            test
11 alignment:       4
12 tracksRegLiveness: true
13 body:             |
14   bb.0:
15     liveins: $w5, $w6, $x2, $x3
17     renamable $w5 = nsw SUBSWrr renamable $w3, renamable $w2, implicit-def dead $nzcv, debug-instr-number 1
18     renamable $w6 = nsw SUBSWrr renamable $w5, renamable $w3, implicit-def $nzcv, debug-instr-number 2
19     RET_ReallyLR
21 ...