[mlir] Apply ClangTidy fix (NFC)

redundant get() call on smart pointer.
This commit is contained in:
Adrian Kuegel 2023-08-07 15:45:36 +02:00
parent 380fd8201d
commit 7d6fb14057

View File

@ -926,7 +926,7 @@ public:
// bytecode version from the version buffer if it wasn't already processed.
// Return failure if either of those two actions could not be completed.
if (failed(dialectEntry->getValue()->load(*this, getLoc().getContext())) ||
dialectEntry->getValue()->loadedVersion.get() == nullptr)
dialectEntry->getValue()->loadedVersion == nullptr)
return failure();
return dialectEntry->getValue()->loadedVersion.get();
}