Skip to content

Commit 805f4a2

Browse files
authored
Update clang-mlir.cc
1 parent 3e325c3 commit 805f4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/mlir-clang/Lib/clang-mlir.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4552,7 +4552,7 @@ mlir::Type MLIRASTConsumer::getMLIRType(clang::QualType qt, bool *implicitRef,
45524552
bool assumeRef = false;
45534553
auto subType =
45544554
getMLIRType(CT->getElementType(), &assumeRef, /*allowMerge*/ false);
4555-
if (!memRefABI && allowMerge) {
4555+
if (memRefABI && allowMerge) {
45564556
assert(!assumeRef);
45574557
if (implicitRef)
45584558
*implicitRef = true;

0 commit comments

Comments
 (0)