The static constexpr were failing with undefined reference due to lacking definition at namespace scope.
PiperOrigin-RevId:
239241157
llvm::sys::SmartScopedLock<true> instrumentationLock(impl->mutex);
impl->instrumentations.emplace_back(pi);
}
+
+constexpr AnalysisID mlir::detail::PreservedAnalyses::allAnalysesID;
}
}
+constexpr unsigned LoopTiling::kDefaultTileSize;
+constexpr uint64_t LoopTiling::kDefaultCacheMemCapacity;
+
static PassRegistration<LoopTiling> pass("loop-tile", "Tile loop nests");
static std::string toString(Instruction *inst) {
std::string res;
- auto os = llvm::raw_string_ostream(res);
+ llvm::raw_string_ostream os(res);
inst->print(os);
return res;
}