[flang-commits] [flang] [flang] Add -O flag to tco (PR #151869)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Mon Aug 4 02:07:53 PDT 2025
================
@@ -1,5 +1,6 @@
// RUN: tco -emit-final-mlir %s | FileCheck %s --check-prefixes=CHECK,AA,CMPLX
// RUN: tco -emit-final-mlir -enable-aa=false %s | FileCheck %s --check-prefixes=CHECK,NOAA,CMPLX
+// RUN: tco -emit-final-mlir -O0 -enable-aa %s | FileCheck %s --check-prefixes=CHECK,NOAA,CMPLX
----------------
tblah wrote:
ultra-nit: for me this is a convincing example that `-enable-aa` should take precidence over `-O0` (and enable alias analysis even at `-O0`). But I don't think it matters too much for a developer tool.
https://github.com/llvm/llvm-project/pull/151869
More information about the flang-commits
mailing list