[all-commits] [llvm/llvm-project] 11db65: [flang] Control SUM simplification with a pass opt...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Aug 17 13:39:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11db65bab85a3a8c51ae5de9305ac2b76ccc2477
      https://github.com/llvm/llvm-project/commit/11db65bab85a3a8c51ae5de9305ac2b76ccc2477
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-08-17 (Wed, 17 Aug 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
    M flang/test/Transforms/simplifyintrinsics.fir

  Log Message:
  -----------
  [flang] Control SUM simplification with a pass option.

The current code may not always work correctly, e.g.:
https://github.com/llvm/llvm-project/issues/57201

I added 'enable-experimental' pass option so that SUM simplification
may be enabled in LIT tests, but it is not enabled when the pass
is added to the passes pipeline.

Differential Revision: https://reviews.llvm.org/D131640




More information about the All-commits mailing list