FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [CodeGen] Fix warning in visitShuffleVector (details)
  2. Fix errors in use of strictfp attribute. (details)
  3. Fix errors in use of strictfp attribute. (details)
  4. Fix errors in use of strictfp attribute. (details)
  5. GlobalISel: fix CombinerHelper::matchEqualDefs() (details)
  6. [X86] Fix errors in use of strictfp attribute. (details)
  7. [DAGCombiner] Add command line options to guard store width reduction (details)
  8. Let @skipUnlessThreadSanitizer imply @skipIfAsan (details)
  9. Let @skipUnlessUndefinedBehaviorSanitizer imply @skipIfAsan (details)
  10. [ConstantFolding] Constant folding for integer vector reduce intrinsics (details)
  11. Preserve DbgLoc when DeadArgumentElimination rewrites a 'ret'. (details)
  12. [LoopVectorize] auto-generate complete test checks; NFC (details)
  13. [LoopVectorize] regenerate test checks; NFC (details)
  14. [LoopVectorize] auto-generate complete checks; NFC (details)
  15. [LoopVectorize] regenerate test checks; NFC (details)
  16. [SVE] Eliminate calls to default-false VectorType::get() from polly (details)
  17. [AIX] Emit AvailableExternally Linkage on AIX (details)
  18. [LoopVectorize] auto-generate complete test checks; NFC (details)
  19. [PrintSCC] Fix printing a basic-block without a name (details)
  20. [MLIR][OpenMP] Defined master operation in OpenMP Dialect (details)
  21. [X86] Remove isel pattern for MMX_X86movdq2q+simple_load. Replace with DAG combine to to loadmmx. (details)
  22. [SVE] Replace deprecated call in changeVectorElementTypeToInteger (details)
  23. [X86] Ignore large code model in X86FastISel::X86MaterializeFP in 32-bit mode (details)
  24. [SLP] auto-generate complete test checks; NFC (details)
  25. [WebAssembly] Add placeholders for R_WASM_TABLE_INDEX_REL_SLEB relocations (details)
  26. Add support for Overloaded Binary Operators in SyntaxTree (details)
  27. [Local] Prevent `invertCondition` from creating a redundant instruction (details)
  28. [SVE] Eliminate calls to default-false VectorType::get() from Vectorize (details)
  29. [DWARF5] Added support for .debug_macro.dwo section in llvm-dwarfdump (details)
  30. [DWARF5] Replace emission of strp with stx forms in debug_macro section (details)
  31. [mlir][Linalg] Make contraction vectorization use vector transfers (details)
  32. [AMDGPU] Regenrated urem/udiv global isel tests. NFC. (details)
  33. [tests] Fix AMDGPU test (details)
  34. AMDGPU: Remove fp-exceptions feature (details)
  35. [lldb/CMake] Set both the BUILD and INSTALL RPATH on macOS (2/2) (details)
  36. [clang-format] Create a python documentation tool to generate a summary of the clang-format status for the whole of the LLVM project (details)
  37. Add NoMerge MIFlag to avoid MIR branch folding (details)
  38. [ASTMatchers] Matchers related to C++ inheritance (details)
  39. [Matrix] Implement + and - operators for MatrixType. (details)
  40. Process gep (phi ptr1, ptr2) in SROA (details)
  41. [DebugInfo][DAG] Don't reuse debug location on COPY if width changes. (details)
  42. AMDGPU/GlobalISel: Add boilerplate for inline asm lowering (details)
  43. Revert "Process gep (phi ptr1, ptr2) in SROA" (details)
  44. [lldb/Test] Don't leak forked processes on Darwin (details)
  45. [CMake] Change target 'check' from 'check-llvm' to 'check-all' (details)
  46. [ELF] Add -z rel and -z rela (details)
  47. [mlir][Affine] Minor clean-up of D79829 (details)
  48. [SVE] Eliminate calls to default-false VectorType::get() from Utils (details)
  49. [SVE] Eliminate calls to default-false VectorType::get() from Instrumentation (details)
  50. [flang] Batch together the changes to the PFT intermediate data (details)
  51. [SVE] Eliminate calls to default-false VectorType::get() from InstCombine (details)
  52. [mlir] NFC - Add debug information for Linalg transformations. (details)
  53. [SLP] Apply external to vectorizable tree users cost adjustment for (details)
  54. [SVE] Eliminate calls to default-false VectorType::get() from AArch64 (details)
  55. [SVE] Eliminate calls to default-false VectorType::get() from AggressiveInstCombine (details)
  56. [mlir] Fix Windows build (details)
  57. [libFuzzer] Fixed description of fuzzer merge control file. (details)
  58. [SVE] Eliminate calls to default-false VectorType::get() from X86 (details)
  59. [diagtool] Install diagtool when LLVM_INSTALL_TOOLCHAIN_ONLY is ON. (details)
  60. [libc++] Fix issues with the triviality of std::array (details)
  61. [mlir][spirv] Clean up coop matrix assembly declaration. (details)
  62. [flang][NFC] Remove link-time dependency of Evaluate on Semantics (details)
  63. [gn build] (manually) port 0e265e31578 (details)
  64. [AMDGPU] Add loaded code object path URI definition to AMDGPUUsage (details)
  65. [gn build] Port 34cfed24ebd (details)
  66. [gn build] Port cf6cc662eee (details)
  67. [SVE] Eliminate calls to default-false VectorType::get() from Linker (details)
  68. [jitlink] R_X86_64_PC32 support for the elf x86 jitlinker (details)
  69. [SVE] Eliminate calls to default-false VectorType::get() from AMDGPU (details)
  70. AMDGPU: Move MIMG MMO check to verifier (details)
  71. AMDGPU: Add new baseline tests for setreg handling (details)
  72. AMDGPU: Optimize s_setreg_b32 to s_denorm_mode/s_round_mode (details)
  73. [AMDGPU] Remove assertion on S1024 SGPR to VGPR spill (details)
  74. [ValueLattice] Fix uninitialized-value after D79036 (details)
  75. Fix full unrolling with new pass manager. (details)
  76. NFC: Simplify O1 pass pipeline construction. (details)
  77. Use .empty() instead of .size() == 0 (NFC) (details)
  78. [lldb/Bindings] Raise exception when using properties that rely on lldb.target (details)
  79. [DWARF5] Added support for emission of .debug_macro.dwo section (details)
  80. [lldb/Test] use GetLoadAddress from scripted thread plan (details)
Commit d8a78889f633c5a60f0a1c7cb60bf9b18817d9d7 by david.sherwood
[CodeGen] Fix warning in visitShuffleVector

Make sure we only ask for the number of elements after we've
bailed out for scalable vectors.

Differential revision: https://reviews.llvm.org/D80632
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit a38788201e44c5eb1abf3c71d0cad22d291dc9a3 by kevin.neal
Fix errors in use of strictfp attribute.

Errors spotted with use of: https://reviews.llvm.org/D68233
The file was modifiedllvm/test/CodeGen/AArch64/strict-fp-int-promote.ll
Commit 66d1899e2ffd2581f774ecf51ced4a325e7d004b by kevin.neal
Fix errors in use of strictfp attribute.

Errors spotted with use of: https://reviews.llvm.org/D68233
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-f128.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict-minmax.ll
The file was modifiedllvm/test/CodeGen/PowerPC/fp-strict.ll
Commit c21a4f84b0e83aaf8f5390f6299a8857197f96c4 by kevin.neal
Fix errors in use of strictfp attribute.

Errors spotted with use of: https://reviews.llvm.org/D68233
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-alias.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-cmp-05.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-cmps-05.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-conv-02.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-cmps-04.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-cmp-04.ll
Commit f6a6de288bfb23e45ab2558a9c163132cfe7579a by Stanislav.Mekhanoshin
GlobalISel: fix CombinerHelper::matchEqualDefs()

This matcher was always returning true for the different
results of a same instruction.

Differential Revision:
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-select.mir
Commit cd74ccc965e773a3f0c31cd6bb46de318cefdca9 by kevin.neal
[X86] Fix errors in use of strictfp attribute.

Errors spotted with use of: https://reviews.llvm.org/D68233
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-512.ll
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/vector-half-conversions.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-128.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-256.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-fptoint-128.ll
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-round.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics-flags.ll
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-256.ll
The file was modifiedllvm/test/CodeGen/X86/vec-strict-round-128.ll
Commit 40c08367e411a178404d4f01a82f651188f2ed01 by carrot
[DAGCombiner] Add command line options to guard store width reduction
optimizations

As discussed in the thread http://lists.llvm.org/pipermail/llvm-dev/2020-May/141838.html,
some bit field access width can be reduced by ReduceLoadOpStoreWidth, some
can't. If two accesses are very close, and the first access width is reduced,
the second is not. Then the wide load of second access will be stalled for long
time.

This patch add command line options to guard ReduceLoadOpStoreWidth and
ShrinkLoadReplaceStoreWithStore, so users can use them to disable these
store width reduction optimizations.

Differential Revision: https://reviews.llvm.org/D80745
The file was addedllvm/test/CodeGen/X86/disable-shrink-store.ll
The file was addedllvm/test/CodeGen/X86/clear-bitfield.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 31a8e27e1805e039d699afa890702e26a93e0b40 by Adrian Prantl
Let @skipUnlessThreadSanitizer imply @skipIfAsan

Don't run tests that use thread sanitizer inside an address-sanitized
LLDB. The tests don't support that configuration. Incidentally they
were skipped on green dragon for a different reason, so this hasn't
come up there before.
The file was modifiedlldb/packages/Python/lldbsuite/test/decorators.py
Commit c1a33299768f8404dd7b83a6cfef7c1155786c6a by Adrian Prantl
Let @skipUnlessUndefinedBehaviorSanitizer imply @skipIfAsan

Don't run tests that use undefined behavior sanitizer inside an
address-sanitized LLDB. The tests don't support that
configuration. Incidentally they were skipped on green dragon for a
different reason, so this hasn't come up there before.
The file was modifiedlldb/packages/Python/lldbsuite/test/decorators.py
Commit a01c0049b1a3583604259ae7bbe9761fc123adae by david.green
[ConstantFolding] Constant folding for integer vector reduce intrinsics

This add constant folding for all the integer vector reduce intrinsics,
providing that the argument is a constant vector. zeroinitializer always
produces 0 for all intrinsics, and other values can be handled with
APInt operators.

Differential Revision: https://reviews.llvm.org/D80516
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was addedllvm/test/Analysis/ConstantFolding/vecreduce.ll
Commit 8c2d2d971b2a221786e29380666d9900adeaee6a by paul.robinson
Preserve DbgLoc when DeadArgumentElimination rewrites a 'ret'.

Fixes PR46002.
The file was modifiedllvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
The file was modifiedllvm/test/Transforms/DeadArgElim/dbginfo-preserve-dbgloc.ll
Commit 0b21c6706a48c013d2b3fc4a258a0f7437b0781a by spatel
[LoopVectorize] auto-generate complete test checks; NFC
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
Commit 9d1f95bf9f55715ecc127d6f425696ff94c614fe by spatel
[LoopVectorize] regenerate test checks; NFC

Align attributes are now visible.
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
Commit 5e9427322721a24f23d73dd1627fc8848c9dcba1 by spatel
[LoopVectorize] auto-generate complete checks; NFC
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/tail_loop_folding.ll
Commit f78eecbb93ca0e6f740a001e2325704dca920f00 by spatel
[LoopVectorize] regenerate test checks; NFC

Align attributes are now visible.
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/imprecise-through-phis.ll
Commit b82a95f8bc91976a9ba663f8fa2edf15708b5c0f by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from polly

Reviewers: bollu, efriedma, david-arm, fpetrogalli, gchatelet

Reviewed By: fpetrogalli

Subscribers: tschuett, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80341
The file was modifiedpolly/lib/CodeGen/BlockGenerators.cpp
Commit 26604d06b6fe10bb047a3620cf306be8648dcc20 by Xiangling.Liao
[AIX] Emit AvailableExternally Linkage on AIX

Since on AIX, our strategy is to not use -u to suppress any undefined
symbols, we need to emit .extern for the symbols with AvailableExternally
linkage.

Differential Revision: https://reviews.llvm.org/D80642
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/Target/TargetLoweringObjectFile.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-available-externally-linkage.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Commit db653ff6b777f9133793c21c48a46912bc1a77df by spatel
[LoopVectorize] auto-generate complete test checks; NFC
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/reduction-fastmath.ll
Commit dfc8244c24631169630399a640ab526acd678346 by ehudkatz
[PrintSCC] Fix printing a basic-block without a name

Print a basic-block as an operand to handle the case where it has no
name.

Differential Revision: https://reviews.llvm.org/D80552
The file was modifiedllvm/tools/opt/PrintSCC.cpp
The file was addedllvm/test/Other/print-cfg-sccs.ll
Commit dbb5979d158cd7c49fdb31a03a4a73dfb402cf66 by asudhaku
[MLIR][OpenMP] Defined master operation in OpenMP Dialect

Summary:
Implemented the basic changes for defining master operation in OpenMP.
It uses the generic parser and printer.

Reviewed By: kiranchandramohan, ftynse

Differential Revision: https://reviews.llvm.org/D80689
The file was modifiedmlir/test/Dialect/OpenMP/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
Commit 87e4ad4d5ce1a231fae257faaada8badcfc22d43 by craig.topper
[X86] Remove isel pattern for MMX_X86movdq2q+simple_load. Replace with DAG combine to to loadmmx.

Only 64-bit bits will be loaded, not the whole 128 bits. We can
just combine it to plain mmx load. This has the side effect of
enabling isel load folding for it.

This part of my desire to get rid of isel patterns that shrink loads.
The file was modifiedllvm/test/CodeGen/X86/mmx-fold-load.ll
The file was modifiedllvm/lib/Target/X86/X86InstrMMX.td
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b637519eef01d48301620b6537c52ec72978f553 by dancgr
[SVE] Replace deprecated call in changeVectorElementTypeToInteger

Summary:
Replace getVectorNumElements with getVectorElementCount;
gets rid of the warnings in several tests

Reviewers: sdesmalen, kmclaughlin, dancgr, efriedma, each, andwar, rengolin

Reviewed By: efriedma

Subscribers: tschuett, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80746
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.h
Commit 5c7aca6a4c8c93f1af3cdac676151f8d7e28a410 by craig.topper
[X86] Ignore large code model in X86FastISel::X86MaterializeFP in 32-bit mode

Large code model doesn't mean anything to 32-bit mode. But nothing
prevents it from being set. Ignore to avoid generating 64-bit mode
only instructions.

Differential Revision: https://reviews.llvm.org/D80768
The file was modifiedllvm/lib/Target/X86/X86FastISel.cpp
The file was modifiedllvm/test/CodeGen/X86/fast-isel-constpool.ll
Commit 61412b762df79328fa29dafdd1f8cc35792693ec by spatel
[SLP] auto-generate complete test checks; NFC
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/scheduling.ll
Commit 81443ac1bc710c89565ea1bce0eb566bf2cacd0d by sbc
[WebAssembly] Add placeholders for R_WASM_TABLE_INDEX_REL_SLEB relocations

Previously in the object format we punted on this and simply wrote
zeros (and didn't include the function in the elem segment).  With
this change we write a meaningful value which is the segment
relative table index of the associated function.

This matches the that wasm-ld produces in `-r` mode.  This inconsistency
between the output the MC object writer and the wasm-ld object
writer could cause warnings to be emitted when reading back in the
output of `wasm-ld -r`.  See:
https://github.com/emscripten-core/emscripten/issues/11217

This only applies to this one relocation type which is only generated
when compiling in PIC mode.

Differential Revision: https://reviews.llvm.org/D80774
The file was modifiedllvm/test/MC/WebAssembly/reloc-pic.s
The file was modifiedlld/wasm/InputFiles.cpp
The file was modifiedllvm/lib/MC/WasmObjectWriter.cpp
The file was modifiedlld/wasm/InputFiles.h
Commit 3a574a6cb35953e538e577a88f62af8dd01432c7 by gribozavr
Add support for Overloaded Binary Operators in SyntaxTree

Reviewers: gribozavr2

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80812
The file was modifiedclang/lib/Tooling/Syntax/BuildTree.cpp
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
Commit c710bb44a6b4b367b506ca2ef0f1d2af5a92feef by ehudkatz
[Local] Prevent `invertCondition` from creating a redundant instruction

Prevent `invertCondition` from creating the inversion instruction, in
case the given value is an argument which has already been inverted.
Note that this approach has already been taken in case the given value
is an instruction (and not an argument).

Differential Revision: https://reviews.llvm.org/D80399
The file was modifiedllvm/test/Transforms/StructurizeCFG/bug36015.ll
The file was modifiedllvm/test/Transforms/StructurizeCFG/loop-multiple-exits.ll
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/test/Transforms/StructurizeCFG/one-loop-multiple-backedges.ll
The file was modifiedllvm/test/Transforms/StructurizeCFG/workarounds/needs-fr-ule.ll
The file was modifiedllvm/test/Transforms/StructurizeCFG/post-order-traversal-bug.ll
Commit d2befc66336d4d4c014be11d40e8ed6d3140fd36 by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from Vectorize

Reviewers: efriedma, c-rhodes, david-arm, fhahn

Reviewed By: david-arm

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80339
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit e7102eed20d969c7e75b7d3dc5192290f733797a by SourabhSingh.Tomar
[DWARF5] Added support for .debug_macro.dwo section in llvm-dwarfdump

This patch extends the parsing and dumping support of llvm-dwarfdump
for debug_macro.dwo section.

Following forms are supported:

- DW_MACRO_define
- DW_MACRO_undef
- DW_MACRO_start_file
- DW_MACRO_end_file
- DW_MACRO_define_strx
- DW_MACRO_undef_strx
- DW_MACRO_define_strp
- DW_MACRO_undef_strp

Reviewed by: ikudrin, dblaikie

Differential Revision: https://reviews.llvm.org/D78500
The file was addedllvm/test/DebugInfo/X86/debug-macro-strp-dwo.s
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was addedllvm/test/DebugInfo/X86/debug-macro-strx-dwo.s
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFObject.h
Commit b47403c0a4c532554cf3d67ed1669fe00530aab3 by SourabhSingh.Tomar
[DWARF5] Replace emission of strp with stx forms in debug_macro section

DW_MACRO_define_strx forms are supported now in llvm-dwarfdump and these
forms can be used in both debug_macro[.dwo] sections. An added advantage
for using strx forms over strp forms is that it uses indices
approach instead of a relocation to debug_str section.

This patch unify the emission for debug_macro section.

Reviewed by: dblaikie, ikudrin

Differential Revision: https://reviews.llvm.org/D78865
The file was modifiedllvm/test/DebugInfo/X86/debug-macro-v5.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 9534192c3bfd861f8082843c57dfee0a7881d266 by ntv
[mlir][Linalg] Make contraction vectorization use vector transfers

This revision replaces the load + vector.type_cast by appropriate vector transfer
operations. These play more nicely with other vector abstractions and canonicalization
patterns and lower to load/store with or without masks when appropriate.

Differential Revision: https://reviews.llvm.org/D80809
The file was modifiedmlir/test/Dialect/Linalg/transform-patterns.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
Commit a5202949134c3b8da108e04043a5c4350309ad1b by Stanislav.Mekhanoshin
[AMDGPU] Regenrated urem/udiv global isel tests. NFC.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
Commit f881c7967dbeaa5a5f2d80b4216efa072afbf6cb by ehudkatz
[tests] Fix AMDGPU test

Fix naming issue in test due to change D80399.
The file was modifiedllvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
Commit 2d2627d47a1fc1f966d058aadc18099038be5af0 by Matthew.Arsenault
AMDGPU: Remove fp-exceptions feature

This was never used, and the only thing it changed was removed in
284472be6da3353d81dfd25b1ac4218e852d1e5f. The floating point mode is
also not a property of the subtarget.
The file was modifiedllvm/test/CodeGen/AMDGPU/clamp.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
Commit e6a404fbe7270d22541b45d48ca29fea5c3510aa by Jonas Devlieghere
[lldb/CMake] Set both the BUILD and INSTALL RPATH on macOS (2/2)

This is also needed for lldb-test.
The file was modifiedlldb/tools/lldb-test/CMakeLists.txt
Commit 6f56a586c505bd587106a9b94388d70efb88155b by paul_hoad
[clang-format] Create a python documentation tool to generate a summary of the clang-format status for the whole of the LLVM project

Summary:
Any change to clang-format is tested with the unit tests, However sometimes the better approach is to run it over a very large fully formatted source tree and then inspect the differences. This seems to be a source of many of the regressions found by @krasimir  and by @sylvestre.ledru and @Abpostelnicu who run it over the Mozilla sources, but often these regressions are only found after changes have been committed.

LLVM itself would be a good dog-fooding candidate for similar tests except such a large proportion of the tree is not 100% clang formatted, as such you are never aware if the change comes from a change to clang-format or  just because the tree has not been formatted first.

The following review is for a small python tool which scans the whole of the LLVM source tree and counts the number of files which have one or more clang-format violations.

This revision contains the tool and the output from the initial run of the tool and the generated documentation which looks like the following

Reviewers: krasimir, JakeMerdichAMD, sammccall, curdeius, bollu, alexshap, jdoerfert, DavidTruby, sscalpone

Reviewed By: curdeius

Subscribers: dschuff, aheejin, fedor.sergeev, ilya-biryukov, simoncook, cryptoad, arphaman, jfb, kadircet, mstorsjo, s.egerton, usaxena95, aartbik, phosek, sstefan1, cfe-commits, sylvestre.ledru, Abpostelnicu, krasimir

Tags: #clang, #clang-format

Differential Revision: https://reviews.llvm.org/D80627
The file was addedclang/docs/ClangFormattedStatus.rst
The file was modifiedclang/docs/index.rst
The file was modifiedclang/docs/ClangFormat.rst
The file was addedclang/docs/tools/generate_formatted_state.py
Commit 80e107ccd088a2705d0e776799a8815a58061cb3 by zequanwu
Add NoMerge MIFlag to avoid MIR branch folding

Let the codegen recognized the nomerge attribute and disable branch folding when the attribute is given

Differential Revision: https://reviews.llvm.org/D79537
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was addedllvm/test/CodeGen/AArch64/nomerge.ll
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedllvm/test/CodeGen/RISCV/nomerge.ll
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was addedllvm/test/CodeGen/X86/nomerge.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/CodeGen/BranchFolding.cpp
The file was addedllvm/test/CodeGen/ARM/nomerge.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was addedllvm/test/CodeGen/PowerPC/nomerge.ll
Commit 1a5c97f3a4b88438b19ff34a285e559e57b1e9d4 by Jan Korous
[ASTMatchers] Matchers related to C++ inheritance

Differential Revision: https://reviews.llvm.org/D79063
The file was modifiedclang/include/clang/AST/ASTTypeTraits.h
The file was modifiedclang/docs/LibASTMatchersReference.html
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedclang/lib/AST/ASTTypeTraits.cpp
The file was modifiedclang/lib/ASTMatchers/Dynamic/Registry.cpp
The file was modifiedclang/lib/ASTMatchers/ASTMatchersInternal.cpp
The file was modifiedclang-tools-extra/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.cpp
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
Commit 6f6e91d19337315548f550479f94cbc0af93c8fe by flo
[Matrix] Implement + and - operators for MatrixType.

This patch implements the + and - binary operators for values of
MatrixType. It adds support for matrix +/- matrix, scalar +/- matrix and
matrix +/- scalar.

For the matrix, matrix case, the types must initially be structurally
equivalent. For the scalar,matrix variants, the element type of the
matrix must match the scalar type.

Reviewers: rjmccall, anemet, Bigcheese, rsmith, martong

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D76793
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was addedclang/test/CodeGen/matrix-type-operators.c
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was addedclang/test/CodeGenCXX/matrix-type-operators.cpp
The file was addedclang/test/SemaCXX/matrix-type-operators.cpp
The file was addedclang/test/Sema/matrix-type-operators.c
The file was modifiedllvm/include/llvm/IR/MatrixBuilder.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit f66a43c11a7899d5c578b80d7f154abcea3b8d8e by Stanislav.Mekhanoshin
Process gep (phi ptr1, ptr2) in SROA

Differential Revision: https://reviews.llvm.org/D79218
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
The file was addedllvm/test/Transforms/SROA/phi-gep.ll
Commit 6a4714030e467293e839433a6754685ed3bdc108 by tbosch
[DebugInfo][DAG] Don't reuse debug location on COPY if width changes.

Summary:
This caused incorrect debug information for parameters:
Previously, after a COPY of a parameter that changes the width,
we would emit a DBG_VALUE that continues to be associated to that
parameter, even though it now used a different width.
This made the LiveDebugValues pass assume the parameter value
got clobbered and it stopped tracking the parameter entry
value, leading to incorrect debug information.

Fixes https://bugs.llvm.org/show_bug.cgi?id=39715

Subscribers: aprantl, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80819
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was addedllvm/test/DebugInfo/X86/dbg-value-funcarg3.ll
Commit 248410937899d99f6f258d7299ec6fae0f98d900 by Matthew.Arsenault
AMDGPU/GlobalISel: Add boilerplate for inline asm lowering

Test mostly from minor adjustments to the AArch64 one.
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-inline-asm.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
Commit af852d6f3638fead78af9048503a67cf7b308eb6 by Stanislav.Mekhanoshin
Revert "Process gep (phi ptr1, ptr2) in SROA"

This reverts commit f66a43c11a7899d5c578b80d7f154abcea3b8d8e.
The file was removedllvm/test/Transforms/SROA/phi-gep.ll
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
Commit 8d8f8b353175b50dfdb1e2d5f3c0ada0a4ad25ed by Jonas Devlieghere
[lldb/Test] Don't leak forked processes on Darwin

We are leaking forked processes on macOS because the cleanup function
was checking the existence of /proc/pid which does not exist on macOS.
I've changed the code to be platform agnostic.
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
Commit 2d7fdab8e39fa3108f05cb3ff4af1a057f501c87 by maskray
[CMake] Change target 'check' from 'check-llvm' to 'check-all'

Reviewed By: echristo, mehdi_amini

Differential Revision: https://reviews.llvm.org/D80823
The file was modifiedllvm/test/CMakeLists.txt
Commit 881c5eef98a6c3fa59907ba2eefa6e8d086394a6 by maskray
[ELF] Add -z rel and -z rela

LLD supports both REL and RELA for static relocations, but emits either
of REL and RELA for dynamic relocations. The relocation entry format is
specified by each psABI.

musl ld.so supports both REL and RELA. For such ld.so implementations,
REL (.rel.dyn .rel.plt) has size benefits even if the psABI chooses RELA:
sizeof(Elf64_Rel)=16 < sizeof(Elf64_Rela)=24.

* COPY, GLOB_DAT and J[U]MP_SLOT always have 0 addend. A ld.so
  implementation does not need to read the implicit addend.
  REL is strictly better.
* A RELATIVE has a non-zero addend. Such relocations can be packed
  compactly with the RELR relocation entry format, which is out of scope
  of this patch.
* For other dynamic relocation types (e.g. symbolic relocation R_X86_64_64),
  a ld.so implementation needs to read the implicit addend. REL may have
  minor performance impact, because reading implicit addends forces
  random access reads instead of being able to blast out a bunch of
  writes while chasing the relocation array.

This patch adds -z rel and -z rela to change the relocation entry format
for dynamic relocations. I have tested that a -z rel produced x86-64
executable works with musl ld.so

-z rela may be useful for debugging purposes on processors whose psABIs
specify REL as the canonical format: addends can be easily read by a tool.

Reviewed By: grimar, mcgrathr

Differential Revision: https://reviews.llvm.org/D80496
The file was modifiedlld/docs/ld.lld.1
The file was addedlld/test/ELF/x86-64-zrel-zrela.s
The file was addedlld/test/ELF/i386-zrel-zrela.s
The file was modifiedlld/ELF/Driver.cpp
Commit e75325cfc397c562964dd39b47198d73c9e9602a by diego.caballero
[mlir][Affine] Minor clean-up of D79829

Addressing D79829 post-commit comments. Minor changes.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D80814
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.td
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/CMakeLists.txt
The file was modifiedmlir/lib/Analysis/AffineAnalysis.cpp
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineMemoryOpInterfaces.cpp
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.h
Commit c8f1aca316c2ee02347752079b86ba2322a6cf72 by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from Utils

Reviewers: efriedma, c-rhodes, sdesmalen, xbolva00

Reviewed By: c-rhodes

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80337
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
Commit e4d2037a5ccb76e446dc13803b486e2f9b0c7f29 by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from Instrumentation

Reviewers: efriedma, fpetrogalli, kmclaughlin

Reviewed By: fpetrogalli

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80335
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Commit fbac9ce226d7a27e418fdeac72a0b3c9f2c48742 by eschweitz
[flang] Batch together the changes to the PFT intermediate data
structure for upstreaming to llvm-project.

These files have had many changes since they were originally upstreamed.
Some of the changes are cosmetic.  Most of the functional changes were
done to support the lowering of control-flow syntax from the front-end
parse trees to the FIR dialect.

This patch is meant to be a reviewable size. The functionality it
provides will be used by code yet to be upstreamed in lowering.

review comments:

[review D80449][NFC] make PFT ParentVariant a ReferenceVariant

ReferenceVariant had to be slightly updated to also support
non constant references (which is required for ParentType).

[review D80449] extend Variable implementation beyond a comment
The file was addedflang/include/flang/Lower/Utils.h
The file was modifiedflang/test/Lower/pre-fir-tree03.f90
The file was modifiedflang/test/Lower/pre-fir-tree04.f90
The file was modifiedflang/tools/f18/f18.cpp
The file was modifiedflang/test/Lower/pre-fir-tree01.f90
The file was modifiedflang/lib/Lower/PFTBuilder.cpp
The file was modifiedflang/include/flang/Semantics/symbol.h
The file was modifiedflang/test/Lower/pre-fir-tree02.f90
The file was modifiedflang/include/flang/Lower/PFTBuilder.h
Commit 8f8029b4587e120e4cceceebf6d350f881f5d827 by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from InstCombine

Reviewers: efriedma, david-arm, fpetrogalli, spatel

Reviewed By: david-arm

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80334
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 91beb5176b4d5a7cc09c419b9d75cb19f67d0bf9 by ntv
[mlir] NFC - Add debug information for Linalg transformations.

Address post-commit review of https://reviews.llvm.org/D79518
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/include/mlir/IR/PatternMatch.h
Commit a45688a72c63b6359df7c23f2a2895f271d414e9 by valery.n.dmitriev
[SLP] Apply external to vectorizable tree users cost adjustment for
relevant aggregate build instructions only (UserCost).
Users are detected with findBuildAggregate routine and the trick is
that following SLP vectorization may end up vectorizing entire list
with smaller chunks. Cost adjustment then is applied for individual
chunks and these adjustments obviously have to be smaller than the
entire aggregate build cost.

Differential Revision: https://reviews.llvm.org/D80773
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/hsub.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/vec_list_bias.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/alternate-fp.ll
The file was modifiedllvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/hadd.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/alternate-int.ll
Commit 56eb7556e75ca022bfa9b4c6b60a9571b41e2447 by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from AArch64

Reviewers: efriedma, c-rhodes, david-arm, mcrosier, t.p.northover

Reviewed By: efriedma

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, danielkiss, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80327
The file was modifiedllvm/lib/Target/AArch64/AArch64StackTagging.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Commit e6cf402e8364a7a7e483a60aa1fca1213f4fb475 by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from AggressiveInstCombine

Reviewers: efriedma, aymanmus, c-rhodes, david-arm

Reviewed By: david-arm

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80332
The file was modifiedllvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
Commit 7fc225f8c4596d4e51d64e814b21cc49c5e8566b by ntv
[mlir] Fix Windows build

Summary:
MSVC does not seem to like certain forward declarations.

https://reviews.llvm.org/D80728 introduces an error where
seemingly unrelated .cpp files that include the .h
(but do not otherwise use the class that depends on the forward declaration).

Instead of forward declaration, include the full vector ops definition.

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80841
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
Commit 4034d0ce207d0c545799ceae5aaf2e35d400407c by kcc
[libFuzzer] Fixed description of fuzzer merge control file.

Summary:
The description of the fuzzer merge control file appears to be incorrect/out of date.
No "DONE" line appears in the control file. Rather, FT and COV are the markers that appear
following the STARTED line.

Reviewers: metzman, kcc

Reviewed By: kcc

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D80788
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerMerge.h
Commit 5a99ec10f5df7fa351e81b9bc90bf38e670653ae by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from X86

Reviewers: efriedma, sdesmalen, c-rhodes, craig.topper

Reviewed By: craig.topper

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80331
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86PartialReduction.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InterleavedAccess.cpp
Commit 03559c684a9bfe4de142fa4a7d2ef1edf08a8ad3 by vsapsai
[diagtool] Install diagtool when LLVM_INSTALL_TOOLCHAIN_ONLY is ON.

Not sure about other platforms but `install-xcode-toolchain` was already
including diagtool in the toolchain. This change makes it possible to
install diagtool during Apple's 2-stage build.

Instead of dropping `if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)` conditional
I've switched to `add_clang_tool` which handles install targets. Also a
few other clang tools like clang-format, clang-scan-deps are using this
macro, so it is good to be consistent.

rdar://problem/15386909

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D80770
The file was modifiedclang/tools/diagtool/CMakeLists.txt
Commit 7265ff928a974a844b6301c139cbb0f957532da9 by maskray
[libc++] Fix issues with the triviality of std::array

The Standard is currently unimplementable. We have to pick between:

1. Not implementing constexpr support properly in std::array<T, 0>
2. Making std::array<T, 0> non-trivial even when T is trivial
3. Returning nullptr from std::array<T, 0>::begin()

Libc++ initially picked (1). In 77b9abfc8e89, we started implementing constexpr properly, but lost the guarantee of triviality. Since it seems like both (1) and (2) are really important, it seems like (3) is the only viable option for libc++, after all. This is also what other implementations are doing.

This patch moves libc++ from (1) to (3).

It also:
- Improves the test coverage for the various ways of initializing std::array
- Adds tests for the triviality of std::array
- Adds tests for the aggregate-ness of std::array

Reviewed By: #libc, miscco, EricWF, zoecarver

Differential Revision: https://reviews.llvm.org/D80821
The file was addedlibcxx/test/libcxx/containers/sequences/array/triviality.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.data/data.pass.cpp
The file was removedlibcxx/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.data/data_const.pass.cpp
The file was modifiedlibcxx/include/array
The file was removedlibcxx/test/std/containers/sequences/array/array.cons/default.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/aggregate.pass.cpp
The file was addedlibcxx/test/std/containers/sequences/array/array.cons/initialization.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/iterators.pass.cpp
Commit c652c306a6aa3b356cebae78caf4b33b63afb866 by thomasraoux
[mlir][spirv] Clean up coop matrix assembly declaration.

Address code review feedback and use declarative assembly format.

Differential Revision: https://reviews.llvm.org/D80687
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVCooperativeMatrixOps.td
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/cooperative-matrix.mlir
The file was modifiedmlir/test/Dialect/SPIRV/cooperative-matrix.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
Commit 14f49599ccafc7e318fac609387c4dd68430925f by tkeith
[flang][NFC] Remove link-time dependency of Evaluate on Semantics

Summary:
Some Symbol-related functions used in Evaluate were moved to
Evaluate/tools.h. This includes changing some member functions that were
replaced by non-member functions `IsDummy`, `GetUsedModule`, and
`CountLenParameters`.

Some member functions were made inline in `Scope`, `Symbol`,
`ArraySpec`, and `DeclTypeSpec`. The definitions were preceded by a
comment explaining why they are inline.

`IsConstantShape` was expanded inline in `IsDescriptor` because it isn't
used anywhere else

After this change, at least when compiling with clang on macos,
`libFortranEvaluate.a` has no undefined symbols that are satisfied by
`libFortranSemantics.a`.

Reviewers: klausler, PeteSteinfeld, sscalpone, jdoerfert, DavidTruby

Reviewed By: PeteSteinfeld

Subscribers: llvm-commits

Tags: #flang, #llvm

Differential Revision: https://reviews.llvm.org/D80762
The file was modifiedflang/include/flang/Semantics/type.h
The file was modifiedflang/lib/Semantics/symbol.cpp
The file was modifiedflang/include/flang/Semantics/symbol.h
The file was modifiedflang/lib/Evaluate/tools.cpp
The file was modifiedflang/lib/Semantics/check-declarations.cpp
The file was modifiedflang/lib/Semantics/resolve-names-utils.cpp
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/lib/Evaluate/type.cpp
The file was modifiedflang/lib/Semantics/tools.cpp
The file was modifiedflang/include/flang/Semantics/tools.h
The file was modifiedflang/lib/Semantics/mod-file.cpp
The file was modifiedflang/include/flang/Evaluate/tools.h
The file was modifiedflang/lib/Evaluate/check-expression.cpp
The file was modifiedflang/lib/Semantics/type.cpp
The file was modifiedflang/lib/Semantics/compute-offsets.cpp
The file was modifiedflang/include/flang/Semantics/scope.h
The file was modifiedflang/lib/Semantics/scope.cpp
Commit 7d77b0545dd850f59209c47ea03cde048673b8dd by thakis
[gn build] (manually) port 0e265e31578
The file was addedllvm/utils/gn/secondary/clang/lib/Testing/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
Commit 7318e2400009ca07f059a047674b010a0c77081f by Tony.Tye
[AMDGPU] Add loaded code object path URI definition to AMDGPUUsage

Differential Revision: https://reviews.llvm.org/D80407
The file was modifiedllvm/docs/AMDGPUUsage.rst
Commit 26c070c8db165f8692751881fa3aa6793302717a by llvmgnsyncbot
[gn build] Port 34cfed24ebd
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/MC/BUILD.gn
Commit 02f6f1ebb1f16e7e324df5201ce7003a4d9f2570 by llvmgnsyncbot
[gn build] Port cf6cc662eee
The file was modifiedllvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Commit 77b1ed4b4a492d5236f936f14caedd44b275e472 by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from Linker

Reviewers: efriedma, tejohnson, sdesmalen, c-rhodes

Reviewed By: efriedma

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80326
The file was modifiedllvm/lib/Linker/IRMover.cpp
Commit 3f0841f6d0a0eb86a1c36cc0c76931ae9d7bc77a by jared.wyles
[jitlink] R_X86_64_PC32 support for the elf x86 jitlinker

Summary:

Adding in our first relocation type, and all the required plumbing to support the rest in following patches

Differential Revision: https://reviews.llvm.org/D80613

Reviewer: lhames
The file was modifiedllvm/test/ExecutionEngine/JITLink/X86/ELF_x86-64_relocations.s
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
Commit aad936548247107b1afd92ea9229b396564063b9 by ctetreau
[SVE] Eliminate calls to default-false VectorType::get() from AMDGPU

Reviewers: efriedma, david-arm, fpetrogalli, arsenm

Reviewed By: david-arm

Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, tschuett, hiraditya, rkruppe, psnobl, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80328
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
Commit f012c58abdb086ea093d48e7a705f98f9e9561c6 by Matthew.Arsenault
AMDGPU: Move MIMG MMO check to verifier
The file was modifiedllvm/test/CodeGen/AMDGPU/memory_clause.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/MIMGInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/waitcnt-preexisting.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/waitcnt-vmem-waw.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/coalescer-subreg-join.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/postra-bundle-memops.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-image-sample.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/merge-image-load.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/nsa-vmem-hazard.mir
Commit 4f300d499631504acdd32219254e939697202285 by Matthew.Arsenault
AMDGPU: Add new baseline tests for setreg handling

Most of these should be identical and use a common prefix, but
update_llc_test_checks is failing to generate shared checks for some
reason.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.setreg.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.setreg.ll
Commit 0892a96a05a8943457a4a3e2547923087aa06226 by Matthew.Arsenault
AMDGPU: Optimize s_setreg_b32 to s_denorm_mode/s_round_mode

This is a custom inserter because it was less work than teaching
tablegen a way to indicate that it is sometimes OK to have a no side
effect instruction in the output of a side effecting pattern.

The asm is needed to look like a read of the mode register to prevent
it from being deleted. However, there seems to be a bug where the mode
register def instructions are moved across the asm sideeffect by the
post-RA scheduler.

Another oddity is the immediate is formatted differently between
s_denorm_mode and s_round_mode.
The file was modifiedllvm/lib/Target/AMDGPU/SOPInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.setreg.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIDefines.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.setreg.ll
Commit d04147789ff0b838f9dd6c592207d5f70bc0d025 by carl.ritson
[AMDGPU] Remove assertion on S1024 SGPR to VGPR spill

Summary:
Replace an assertion that blocks S1024 SGPR to VGPR spill.
The assertion pre-dates S1024 and is not wave size dependent.

Reviewers: arsenm, sameerds, rampitec

Reviewed By: arsenm

Subscribers: qcolombet, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80783
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-wide-sgpr.ll
Commit 034a7b6604067b0ccb36c761a5782456b76c447e by maskray
[ValueLattice] Fix uninitialized-value after D79036

Many check-clang-codegen tests failed.
The file was modifiedllvm/include/llvm/Analysis/ValueLattice.h
Commit c554c5e159aee43c5cd8236e077817e9f29dea78 by echristo
Fix full unrolling with new pass manager.

Last we looked at this and couldn't come up with a reason to change
it, but with a pragma for full loop unrolling we bypass every other
loop unroll and then fail to fully unroll a loop when the pragma is set.

Move the OnlyWhenForced out of the check and into the initialization
of the full unroll pass in the new pass manager. This doesn't show up
with the old pass manager.

Add a new option to opt so that we can turn off loop unrolling
manually since this is a difference between clang and opt.

Tested with check-clang and check-llvm.
The file was modifiedllvm/tools/opt/NewPMDriver.cpp
The file was addedllvm/test/Transforms/LoopUnroll/FullUnroll.ll
The file was modifiedclang/test/Misc/loop-opt-setup.c
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit c2bb26d8613338b93a1aab54631d01e6a690bc29 by echristo
NFC: Simplify O1 pass pipeline construction.

Pull O1 pass pipeline out into a separate function and simplify
buildFunctionSimplificationPipeline accordingly.
The file was modifiedllvm/include/llvm/Passes/PassBuilder.h
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
Commit 21fee0921d563f407e07b5e28592c2925da3704d by joker.eph
Use .empty() instead of .size() == 0 (NFC)

Cleanup / Fix a clang-tidy warning
The file was modifiedmlir/lib/Transforms/BufferPlacement.cpp
Commit 0800529fe605a03e9da1aca241a377eebcaa8cad by Jonas Devlieghere
[lldb/Bindings] Raise exception when using properties that rely on lldb.target

Several SBAddress properties use the lldb.target or lldb.process
convenience variables which are only set under the interactive script
interpreter. Unfortunately, users have been using these properties in
Python script and commands. This patch raises a Python exception to
force users to use GetLoadAddress instead.

Differential revision: https://reviews.llvm.org/D80848
The file was modifiedlldb/bindings/interface/SBAddress.i
The file was addedlldb/test/Shell/ScriptInterpreter/Python/Inputs/sbaddress.py
The file was addedlldb/test/Shell/ScriptInterpreter/Python/sb_address_exception.test
Commit 20c9bb44ec1a4a795215ff6964d264219f9b05f2 by SourabhSingh.Tomar
[DWARF5] Added support for emission of .debug_macro.dwo section

This patch adds support for emission of following DWARFv5 macro
forms in .debug_macro.dwo section:

- DW_MACRO_start_file
- DW_MACRO_end_file
- DW_MACRO_define_strx
- DW_MACRO_undef_strx

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D78866
The file was modifiedllvm/include/llvm/MC/MCObjectFileInfo.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was addedllvm/test/DebugInfo/X86/debug-macro-dwo.ll
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
Commit 2388a096e7865c043e83ece4e26654bd3d1a20d5 by Jonas Devlieghere
[lldb/Test] use GetLoadAddress from scripted thread plan

Commit 0800529fe605 adds a runtime error which triggers when using
SBAddress properties that use the current process/target from a
non-interactive session. TestThreadPlanCommands.py was doing exactly
this and this patch fixes that by use GetLoadAddress instead.
The file was modifiedlldb/test/API/functionalities/thread_plan/wrap_step_over.py