[PATCH] D138661: [AMDGPU][MC] Correct handling of mandatory literals
Joe Nash via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 28 11:31:47 PST 2022
Joe_Nash added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp:3387
+ if (!AMDGPU::isSISrcOperand(Desc, OpIdx) ||
+ AMDGPU::isKImmOperand(Desc, OpIdx)) {
return false;
----------------
This looks a bit weird to me because isSISrcOperand used to be true for KImm, until I created the mandatory literal logic. I'm not sure what the desired semantics of isSISrcOperand are. Can you try making isSISrcOperand used to be true for KImm and seeing if there is any fallout?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138661/new/
https://reviews.llvm.org/D138661
More information about the llvm-commits
mailing list