[all-commits] [llvm/llvm-project] 1a14ce: [RISCV] Indirect branch generation in position ind...

Sam Elliott via All-commits all-commits at lists.llvm.org
Thu Aug 20 05:37:31 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a14ce26e006f1cfd438943308d0db43fb80efd4
      https://github.com/llvm/llvm-project/commit/1a14ce26e006f1cfd438943308d0db43fb80efd4
  Author: Sam Elliott <selliott at lowrisc.org>
  Date:   2020-08-20 (Thu, 20 Aug 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/test/CodeGen/RISCV/branch-relaxation.ll

  Log Message:
  -----------
  [RISCV] Indirect branch generation in position independent code

This fixes the "Unable to insert indirect branch" fatal error sometimes
seen when generating position-independent code.

Patch by msizanoen1

Reviewed By: jrtc27

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

(cherry picked from commit 5f9ecc5d857fa5d95f6ea36153be19db40576f8a)




More information about the All-commits mailing list