[all-commits] [llvm/llvm-project] 8b42e6: AMDGPU: Remove redundant call to MachineInstrBuild...

Nicolai Hähnle via All-commits all-commits at lists.llvm.org
Tue May 3 05:49:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b42e6d057edd3b0cecb47161d10ceea4c49616a
      https://github.com/llvm/llvm-project/commit/8b42e6d057edd3b0cecb47161d10ceea4c49616a
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp

  Log Message:
  -----------
  AMDGPU: Remove redundant call to MachineInstrBuilder::setMBB

setInstrAndDebugLoc also sets the basic block automatically.

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




More information about the All-commits mailing list