[PATCH] D118089: [AMDGPU] Validate dst and src2 non-overlapping restriction in asm
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 24 16:45:31 PST 2022
rampitec added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp:3643
+
+ if (RUCount <= 8) // 4 VGPRs or less
+ return true;
----------------
arsenm wrote:
> Can't you get the width directly from the operand register class without making an assumption about the number of register units?
I cannot get RC itself.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118089/new/
https://reviews.llvm.org/D118089
More information about the llvm-commits
mailing list