[all-commits] [llvm/llvm-project] 261cbe: [RISCV] Fix Machine Outliner jump table handling.

yroux via All-commits all-commits at lists.llvm.org
Wed Sep 8 22:32:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 261cbe98c38f8c1ee1a482fe76511110e790f58a
      https://github.com/llvm/llvm-project/commit/261cbe98c38f8c1ee1a482fe76511110e790f58a
  Author: Yvan Roux <yvan.roux at foss.st.com>
  Date:   2021-09-09 (Thu, 09 Sep 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    A llvm/test/CodeGen/RISCV/machineoutliner-jumptable.mir

  Log Message:
  -----------
  [RISCV] Fix Machine Outliner jump table handling.

Don't outline machine instructions which are using jump table indexes
since they are materialized as local labels (like the already handled
case of constant pools).

Reviewed By: paquette

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




More information about the All-commits mailing list