[all-commits] [llvm/llvm-project] 6c78db: [ARM] Fix Machine Outliner LDRD/STRD handling in T...

yroux via All-commits all-commits at lists.llvm.org
Wed Jun 9 06:37:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c78dbd4ca1f2c25cdc276d646c7920afe856ca3
      https://github.com/llvm/llvm-project/commit/6c78dbd4ca1f2c25cdc276d646c7920afe856ca3
  Author: Yvan Roux <yvan.roux at linaro.org>
  Date:   2021-06-09 (Wed, 09 Jun 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/test/CodeGen/ARM/machine-outliner-stack-fixup-thumb.mir

  Log Message:
  -----------
  [ARM] Fix Machine Outliner LDRD/STRD handling in Thumb mode.

This is a fix for PR50481

Immediate values for AddrModeT2_i8s4 are already scaled in MCinst operand.
This patch changes the number of bits and scale factor to reflect that
state when checking stack offset status. AddrModeT2_i7s[2|4] also have
this particularity but since MVE instructions are not outlined, just move
these cases to the unhandled ones.

Differential Revision: https://reviews.llvm.org/D103167




More information about the All-commits mailing list