Skip to content

Commit 46719a2

Browse files
committed
2 parents 419342b + 709f0ce commit 46719a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ LLVMTypeConverter::getMemRefAddressSpace(BaseMemRefType type) const {
527527
return failure();
528528
if (!(*converted)) // Conversion to default is 0.
529529
return 0;
530-
if (auto explicitSpace = llvm::dyn_cast_if_present<IntegerAttr>(*converted)) {
530+
if (auto explicitSpace = dyn_cast_if_present<IntegerAttr>(*converted)) {
531531
if (explicitSpace.getType().isIndex() ||
532532
explicitSpace.getType().isSignlessInteger())
533533
return explicitSpace.getInt();

0 commit comments

Comments
 (0)