[all-commits] [llvm/llvm-project] 2df6a0: [RISCV] Implement evaluateBranch

Simon Cook via All-commits all-commits at lists.llvm.org
Thu Apr 9 07:12:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2df6a02fd75fb7a5581753133794d68c7533b7eb
      https://github.com/llvm/llvm-project/commit/2df6a02fd75fb7a5581753133794d68c7533b7eb
  Author: Simon Cook <simon.cook at embecosm.com>
  Date:   2020-04-09 (Thu, 09 Apr 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
    A llvm/test/MC/Disassembler/RISCV/branch-targets.txt

  Log Message:
  -----------
  [RISCV] Implement evaluateBranch

This implements the instruction analysis required to print branch
targets as part of llvm-objdump's disassembly.

Note, this only handles those branches which can be analyzed in a single
instruction, a future patch will handle multiple-instruction patterns,
such as AUIPC/LUI+JALR instruction pairs.

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




More information about the All-commits mailing list