[llvm] [AMDGPU][CodeGen][True16] Correct size calculation for d16 insts (PR #151042)

Brox Chen via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 07:57:18 PDT 2025


================
@@ -9281,6 +9281,16 @@ unsigned SIInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const {
   default:
     if (MI.isMetaInstruction())
       return 0;
+
+    // if D16 Pseudo inst, get correct MC code size
----------------
broxigarchen wrote:

done

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


More information about the llvm-commits mailing list