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

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Tue Oct 10 08:54:19 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:

Thank you! It looks good to me.

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


More information about the flang-commits mailing list