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 824fbc1 commit 7c192f6Copy full SHA for 7c192f6
third_party/intel/lib/Target/LLVMIR/Dialect/TritonGEN/TritonGENToLLVMIRTranslation.cpp
@@ -36,10 +36,10 @@ class TritonGENDialectLLVMIRTranslationInterface
36
NamedAttribute attribute,
37
LLVM::ModuleTranslation &moduleTranslation) const final {
38
StringRef attrName = attribute.getName().getValue();
39
- assert(
40
- attrName ==
41
- triton::TritonGEN::TritonGENDialect::getCacheControlsAttrName() &&
42
- "Only supported attribute");
+ // Unsupported attribute name: skip.
+ if (attrName !=
+ triton::TritonGEN::TritonGENDialect::getCacheControlsAttrName())
+ return success();
43
auto decorationAttr =
44
dyn_cast<triton::TritonGEN::DecorationCacheControlAttr>(
45
attribute.getValue());
0 commit comments