[PATCH] D19132: AMDGPU: Correct reported code size

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 15:22:44 PDT 2016


arsenm added a comment.

In http://reviews.llvm.org/D19132#401791, @vpykhtin wrote:

> Why not to consider 4 byte instructions as having potentially larger size and keep current encoding sizes?


It's supposed to be 0 if it can't be determined just from the opcode:

  // Size - Size of encoded instruction, or zero if the size cannot be determined
  // from the opcode.
  int Size = 0;


http://reviews.llvm.org/D19132





More information about the llvm-commits mailing list