[all-commits] [llvm/llvm-project] fe9dc2: [RISCV] Use a macro to simplify getTargetNodeName

Fraser Cormack via All-commits all-commits at lists.llvm.org
Mon Nov 16 01:40:23 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fe9dc2e54a6d56cbc7a6aadee2efa5d3c83a7612
      https://github.com/llvm/llvm-project/commit/fe9dc2e54a6d56cbc7a6aadee2efa5d3c83a7612
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Use a macro to simplify getTargetNodeName

Similar to the X86 and AMDGPU targets, this uses a macro to cut down on
repetitive and error-prone code when converting RISCVISD node names to
strings in getTargetNodeName.

Reviewed By: asb

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




More information about the All-commits mailing list