[flang-commits] [flang] Revert "Reland "[flang] Added noalias attribute to function arguments… (PR #142128)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Fri May 30 07:29:46 PDT 2025


================
@@ -350,15 +350,11 @@ void createDefaultFIRCodeGenPassPipeline(mlir::PassManager &pm,
   else
     framePointerKind = mlir::LLVM::framePointerKind::FramePointerKind::None;
 
-  bool setNoCapture = false, setNoAlias = false;
-  if (config.OptLevel.isOptimizingForSpeed())
----------------
vzakhari wrote:

Tom, will you be okay if I just remove this `if`?  The LIT tests should still work, and it will be easier to re-enable the code, when function speciailization is fixed.

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


More information about the flang-commits mailing list