FailedChanges

Summary

  1. Simplify conditionals in DNBArchMachARM64::EnableHardwareSingleStep (details)
  2. [clangd] config() -> Config::current to avoid confict with NS (details)
  3. [X86] Add common prefixes to merge more hadd/sub tests checks (details)
  4. [PowerPC] Fix FeatureISA3_1 def in PPC.td to imply FeatureISA3_0. (details)
  5. [flang] Add coarray lowering hooks. (details)
  6. [mlir] add unsigned comparison builders to Affine EDSC (details)
  7. Fix a few cases that were incorrectly parsed as unary-expressions (details)
  8. [CMake] Fix incorrect handling of get_target_property failure (details)
  9. [MLIR] Add variadic isa<> for Type, Value, and Attribute (details)
  10. [CMake][compiler-rt] Only set lld as available when it was built (details)
  11. [SVE] Remove calls to VectorType::getNumElements from Instrumentation (details)
  12. Clang Driver: Use Apple ld64's new @response-file support. (details)
  13. Clang Driver: refactor support for writing response files to be (details)
  14. [FileCheck][NFC] Clean up RUN style in verbose.txt test (details)
  15. [FileCheck] Permit multiple -v or -vv (details)
Commit c48ccb6b4e513e467b22fab1de57a25c23af4361 by Jason Molenda
Simplify conditionals in DNBArchMachARM64::EnableHardwareSingleStep
The file was modifiedlldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
Commit 1f14287eab972e76a521a32a2c326b8ff3b8d21f by sam.mccall
[clangd] config() -> Config::current to avoid confict with NS
The file was modifiedclang-tools-extra/clangd/Config.h
The file was modifiedclang-tools-extra/clangd/Config.cpp
The file was modifiedclang-tools-extra/clangd/CompileCommands.cpp
Commit 1bcdea5c36c296dcbf1fc244e14b3b21ca7934d0 by llvm-dev
[X86] Add common prefixes to merge more hadd/sub tests checks
The file was modifiedllvm/test/CodeGen/X86/avx512-hadd-hsub.ll
The file was modifiedllvm/test/CodeGen/X86/avx2-phaddsub.ll
Commit af9cc2d2afe8cbb8dc3b309707f17597ce43071e by lei
[PowerPC] Fix FeatureISA3_1 def in PPC.td to imply FeatureISA3_0.
The file was modifiedllvm/lib/Target/PowerPC/PPC.td
Commit bd2c3014e120949c4acc1d107ac71c4091f00a3d by eschweitz
[flang] Add coarray lowering hooks.

Differential review: https://reviews.llvm.org/D82790
The file was addedflang/include/flang/Lower/Coarray.h
The file was modifiedflang/lib/Lower/CMakeLists.txt
The file was addedflang/lib/Lower/Coarray.cpp
Commit 25055a4fb90292e49f44a0a708390a730cd1116e by zinenko
[mlir] add unsigned comparison builders to Affine EDSC

Current Affine comparison builders, which use operator overload, default to signed comparison.  This creates the possibility of misuse of these builders and potential correctness issues when dealing with unsigned integers.  This change makes the distinction between signed and unsigned comparison builders and forces the caller to make a choice between the two.

Differential Revision: https://reviews.llvm.org/D82323
The file was modifiedmlir/include/mlir/Dialect/Affine/EDSC/Builders.h
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/include/mlir/EDSC/Builders.h
The file was modifiedmlir/lib/Dialect/Affine/EDSC/Builders.cpp
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
Commit 4d1b7e9820ee9c87541619ce4dd41e92dc43cd9c by richard
Fix a few cases that were incorrectly parsed as unary-expressions
instead of postfix-expressions, and improve error recovery for postfix
operators after unary-expressions.

This covers nullptr, __null, and some calls to type traits with special
parsing rules. We would previously not parse a postfix-expression suffix
for these expressions, so would reject expressions such as
__is_trivial(int)["foo"].

For the case where a postfix-expression suffix is *not* permitted after
a unary-expression (for example, after a new-expression or sizeof
expression), produce a diagnostic if one appears there anyway. That's
always ill-formed, but previously produced very bad diagnostics.
The file was addedclang/test/Parser/expressions.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Parse/ParseExpr.cpp
Commit 657ac8e717e3cbb121e424c0cb6e2cffdacfd533 by ctetreau
[CMake] Fix incorrect handling of get_target_property failure

Summary:
add_unittest was checking that the result of get_target_property was not
"NOTFOUND", but despite what the documentation says, get_target_property
returns <the var>-NOTFOUND on failure.

Reviewers: efriedma, thakis, serge-sans-paille, chandlerc

Reviewed By: serge-sans-paille

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81762
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit ee394e6842733a38ee0953d8ee018547ecbef8fd by jurahul
[MLIR] Add variadic isa<> for Type, Value, and Attribute

- Also adopt variadic llvm::isa<> in more places.
- Fixes https://bugs.llvm.org/show_bug.cgi?id=46445

Differential Revision: https://reviews.llvm.org/D82769
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/IR/SymbolTable.cpp
The file was modifiedmlir/lib/IR/StandardTypes.cpp
The file was modifiedmlir/include/mlir/IR/Types.h
The file was modifiedmlir/lib/Dialect/Quant/Transforms/ConvertConst.cpp
The file was modifiedmlir/docs/Tutorials/Toy/Ch-7.md
The file was modifiedmlir/include/mlir/EDSC/Builders.h
The file was modifiedmlir/lib/Parser/TypeParser.cpp
The file was modifiedmlir/test/lib/Transforms/TestMemRefDependenceCheck.cpp
The file was modifiedmlir/include/mlir/IR/Matchers.h
The file was modifiedmlir/lib/Dialect/Traits.cpp
The file was modifiedmlir/lib/IR/Attributes.cpp
The file was modifiedmlir/include/mlir/IR/Value.h
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/Dialect.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/lib/Dialect/Quant/IR/QuantOps.cpp
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineLoopInvariantCodeMotion.cpp
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/lib/Dialect/Affine/EDSC/Builders.cpp
The file was modifiedmlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp
The file was modifiedmlir/lib/Parser/AttributeParser.cpp
The file was modifiedmlir/lib/Analysis/Utils.cpp
The file was modifiedmlir/include/mlir/IR/StandardTypes.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
Commit cf1d04484344be52ada8178e41d18fd15a9b880c by phosek
[CMake][compiler-rt] Only set lld as available when it was built

The `-fuse-ld=lld` check might succeed because there's a system lld,
but that lld may be out-of-date which would cause any tests that
attempt to use for LTO fail. This was observed on some of the bots.

Differential Revision: https://reviews.llvm.org/D81629
The file was modifiedcompiler-rt/CMakeLists.txt
Commit bdcd20062933df3d6a3401dfe0a1fb8c2cb8071f by ctetreau
[SVE] Remove calls to VectorType::getNumElements from Instrumentation

Reviewers: efriedma, pcc, gchatelet, kmclaughlin, sdesmalen

Reviewed By: sdesmalen

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82241
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit 381df1653c927efa9dac86c24a9db2b98f270de0 by jyknight
Clang Driver: Use Apple ld64's new @response-file support.

In XCode 12, ld64 got support for @files, in addition to the old
-filelist mechanism. Response files allow passing all command-line
arguments to the linker via a file, rather than just filenames, and is
therefore preferred.

Because of the way response-file support is currently implemented as
part of the Tool class in Clang, this change requires an ugly backdoor
function to access Args. A follow-up commit fixes this, but I've
ordered this change first, for easier backportability.

I've added no tests here, because unfortunately, there don't appear to
be _any_ response-file emission automated tests, and I don't see an
obvious way to add them. I've tested that this change works as
expected locally.

Differential Revision: https://reviews.llvm.org/D82777
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was modifiedclang/lib/Driver/ToolChains/Darwin.h
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
Commit 4772b99dffec4f87bb7bc9273495066058ac0186 by jyknight
Clang Driver: refactor support for writing response files to be
specified at Command creation, rather than as part of the Tool.

This resolves the hack I just added to allow Darwin toolchain to vary
its level of support based on `-mlinker-version=`.

The change preserves the _current_ settings for response-file support.
Some tools look likely to be declaring that they don't support
response files in error, however I kept them as-is in order for this
change to be a simple refactoring.

Differential Revision: https://reviews.llvm.org/D82782
The file was modifiedclang/lib/Driver/ToolChains/NaCl.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was modifiedclang/lib/Driver/ToolChains/BareMetal.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.h
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp
The file was modifiedclang/lib/Driver/ToolChains/Ananas.h
The file was modifiedclang/lib/Driver/ToolChains/NetBSD.cpp
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.h
The file was modifiedclang/lib/Driver/Tool.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.h
The file was modifiedclang/lib/Driver/ToolChains/MSP430.h
The file was modifiedclang/lib/Driver/ToolChains/Cuda.h
The file was modifiedclang/lib/Driver/ToolChains/CrossWindows.h
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/lib/Driver/ToolChains/AVR.h
The file was modifiedclang/lib/Driver/ToolChains/DragonFly.h
The file was modifiedclang/lib/Driver/ToolChains/CloudABI.cpp
The file was modifiedclang/include/clang/Driver/Job.h
The file was modifiedclang/lib/Driver/ToolChains/Darwin.h
The file was modifiedclang/lib/Driver/ToolChains/InterfaceStubs.cpp
The file was modifiedclang/lib/Driver/ToolChains/MinGW.cpp
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.h
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was modifiedclang/lib/Driver/Job.cpp
The file was modifiedclang/lib/Driver/ToolChains/Minix.cpp
The file was modifiedclang/lib/Driver/ToolChains/Cuda.cpp
The file was modifiedclang/include/clang/Driver/Tool.h
The file was modifiedclang/lib/Driver/ToolChains/OpenBSD.h
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.h
The file was modifiedclang/lib/Driver/ToolChains/Hexagon.cpp
The file was modifiedclang/lib/Driver/ToolChains/NaCl.cpp
The file was modifiedclang/lib/Driver/ToolChains/PS4CPU.cpp
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp
The file was modifiedclang/lib/Driver/ToolChains/PS4CPU.h
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
The file was modifiedclang/lib/Driver/ToolChains/NetBSD.h
The file was modifiedclang/lib/Driver/ToolChains/Solaris.cpp
The file was modifiedclang/lib/Driver/ToolChains/DragonFly.cpp
The file was modifiedclang/lib/Driver/ToolChains/CrossWindows.cpp
The file was modifiedclang/lib/Driver/ToolChains/Myriad.h
The file was modifiedclang/lib/Driver/ToolChains/Minix.h
The file was modifiedclang/lib/Driver/ToolChains/Ananas.cpp
The file was modifiedclang/lib/Driver/ToolChains/Hexagon.h
The file was modifiedclang/lib/Driver/ToolChains/Flang.cpp
The file was modifiedclang/lib/Driver/ToolChains/CloudABI.h
The file was modifiedclang/lib/Driver/ToolChains/AIX.cpp
The file was modifiedclang/lib/Driver/ToolChains/MSVC.h
The file was modifiedclang/lib/Driver/ToolChains/MinGW.h
The file was modifiedclang/lib/Driver/ToolChains/AVR.cpp
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.h
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedclang/lib/Driver/ToolChains/Myriad.cpp
The file was modifiedclang/lib/Driver/ToolChains/Fuchsia.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/lib/Driver/ToolChains/MSP430.cpp
The file was modifiedclang/lib/Driver/ToolChains/OpenBSD.cpp
The file was modifiedclang/lib/Driver/ToolChains/RISCVToolchain.cpp
The file was modifiedclang/lib/Driver/ToolChains/XCore.cpp
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.cpp
Commit 632438726429859b80a68721bf91daec2d8b7b2a by jdenny.ornl
[FileCheck][NFC] Clean up RUN style in verbose.txt test

Reviewed By: jhenderson, thopre

Differential Revision: https://reviews.llvm.org/D82658
The file was modifiedllvm/test/FileCheck/verbose.txt
Commit 782585a2144e2af019bd3e4dc48cab611545645b by jdenny.ornl
[FileCheck] Permit multiple -v or -vv

`FILECHECK_OPTS` was implemented so that a test runner, such as CI,
can specify FileCheck debugging options, such as `-v` and `-vv`.
However, if a test suite has a FileCheck call that already specifies
`-v` or `-vv`, then that call will fail if `FILECHECK_OPTS` also
specifies it.

For `-vv`, this problem already exists:

`clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics-constrained.c`

It's not yet clear if the `-vv` in that test was intentional, but this
usage shouldn't fail anyway.  It's already true that FileCheck permits
`-vv` and `-v` together even though `-vv` implies `-v`.

Compare D70784, which fixed the same problem for `-dump-input`.

Reviewed By: jhenderson, thopre

Differential Revision: https://reviews.llvm.org/D82601
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
The file was modifiedllvm/test/FileCheck/verbose.txt