[all-commits] [llvm/llvm-project] 9e8691: [RISCV][GISel] Fix 2 indirect call bugs. (#73170)

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Nov 27 12:59:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e8691962626e62382eb31da6fea49ddbb559750
      https://github.com/llvm/llvm-project/commit/9e8691962626e62382eb31da6fea49ddbb559750
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-27 (Mon, 27 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
    M llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calls.ll

  Log Message:
  -----------
  [RISCV][GISel] Fix 2 indirect call bugs. (#73170)

We can't set MO_PLT on an indirect call.
We need to constrain the register class for the operand to the call
instruction.




More information about the All-commits mailing list