Skip to content

Commit 709f0ce

Browse files
Update mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
Co-authored-by: Christian Ulmann <[email protected]>
1 parent b3eba80 commit 709f0ce

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)