[all-commits] [llvm/llvm-project] 51d3bc: [flang][tco] Add more flags for generating codegen...

Tom Eccles via All-commits all-commits at lists.llvm.org
Mon Jul 14 02:25:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51d3bc67d0e11bacf6566690a07779f238845cc7
      https://github.com/llvm/llvm-project/commit/51d3bc67d0e11bacf6566690a07779f238845cc7
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    A flang/test/Driver/tco-test-gen.fir
    M flang/tools/tco/tco.cpp

  Log Message:
  -----------
  [flang][tco] Add more flags for generating codegen tests (#148171)

Built on top of https://github.com/llvm/llvm-project/pull/146533

Adding some more options I use to generate minimal testcases for
MLIR->LLVMIR conversion.
Hopefully this will save us all some time when writing these tests.

The following options are added
- `-simplify-mlir` runs CSE and canonicalization at the end of the MLIR
pipeline
- `-enable-aa` allows toggling whether TBAA is enabled
- `-test-gen` is shorthand for `-emit-final-mlir -simplify-mlir
-enable-aa=false`



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list