[llvm] [AMDGPU] Decouple prohibition of 64-bit literals from VOP3 encoding (PR #222823)
Yaxun Liu via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 06:02:03 PDT 2026
yxsamliu wrote:
The general direction makes sense. Describing the literal limit in the operand type is clearer than guessing from the instruction size or encoding.
Could we make the operand type the single source of truth? Some code still checks , and the same list of operand types is repeated in several places. A shared helper such as would make the design easier to maintain. A name like may also describe the capability more clearly.
https://github.com/llvm/llvm-project/pull/222823
More information about the llvm-commits
mailing list