[flang-commits] [flang] [flang] use TBAA Forest in TBAABuilder (PR #68437)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Sun Oct 8 19:22:23 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:
Do I understand it correctly that even without running the FIR TBAA attachment pass we will use per-function trees by default after this change? I wonder if we can still stick to a single global tree for those functions that have not been affected by the FIR TBAA attachment pass?
https://github.com/llvm/llvm-project/pull/68437
More information about the flang-commits
mailing list