diff options
| author | Joe Nash <Joseph.Nash@amd.com> | 2021-11-05 16:19:22 -0400 |
|---|---|---|
| committer | Joe Nash <Joseph.Nash@amd.com> | 2021-11-08 10:34:49 -0500 |
| commit | 79f52af4cd9a76485dd50bcdbb5d393eb7a70103 (patch) | |
| tree | 805b88b445e1ba373410571576949f8ee6b11638 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | ce4fa93db8b2511c389f27fba3e72b5b70c1b7db (diff) | |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
