================
@@ -8978,7 +8978,7 @@ unsigned SIInstrInfo::getInstSizeInBytes(const 
MachineInstr &MI) const {
     return getInlineAsmLength(AsmStr, *MF->getTarget().getMCAsmInfo(), &ST);
   }
   default:
-    if (MI.isMetaInstruction())
+    if (MI.isMetaInstruction() || MI.isDebugInstr())
----------------
arsenm wrote:

I'd expect DescSize to be correct for debug insts 

https://github.com/llvm/llvm-project/pull/127246
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to