[all-commits] [llvm/llvm-project] 9e6c09: [RISCV] Fix inaccurate annotations on PseudoBRIND

lewis-revill via All-commits all-commits at lists.llvm.org
Fri Aug 21 03:39:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e6c09c0d995721eff6366d9af2f8ab1c203bf61
      https://github.com/llvm/llvm-project/commit/9e6c09c0d995721eff6366d9af2f8ab1c203bf61
  Author: lewis-revill <lewis.revill at embecosm.com>
  Date:   2020-08-21 (Fri, 21 Aug 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/test/CodeGen/RISCV/blockaddress.ll
    M llvm/test/CodeGen/RISCV/codemodel-lowering.ll
    M llvm/test/CodeGen/RISCV/indirectbr.ll

  Log Message:
  -----------
  [RISCV] Fix inaccurate annotations on PseudoBRIND

PseudoBRIND had seemingly inherited incorrect annotations denoting it as
a call instruction and that it defines X1/ra. This caused excess
save/restore code to be emitted for ra.

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




More information about the All-commits mailing list