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.
2 parents 419342b + 709f0ce commit 46719a2Copy full SHA for 46719a2
mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
@@ -527,7 +527,7 @@ LLVMTypeConverter::getMemRefAddressSpace(BaseMemRefType type) const {
527
return failure();
528
if (!(*converted)) // Conversion to default is 0.
529
return 0;
530
- if (auto explicitSpace = llvm::dyn_cast_if_present<IntegerAttr>(*converted)) {
+ if (auto explicitSpace = dyn_cast_if_present<IntegerAttr>(*converted)) {
531
if (explicitSpace.getType().isIndex() ||
532
explicitSpace.getType().isSignlessInteger())
533
return explicitSpace.getInt();
0 commit comments