[all-commits] [llvm/llvm-project] 79f52a: [AMDGPU] Make getInstSizeInBytes more generic

Joe Nash via All-commits all-commits at lists.llvm.org
Mon Nov 8 07:55:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79f52af4cd9a76485dd50bcdbb5d393eb7a70103
      https://github.com/llvm/llvm-project/commit/79f52af4cd9a76485dd50bcdbb5d393eb7a70103
  Author: Joe Nash <Joseph.Nash at amd.com>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Make getInstSizeInBytes more generic

NFC. This check mainly handles size affecting literals. Make it check all
explicit operands instead of a few by name. Also make the isLiteral
check handle the KIMM operands, see https://reviews.llvm.org/D111067

Change-Id: I1a362d55b2a10f5c74d445272e8b7829a8b77597

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D113318

Change-Id: Ie6c688f30a71e0335d1c6dd1ff65019bd7ce684e




More information about the All-commits mailing list