[all-commits] [llvm/llvm-project] 0eec66: [MC][mips] Replace setRType## methods by single se...

Simon Atanasyan via All-commits all-commits at lists.llvm.org
Fri Apr 24 02:14:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0eec6662f66930fa72553731744b50b820d3405b
      https://github.com/llvm/llvm-project/commit/0eec6662f66930fa72553731744b50b820d3405b
  Author: Simon Atanasyan <simon at atanasyan.com>
  Date:   2020-04-24 (Fri, 24 Apr 2020)

  Changed paths:
    M llvm/include/llvm/MC/MCELFObjectWriter.h
    M llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp

  Log Message:
  -----------
  [MC][mips] Replace setRType## methods by single setRTypes function. NFC

MCELFObjectWriter::setRType## methods are always used altogether to
build complete MIPS N64 ABI "chain" of relocations. Using single
function for this task makes code less verbose.




More information about the All-commits mailing list