We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9070904 commit eb7849fCopy full SHA for eb7849f
llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
@@ -2365,6 +2365,11 @@ void SPIRVEmitIntrinsics::parseFunDeclarations(Module &M) {
2365
std::string DemangledName = getOclOrSpirvBuiltinDemangledName(F.getName());
2366
if (DemangledName.empty())
2367
continue;
2368
+ // allow only OpGroupAsyncCopy use case at the moment
2369
+ auto [Grp, Opcode, ExtNo] =
2370
+ SPIRV::mapBuiltinToOpcode(DemangledName, InstrSet);
2371
+ if (Opcode != SPIRV::OpGroupAsyncCopy)
2372
+ continue;
2373
// find pointer arguments
2374
SmallVector<unsigned> Idxs;
2375
for (unsigned OpIdx = 0; OpIdx < F.arg_size(); ++OpIdx) {
0 commit comments