[all-commits] [llvm/llvm-project] 0586f0: [RISCV] Basic jump table lowering

Nandor Licker via All-commits all-commits at lists.llvm.org
Tue Dec 22 07:43:21 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0586f048d794673867f7307898114a111f6e80ba
      https://github.com/llvm/llvm-project/commit/0586f048d794673867f7307898114a111f6e80ba
  Author: Nandor Licker <n at ndor.email>
  Date:   2020-12-22 (Tue, 22 Dec 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineInstrBuilder.h
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVMCInstLower.cpp
    M llvm/test/CodeGen/RISCV/jumptable.ll

  Log Message:
  -----------
  [RISCV] Basic jump table lowering

This patch enables jump table lowering in the RISC-V backend.

In addition to the test case included, the new lowering was
tested by compiling the OCaml runtime and running it under qemu.

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




More information about the All-commits mailing list