[all-commits] [llvm/llvm-project] befc78: GlobalISel: Add a setInstrAndDebugLoc(MachineInstr...

AE via All-commits all-commits at lists.llvm.org
Wed Apr 8 14:39:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: befc788cfaa996b8399765d8157283d2336750fb
      https://github.com/llvm/llvm-project/commit/befc788cfaa996b8399765d8157283d2336750fb
  Author: Amara Emerson <aemerson at apple.com>
  Date:   2020-04-08 (Wed, 08 Apr 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

  Log Message:
  -----------
  GlobalISel: Add a setInstrAndDebugLoc(MachineInstr&) convenience helper to MachineIRBuilder. NFC.

This saves doing two separate calls to set the Instr and DebugLoc from an existing MI.




More information about the All-commits mailing list