SuccessChanges

Summary

  1. [flang] Create names to allow access to inaccessible specifics (details)
  2. [mlir][NFC] Move helper substWithMin into Affine utils (details)
  3. [mlir][AsmPrinter] Properly escape strings when printing locations (details)
Commit 1bd083b5d6d0619f532a7310e72887ea6d2e87eb by pklausler
[flang] Create names to allow access to inaccessible specifics

When a reference to a generic interface occurs in a specification
expression that must be emitted to a module file, we have a problem
when the generic resolves to a function whose name is inaccessible
due to being PRIVATE or due to a conflict with another use of the
same name in the scope.  In these cases, construct a new name for
the specific procedure and emit a renaming USE to the module file.
Also, relax enforcement of PRIVATE when analyzing module files.

Differential Revision: https://reviews.llvm.org/D94815
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/lib/Evaluate/check-expression.cpp
The file was modifiedflang/lib/Semantics/semantics.cpp
The file was addedflang/test/Semantics/modfile39.f90
The file was modifiedflang/include/flang/Semantics/tools.h
The file was modifiedflang/lib/Semantics/tools.cpp
The file was modifiedflang/lib/Semantics/expression.cpp
The file was modifiedflang/include/flang/Semantics/expression.h
The file was modifiedflang/include/flang/Semantics/semantics.h
Commit 3afbfb4145bea3796f1137c377774848093c3435 by thomasraoux
[mlir][NFC] Move helper substWithMin into Affine utils

This allow using this helper outside of the linalg canonicalization.

Differential Revision: https://reviews.llvm.org/D94826
The file was modifiedmlir/lib/Dialect/Affine/Utils/Utils.cpp
The file was modifiedmlir/include/mlir/Dialect/Affine/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
Commit 2a27a9819a1e3371e3e08d7fbad6235cf50d336d by riddleriver
[mlir][AsmPrinter] Properly escape strings when printing locations

This fixes errors when location strings contains newlines, or other non-ascii characters.

Differential Revision: https://reviews.llvm.org/D94847
The file was modifiedmlir/test/IR/locations.mlir
The file was modifiedmlir/lib/IR/AsmPrinter.cpp