brintos

brintos / llvm-project-archived public Read only

0
0
Text · 649 B · 7bfa4b9 Raw
22 lines · plain
1# RUN: llc -mtriple=thumbv7m-none-eabi -mcpu=cortex-m33 -run-pass=thumb2-reduce-size %s -o - | FileCheck %s --check-prefix=MUL2# RUN: llc -mtriple=thumbv7m-none-eabi -mcpu=star-mc1 -run-pass=thumb2-reduce-size %s -o - | FileCheck %s --check-prefix=MUL3# RUN: llc -mtriple=thumbv7m-none-eabi --run-pass=thumb2-reduce-size %s -o - | FileCheck %s --check-prefix=MULS4 5---6name:            test7body:             |8  bb.0:9    $r2 = tMOVr $r0, 14, _10    $r0 = t2MOVi 1, 14, _, _11    $r0 = t2MUL $r2, killed $r0, 14, _12    tBX_RET 14, _, implicit $r013 14...15# MUL-LABEL: test16# MUL: t2MUL17# MUL-NOT: tMUL18 19# MULS-LABEL: test20# MULS: tMUL21# MULS-NOT: t2MUL22