[flang-commits] [flang] [flang] use TBAA Forest in TBAABuilder (PR #68437)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Mon Oct 9 16:54:18 PDT 2023


================
@@ -39,26 +49,10 @@ static llvm::cl::opt<unsigned>
 namespace fir {
 
 TBAABuilder::TBAABuilder(MLIRContext *context, bool applyTBAA)
-    : enableTBAA(applyTBAA && !disableTBAA) {
+    : enableTBAA(applyTBAA && !disableTBAA),
+      trees(/*separatePerFunction=*/perFunctionTBAATrees) {
----------------
vzakhari wrote:

I think so, but I am okay with having the two flags as well.

https://github.com/llvm/llvm-project/pull/68437


More information about the flang-commits mailing list