[all-commits] [llvm/llvm-project] 2ac201: [flang] Fix flang build after #83132

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Feb 28 03:45:55 PST 2024


  Branch: refs/heads/users/matthias-springer/fix-flang
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ac201d1b9b260d9fe760df80f8fac0c2a768460
      https://github.com/llvm/llvm-project/commit/2ac201d1b9b260d9fe760df80f8fac0c2a768460
  Author: Matthias Springer <springerm at google.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp

  Log Message:
  -----------
  [flang] Fix flang build after #83132

This fix is a temporary workaround. `LowerHLFIRIntrinsics.cpp` should be
using the greedy pattern rewriter or a manual IR traversal. All patterns
in this file are rewrite patterns. The test failure was caused by
`replaceAllUsesWith`, which is not supported by the dialect conversion;
additional asserts were added recently to prevent incorrect API usage.
These trigger now.

Alternatively, turning the patterns into conversion patterns and
specifying a type converter may work.

Failing test case: `Fortran/gfortran/regression/gfortran-regression-compile-regression__inline_matmul_14_f90.test`



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