[all-commits] [llvm/llvm-project] 8d2cc3: [flang][NFC] Enable and migrate to new fold API

zero9178 via All-commits all-commits at lists.llvm.org
Wed Jan 11 07:38:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d2cc3b2819c40a62a394462e56ee94326095dbe
      https://github.com/llvm/llvm-project/commit/8d2cc3b2819c40a62a394462e56ee94326095dbe
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M flang/include/flang/Optimizer/CodeGen/CGOps.td
    M flang/include/flang/Optimizer/Dialect/FIRDialect.td
    M flang/include/flang/Optimizer/HLFIR/HLFIROpBase.td
    M flang/lib/Optimizer/Dialect/FIROps.cpp

  Log Message:
  -----------
  [flang][NFC] Enable and migrate to new fold API

See https://discourse.llvm.org/t/psa-new-improved-fold-method-signature-has-landed-please-update-your-downstream-projects/67618 for context

This simply ports all dialects in flang to use the new fold API. These were relatively little and basically just a function signature change, since in-tree folds did not make use of any of the constant operands values.

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




More information about the All-commits mailing list