SuccessChanges

Summary

  1. [clangd] Trivial: Documentation fix in ASTSignals. (details)
  2. [gn build] Port 2f395b7092bd (details)
  3. [flang] Fix some module file issues exposed by Whizard (details)
  4. [NFC] Disallow unused prefixes under MC/AArch64 (details)
  5. [NewPM] Fix placement of LoopFlatten (details)
  6. [X86][AVX] Adjust unsigned saturation downconvert negative test (details)
Commit 8b09cf7956d8abc722fa736874e4cea667a9d3cb by usx
[clangd] Trivial: Documentation fix in ASTSignals.
The file was modifiedclang-tools-extra/clangd/ASTSignals.h
The file was modifiedclang-tools-extra/clangd/ASTSignals.cpp
Commit b4e083b0ef7ca86851b5b1d043004ae632a63f8d by llvmgnsyncbot
[gn build] Port 2f395b7092bd
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
Commit 4864d9f7e91fdd58a84e4ae576f1ad16f71f9d91 by pklausler
[flang] Fix some module file issues exposed by Whizard

Generic type-bound interfaces for user-defined operators need to be formatted
as "OPERATOR(.op.)", not just ".op."

PRIVATE generics need to be marked as such.

Declaration ordering: when a generic interface shadows a
derived type of the same name, it needs to be emitted to the
module file at the point of definition of the derived type;
otherwise, the derived type's definition may appear after its
first use.

The module symbol for a module read from a module file needs
to be marked as coming from a module file before semantic
processing is performed on the contents of the module so that
any special handling for declarations in module files can be
properly activated.

IMPORT statements were sometimes missing for use-associated
symbols in surrounding scopes; fine-tune NeedImport().

Differential Revision: https://reviews.llvm.org/D94636
The file was modifiedflang/test/Semantics/modfile35.f90
The file was addedflang/test/Semantics/modfile37.f90
The file was addedflang/test/Semantics/modfile38.f90
The file was modifiedflang/lib/Semantics/mod-file.cpp
Commit 35c8a6cbf5ff0b525e2c01e5d746067bdda1dde7 by mtrofin
[NFC] Disallow unused prefixes under MC/AArch64

Differential Revision: https://reviews.llvm.org/D94616
The file was modifiedllvm/test/MC/AArch64/armv8.7a-xs.s
The file was modifiedllvm/test/MC/AArch64/armv8.7a-ls64.s
The file was modifiedllvm/test/MC/AArch64/lit.local.cfg
Commit a03ffa98503bb6d5a990e61df060ed480c3e3f3b by aeubanks
[NewPM] Fix placement of LoopFlatten

https://reviews.llvm.org/D90402 was inconsistent with where it put
LoopFlatten between the two pass managers. It also missed adding it to
the non-O1 function simplification pipeline.

PR48738

Reviewed By: SjoerdMeijer

Differential Revision: https://reviews.llvm.org/D94650
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit b99782cf7850a481fa36fd95ae04923739e0da6d by llvm-dev
[X86][AVX] Adjust unsigned saturation downconvert negative test

D87145 was showing that this test (added in D45315) could always be constant folded (with suitable value tracking).

What we actually needed was smax(smin()) negative test coverage, the invert of negative_test2_smax_usat_trunc_wb_256_mem, so I've tweaked the test to provide that instead.
The file was modifiedllvm/test/CodeGen/X86/avx512-trunc.ll