FailedChanges

Summary

  1. [libcxx/variant] Add a few benchmarks for `std::visit`. (details)
  2. [flang] Fix interpretation of intrinsic names as arguments (details)
  3. [Diagnostics] Reworked -Wstring-concatenation (details)
  4. [WebAssembly][AsmParser] Name missing features in error message (details)
  5. [VectorCombine] add safety check for 0-width register (details)
Commit c6f51377e12b343ca2f712b6af6908555f07ad04 by mcypark
[libcxx/variant] Add a few benchmarks for `std::visit`.

This patch adds a few `std::visit` benchmarks as a starting point.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D85419
The file was addedlibcxx/benchmarks/variant_visit_1.bench.cpp
The file was addedlibcxx/benchmarks/variant_visit_3.bench.cpp
The file was addedlibcxx/benchmarks/variant_visit_2.bench.cpp
The file was addedlibcxx/benchmarks/VariantBenchmarks.h
Commit f5e4451e1f27e87d30c4eb0c3c99f2f8d07039e1 by tkeith
[flang] Fix interpretation of intrinsic names as arguments

If an unrestricted specific intrinsic function name is first encountered
as an actual argument, it should be interpreted as an object entity,
not a procedure entity.

Fix some tests that depended on the previous interpretation by adding
explicit INTRINSIC statements.

Differential Revision: https://reviews.llvm.org/D85792
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/test/Semantics/call02.f90
The file was modifiedflang/test/Semantics/call09.f90
Commit b9af72bffe5f2769f3a7858a785981f89137a0ce by Dávid Bolvanský
[Diagnostics] Reworked -Wstring-concatenation
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/Sema/string-concat.c
Commit 2985c02f798ba8248a9168a9f33a74d90c0c5445 by tlively
[WebAssembly][AsmParser] Name missing features in error message

Rather than just saying that some feature is missing, report the exact
features to make the error message more useful and actionable.

Differential Revision: https://reviews.llvm.org/D85795
The file was addedllvm/test/MC/WebAssembly/missing-features.s
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
Commit b0b95dab1ce21d93f3d62bc37256da9f38cff616 by spatel
[VectorCombine] add safety check for 0-width register

Based on post-commit discussion in D81766, Hexagon sets this to "0".
I'll see if I can come up with a test, but making the obvious
code fix first to unblock that target.
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp