[llvm] [AMDGPU] Skip debug machine instructions in AMDGPU SIWholeQuadMode pass. (PR #134518)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 7 01:34:03 PDT 2025


================
@@ -1300,6 +1300,12 @@ void SIWholeQuadMode::processBlock(MachineBasicBlock &MBB, BlockInfo &BI,
 
   for (unsigned Idx = 0;; ++Idx) {
     MachineBasicBlock::iterator Next = II;
+
+    if (II != IE && II->isDebugInstr()) {
----------------
arsenm wrote:

Why not all meta instructions? Also testcase? 

https://github.com/llvm/llvm-project/pull/134518


More information about the llvm-commits mailing list