[TableGen] Split DAGISelMatcherOpt FactorNodes into 2 functions. NFC (#125330)
[llvm-project.git] / llvm / test / CodeGen / Thumb2 / avoidmuls.mir
blob865152068fdf7fc4fee4f9828836aa84e2b6ba6b
1 # RUN: llc -mtriple=thumbv7m-none-eabi -mcpu=cortex-m33 -run-pass=thumb2-reduce-size %s -o - | FileCheck %s --check-prefix=MUL
2 # RUN: llc -mtriple=thumbv7m-none-eabi --run-pass=thumb2-reduce-size %s -o - | FileCheck %s --check-prefix=MULS
4 ---
5 name:            test
6 body:             |
7   bb.0:
8     $r2 = tMOVr $r0, 14, _
9     $r0 = t2MOVi 1, 14, _, _
10     $r0 = t2MUL $r2, killed $r0, 14, _
11     tBX_RET 14, _, implicit $r0
13 ...
14 # MUL-LABEL: test
15 # MUL: t2MUL
16 # MUL-NOT: tMUL
18 # MULS-LABEL: test
19 # MULS: tMUL
20 # MULS-NOT: t2MUL