[all-commits] [llvm/llvm-project] 4fb0e0: [ARM] Generate out-of-line jump tables for XO with...

john-brawn-arm via All-commits all-commits at lists.llvm.org
Wed Jun 28 05:30:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fb0e0114f626c6a492738f609744eab5d331310
      https://github.com/llvm/llvm-project/commit/4fb0e0114f626c6a492738f609744eab5d331310
  Author: John Brawn <john.brawn at arm.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    M llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/ARM/execute-only.ll

  Log Message:
  -----------
  [ARM] Generate out-of-line jump tables for XO without 32-bit branch

When we only have a 16-bit pc-relative branch instruction we generate
a table of address for a jump table. Currently this is placed inline,
but this won't work with execute-only memory. In this case generate
the jump table out-of-line.

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




More information about the All-commits mailing list