[all-commits] [llvm/llvm-project] 84f888: [ARM] don't emit constant pool for Thumb1 XO/stack...

Ties Stuij via All-commits all-commits at lists.llvm.org
Wed Jul 19 05:52:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84f888ca82a1b5924863bfd9769d0ef4552a1372
      https://github.com/llvm/llvm-project/commit/84f888ca82a1b5924863bfd9769d0ef4552a1372
  Author: Ties Stuij <ties.stuij at arm.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
    A llvm/test/CodeGen/Thumb/stack-guard-xo.ll

  Log Message:
  -----------
  [ARM] don't emit constant pool for Thumb1 XO/stack guard combo

Currently for armv6-m and armv8-m.baseline, we emit constant pool code when we
use execute-only (XO) in combination with stack guards.

XO is a new feature for armv6-m, and this patch is part of a series of patches
that substitutes constant pool generation with the tMOVi32imm equivalent.

However XO for armv8-m.baseline has been available for about 6 years, and so
for armv8-m.baseline this is a bugfix.

Reviewed By: simonwallis2, olista01

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




More information about the All-commits mailing list