Files
llvm-project/llvm/lib/TargetParser/TargetParser.cpp
Alex Voicu 13d67bffb1 [NFC][SPIRV] Re-factor feature map initialisation for AMDGCN flavoured SPIR-V (#192067)
AMDGCN flavoured SPIR-V must support the union of all AMDGCN features,
as we cannot early adjudicate on this or that feature's availability. We
were hand filling in the feature map, which was error prone and led to
constant grind as new features were added. This patch moves to a
programmatic approach where we iterate through all AMDGCN GPUs and
collect features, thus establishing the union. With this change AMDGCN
flavoured SPIR-V will automatically pick up new features as they come
along.
2026-04-14 20:47:16 +01:00

23 KiB