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

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Oct 9 09:00:29 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) {
----------------
tblah wrote:

Thanks. Would a single flag in CLOptions.inc specifying to use the old behavior be easier?

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


More information about the flang-commits mailing list