[Mlir-commits] [mlir] [mlir][llvm] support -new-struct-path-tbaa (PR #119698)
Tobias Gysi
llvmlistbot at llvm.org
Tue Feb 25 12:25:55 PST 2025
================
@@ -58,7 +58,15 @@ mlir::LLVM::detail::verifyAliasAnalysisOpInterface(Operation *op) {
ArrayAttr tags = iface.getTBAATagsOrNull();
if (!tags)
return success();
-
+ if (tags.size() > 0) {
----------------
gysit wrote:
Shouldn't it just be:
`return isArrayOf<TBAATagAttr>(op, tags) || isArrayOf<TBAAAccessTagAttr>(op, tags);`
https://github.com/llvm/llvm-project/pull/119698
More information about the Mlir-commits
mailing list