[PATCH] D124809: AMDGPU: Remove redundant call to MachineInstrBuilder::setMBB

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


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8b42e6d057ed: AMDGPU: Remove redundant call to MachineInstrBuilder::setMBB (authored by nhaehnle).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124809/new/

https://reviews.llvm.org/D124809

Files:
  llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp


Index: llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
+++ llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
@@ -126,7 +126,6 @@
          LLT::scalar(64));
   const LLT S32 = LLT::scalar(32);
 
-  B.setMBB(*MI.getParent());
   B.setInstrAndDebugLoc(MI);
 
   auto Unmerge = B.buildUnmerge(S32, Src);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124809.426673.patch
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220503/b5aae901/attachment.bin>


More information about the llvm-commits mailing list