[all-commits] [llvm/llvm-project] 003141: AMDGPU/GlobalISel: Use same builder/observer in po...

petar-avramovic via All-commits all-commits at lists.llvm.org
Tue Nov 3 00:26:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0031418dce3e06b8ca98ad1ec048e4833785bdaa
      https://github.com/llvm/llvm-project/commit/0031418dce3e06b8ca98ad1ec048e4833785bdaa
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
    M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp

  Log Message:
  -----------
  AMDGPU/GlobalISel: Use same builder/observer in post-legalizer-combiner

Change match/apply functions into methods of new target specific combiner
helper class. Use reference to MachineIRBuilder from helper instead of
constructing new MachineIRBuilder each time new instruction needs to made.
Allows correct tracking of newly created instructions.

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




More information about the All-commits mailing list