[flang] [clang] [flang] Enable alias tags pass by default (PR #73111)
Mats Petersson via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 22 04:07:09 PST 2023
================
@@ -311,7 +311,7 @@ inline void createDefaultFIRCodeGenPassPipeline(
if (config.VScaleMin != 0)
pm.addPass(fir::createVScaleAttrPass({config.VScaleMin, config.VScaleMax}));
- fir::addFIRToLLVMPass(pm, config.OptLevel);
+ fir::addFIRToLLVMPass(pm, config.OptLevel, config.AliasAnalysis);
----------------
Leporacanthicus wrote:
Maybe we can just pass (const reference to) `config` into the `addFIRToLLVMPass`?
https://github.com/llvm/llvm-project/pull/73111
More information about the cfe-commits
mailing list