AbortedChanges

Summary

  1. [ConstraintElimination] Add add/sub/and/or test cases. (details)
  2. Fix Windows/MSVC build after 6e56046f65 (details)
  3. Raise the timeout in DirectoryWatcherTest to 10 s (details)
  4. [AArch64] add cost model test for scalable vector math; NFC (details)
  5. [lldb] Fill Watch/AppleTV simulator gaps in PlatformDarwin (details)
  6. [lldb] Don't let dotest silently fall back to default SDK if the specified one can't be found (details)
  7. [lldb] Don't add no-sandbox entitlement when running tests on simulator (details)
  8. [clang] Improve handling of physical registers in inline assembly operands. (details)
  9. [libc++] Update the <version> header in-place from generate_feature_test_macro_components (details)
  10. [clangd] Propagate CollectMainFileRefs to BackgroundIndex (details)
  11. Revert "Raise the timeout in DirectoryWatcherTest to 10 s" (details)
  12. [Analysis] findAffectedValues - remove unused ConstantInt argument. NFCI. (details)
  13. [InstCombine] visitTrunc - pass through undefs for trunc(shift(trunc/ext(x),c)) patterns (details)
  14. [ThinLTO][Documentation] Mention possible values for concurrency flags (details)
  15. [TableGen] Add new section to the TableGen Programmer's Reference. (details)
  16. [lldb][NFC] Fix some invalid escapes sequences in Python strings (details)
  17. Fix all the CMake code that can only handle -stdlib= but not --stdlib= (details)
  18. [mlir-vulkan-runner] Clean up some stale CMake configurations (details)
  19. [MLIR][SPIRV] Support identified and recursive structs. (details)
  20. [x86] add tests for cost model kinds of intrinsics; NFC (details)
  21. [InstructionSimplify] Precommit tests for D89317. NFC. (details)
  22. [AArch64] fix spacing in test's RUN lines; NFC (details)
  23. [SyntaxTree] Fix rtti for `Expression`. (details)
  24. [WebAssembly] Added .tabletype to asm and multiple table support in obj files (details)
  25. [lldb] Add targets for running test suite against Watch/TV/iPhone simulators (details)
  26. [lldb][NFC] Remove property predicate matcher (details)
  27. [lldb] Remove all the RegisterInfo name constification code (details)
  28. [lldb] Allow limiting the number of error diagnostics when parsing an expression (details)
  29. [lldb][cmake] Remove custom logic for finding VCS file to fix LLDB's VCSVersion.inc generation (details)
  30. [AMDGPU][GlobalISel] Compute known bits for zero-extending loads (details)
  31. [mlir][gpu] Add `gpu.wait` op. (details)
  32. [x86] add cost model test for memcpy; NFC (details)
  33. [CostModel] rearrange basic intrinsic cost implementation (details)
  34. [NFC][Regalloc] Use MCRegister in MachineCopyPropagation (details)
  35. [compiler-rt] Allow override of 'emulator' value from lit_config. (details)
  36. AMDGPU: Remove -mamdgpu-debugger-abi option (details)
  37. LLD/AMDGPU: Infer os abi based on input llvm bitcode (details)
  38. [libc++] Allow passing relative paths to the Apple install script (details)
  39. [mlir][Linalg] Fix TensorConstantOp bufferization in Linalg. (details)
  40. [mlir] Fix sporadic build failures due to missing dependency (details)
  41. [LoopVersioningLICM] Fix noalias metadata emission (details)
  42. [ASAN] Make sure we are only processing lifetime markers with offset 0 to alloca (details)
  43. [analyzer] NFC: Separate PathDiagnosticConsumer options from AnalyzerOptions. (details)
  44. [analyzer] NFC: Move IssueHash to libAnalysis. (details)
  45. [analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis. (details)
  46. [gn build] Port 44b7cf2983b (details)
  47. [gn build] Port b76dc111dd0 (details)
  48. [PowerPC] Add assemble disassemble intrinsics for MMA (details)
  49. [DebugInfo][docs] Document DILabel in LangRef (details)
  50. Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis." (details)
  51. Revert "[analyzer] NFC: Move IssueHash to libAnalysis." (details)
  52. Revert "[analyzer] NFC: Separate PathDiagnosticConsumer options from AnalyzerOptions." (details)
  53. [MemCpyOpt] Don't shorten memset if destination observable through unwinding (details)
  54. [gn build] Port 662ed9e67ad (details)
  55. [gn build] Port 77bb3ebebbc (details)
  56. [MemCpyOpt] Don't shorten memset if memcpy operands may be the same (details)
  57. [SCEV] BuildConstantFromSCEV(): actually properly handle SExt-of-pointer case (details)
  58. [Statepoints] Update statepoint mir tests. (details)
  59. Revert "DirectoryWatcher: add an implementation for Windows" (details)
  60. [MemCpyOpt] Fix MemorySSA preservation (details)
  61. [mlir][nfc] Add a func to compute numElements of a shape in Std -> LLVM. (details)
  62. [MemCpyOpt] Add test scaffolding for MSSA based MemCpyOpt (details)
  63. [X86] Add test cases for PR47825. NFC (details)
  64. [LICM] Don't require AST in LoopPromoter (NFC) (details)
  65. [mlir][Python] Add missing capsule->module and Context.create_module. (details)
  66. Reland [CFGuard] Add address-taken IAT tables and delay-load support (details)
  67. [mlir-cuda-runner] Unbreak the build (details)
  68. Support: Add operator== for MemoryBufferRef and split out MemoryBufferRef.h (details)
  69. Support: Allow use of MemoryBufferRef with line_iterator (details)
  70. [AIX] Support two itanium alignment LIT testcases for AIX using regex (details)
  71. [gn build] Port f0875971249 (details)
  72. [AMDGPU] Add MC layer support for v_fmac_legacy_f32 (details)
  73. [mlir][Linalg] Lower padding attribute for pooling ops (details)
  74. [MLIR] Add a foldTrait() mechanism to allow traits to define folding and test it with an Involution trait (details)
  75. Basic: Simplify SourceManager::getBuffer overload, NFC (details)
  76. Remove unused SideEffectInterfaces header (details)
Commit 2322080bc3889145b7fb3c8798016467fe5e3b10 by flo
[ConstraintElimination] Add add/sub/and/or test cases.

This adds a new set of tests for upcoming constraint elimination
changes.
The file was addedllvm/test/Transforms/ConstraintElimination/sub-nuw.ll
The file was addedllvm/test/Transforms/ConstraintElimination/or.ll
The file was addedllvm/test/Transforms/ConstraintElimination/add-nuw.ll
The file was addedllvm/test/Transforms/ConstraintElimination/sub.ll
The file was addedllvm/test/Transforms/ConstraintElimination/add.ll
The file was addedllvm/test/Transforms/ConstraintElimination/and.ll
Commit 836d0addee4a2ce07d09d68484823221cbb062b7 by eleviant
Fix Windows/MSVC build after 6e56046f65

Commit 6e56046f65 may trigger SEGV in llvm-tablegen if the latter
is built with -DLLVM_OPTIMIZED_TABLEGEN=OFF. The reason of SEGV was
accessing stale memory after expansion of std::vector.
The file was modifiedllvm/utils/TableGen/CodeGenSchedule.cpp
Commit bddef54c502811fa1406d1161d4baa15b56ebc32 by hans
Raise the timeout in DirectoryWatcherTest to 10 s

After D88666, which implemented DirectoryWatcher on Windows, we're
seeing test failures on Chromium's Windows bots.

Try raising the timeout in case the test is failing due to high load on
the machine.
The file was modifiedclang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
Commit 937d782e38d44d078342cb6358c41db7a5795d00 by spatel
[AArch64] add cost model test for scalable vector math; NFC

Testing for the various cost model "TargetCostKind" is limited,
and testing for scalable vectors is limited. The motivating
example of an intrinsic is not included here yet because that
just crashes.
The file was addedllvm/test/Analysis/CostModel/AArch64/sve-math.ll
Commit f4f4d54ae0d8971e67fd64e10d700804105b720c by Raphael Isemann
[lldb] Fill Watch/AppleTV simulator gaps in PlatformDarwin

When running the test suite against the Watch/AppleTV simulator we currently hitting
the unimplemented parts of PlatformDarwin for the respective simulator platforms.

This just adds the respective switch cases.

This whole code path depends on having a valid Target, so can't just unittest this code
without refactoring it. So instead this is tested by just running the testsuite against
the respective simulators (which is how I found this).

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D89106
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
Commit 480c440f9a3cf3434355f24217cfa430dc1cabda by Raphael Isemann
[lldb] Don't let dotest silently fall back to default SDK if the specified one can't be found

If the SDK name passed to dotest can't be found by `xcrun` we silently fall back
to the default SDK. This leads to rather cryptic errors being reported later on
when linking the actual test executables.

Instead just directly log and abort when this situation is encountered and
inform the user about the invalid argument.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D89053
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
Commit dfc72439529c49e8bfeab9d604b1aa1cac7d89e8 by Raphael Isemann
[lldb] Don't add no-sandbox entitlement when running tests on simulator

It seems that if codesigning the test executables with the
`com.apple.private.security.no-sandbox` entitlement then the simulator refuses
to launch them and every test fails with `Process launch failed: process exited
with status -1 (no such process.)`.

This patch checks if we're trying to run the test suite on the simulator and
then avoids signing the executable with `no-sandbox`.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D89052
The file was modifiedlldb/packages/Python/lldbsuite/test/builders/darwin.py
The file was addedlldb/packages/Python/lldbsuite/test/make/entitlements-simulator.plist
Commit c78da037783bda0f27f4d82060149166e6f0c796 by paulsson
[clang] Improve handling of physical registers in inline assembly operands.

Change EmitAsmStmt() to

- Not tie physregs with the "+r" constraint, but instead add the hard
  register as an input constraint. This makes "+r" and "=r":"r" look the same
  in the output.

  Background: Macro intensive user code may contain inline assembly
  statements with multiple operands constrained to the same physreg. Such a
  case (with the operand constraints "+r" : "r") currently triggers the
  TwoAddressInstructionPass assertion against any extra use of a tied
  register. Furthermore, TwoAddress will insert a COPY to that physreg even
  though isel has already done so (for the non-tied use), which may lead to a
  second redundant instruction currently. A simple fix for this is to not
  emit tied physreg uses in the first place for the "+r" constraint, which is
  what this patch does.

- Give an error on multiple outputs to the same physical register.

  This should be reported and this is also what GCC does.

Review: Ulrich Weigand, Aaron Ballman, Jennifer Yu, Craig Topper

Differential Revision: https://reviews.llvm.org/D87279
The file was addedclang/test/CodeGen/systemz-inline-asm-02.c
The file was modifiedclang/test/CodeGen/systemz-inline-asm.c
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
Commit 647fb6b37488080efd8dd5e5a40d21e926b6e726 by Louis Dionne
[libc++] Update the <version> header in-place from generate_feature_test_macro_components

This simplifies the workflow for adding new feature-test macros for
contributors. Previously, they would have to move the generated <version>
header from a temporary directory to libc++'s include directory by hand.
This makes the behavior for the <version> header consistent with what's
done for the tests and the documentation.
The file was modifiedlibcxx/docs/DesignDocs/FeatureTestMacros.rst
The file was modifiedlibcxx/utils/generate_feature_test_macro_components.py
Commit cb3c13fab6beac4666865b68bea59aae593aaf83 by zeratul976
[clangd] Propagate CollectMainFileRefs to BackgroundIndex

This appears to have been an omission in D83536.

Differential Revision: https://reviews.llvm.org/D89284
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
Commit f84c77f424e15316f7f46f484880162a7cbcd80b by hans
Revert "Raise the timeout in DirectoryWatcherTest to 10 s"

It didn't help.

This reverts commit bddef54c502811fa1406d1161d4baa15b56ebc32.
The file was modifiedclang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
Commit 2e604d23b42e2b59b8884c7b4c2f27b62cba5fe3 by llvm-dev
[Analysis] findAffectedValues - remove unused ConstantInt argument. NFCI.

We can use m_ConstantInt without a result value as we don't ever use it.
The file was modifiedllvm/lib/Analysis/AssumptionCache.cpp
Commit 9c3138bd6d8b3e303f0f711753506b330ffa8df0 by llvm-dev
[InstCombine] visitTrunc - pass through undefs for trunc(shift(trunc/ext(x),c)) patterns

Based on the recent patches D88475 and D88429 where we are losing undef values due to extension/comparisons.

I've added a Constant::mergeUndefsWith method that merges the undef scalar/elements from another Constant into a specific Constant.

Differential Revision: https://reviews.llvm.org/D88687
The file was modifiedllvm/test/Transforms/InstCombine/cast.ll
The file was modifiedllvm/include/llvm/IR/Constant.h
The file was modifiedllvm/test/Transforms/InstCombine/trunc-shift-trunc.ll
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Commit 1dbf05f5b44db17dcd8520b032e83061189ff4f8 by alexandre.ganea
[ThinLTO][Documentation] Mention possible values for concurrency flags

Differential Revision: https://reviews.llvm.org/D89309
The file was modifiedclang/docs/ThinLTO.rst
Commit 04b2191d69717d671cc4b5d007aac399a9e60bf6 by paul
[TableGen] Add new section to the TableGen Programmer's Reference.
Fix typos in it and the TableGen Backend Developer's Guide.
The file was modifiedllvm/docs/TableGen/BackGuide.rst
The file was modifiedllvm/docs/TableGen/ProgRef.rst
Commit 777df5c93da893819e9586949531ba9aaec97e1f by Raphael Isemann
[lldb][NFC] Fix some invalid escapes sequences in Python strings

I recently had to run the test suite with a debug Python which got started
warning about some invalid escape sequences in LLDB's Python code. They all
attempt to add a backslash by doing a single backslash instead of a double
backslash in a normal string. This seems to work fine for now, but Python says
this behaviour is deprecated, so this patch turns all those strings into raw
strings (where a single backslash is actually a single backslash)

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D88289
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was modifiedllvm/utils/lit/lit/llvm/config.py
Commit 6b7a49bb43d58c2c08fddb9f6c538ee52806de0a by Raphael Isemann
Fix all the CMake code that can only handle -stdlib= but not --stdlib=

There are several places in LLVM's CMake setup that try to remove the
`stdlib=...` flag from the CMake flags. All this code however only considered
the `-stdlib=` variant of the flag but not the alternative spelling with a
double dash. This causes that when one adds `--stdlib=...` to the user-provided
CMake flags that this gets transformed into just `-` which ends up causing the
build system to think it should read the source from stdin (which then lead to
very confusing build errors).

This just adds the alternative spelling before the`-stdlib=` variant in all
these places

Reviewed By: ldionne

Differential Revision: https://reviews.llvm.org/D87133
The file was modifiedlibunwind/CMakeLists.txt
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibcxxabi/CMakeLists.txt
Commit 08e4e08d7192c5523751e75030689ebb4a279445 by antiagainst
[mlir-vulkan-runner] Clean up some stale CMake configurations
The file was modifiedmlir/tools/mlir-vulkan-runner/CMakeLists.txt
Commit bddaa7a84868cf91d35b896ff773a269bae640df by antiagainst
[MLIR][SPIRV] Support identified and recursive structs.

This PR adds support for identified and recursive structs.
This includes: parsing, printing, serializing, and
deserializing such structs.

The following C struct:

```C
struct A {
  A* next;
};
```

which is translated to the following MLIR code as:

```mlir
!spv.struct<A, (!spv.ptr<!spv.struct<A>, Generic>)>
```

would be represented in the SPIR-V module as:

```spirv
OpName %A "A"
OpTypeForwardPointer %APtr Generic
%A = OpTypeStruct %APtr
%APtr = OpTypePointer Generic %A
```

In particular the following changes are included:
- SPIR-V structs can now be either identified or literal
  (i.e. non-identified).
- All structs now have their members surrounded by a ()-pair.
- For recursive references,
  (1) an OpTypeForwardPointer instruction is emitted before
  the OpTypeStruct instruction defining the recursive struct
  (2) an OpTypePointer instruction is emitted after the
  OpTypeStruct instruction which actually defines the recursive
  pointer to struct type.

Reviewed By: antiagainst, rriddle, ftynse

Differential Revision: https://reviews.llvm.org/D87206
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/inlining.mlir
The file was modifiedmlir/test/Dialect/SPIRV/types.mlir
The file was modifiedmlir/test/Conversion/StandardToSPIRV/alloc.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/vce-deduction.mlir
The file was modifiedmlir/test/Dialect/SPIRV/composite-ops.mlir
The file was modifiedmlir/test/Conversion/GPUToVulkan/lower-gpu-launch-vulkan-launch.mlir
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/abi-interface.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
The file was modifiedmlir/test/Dialect/SPIRV/cooperative-matrix.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/struct.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/composite-op.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/debug.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/abi-interface-opencl.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/rewrite-inserts.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/LayoutUtils.cpp
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.mlir
The file was modifiedmlir/test/Dialect/SPIRV/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/LowerABIAttributesPass.cpp
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/abi-load-store.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/simple.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm-invalid.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/module-structure-opencl.mlir
The file was modifiedmlir/test/Dialect/SPIRV/structure-ops.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/layout-decoration.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/if.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/misc-ops-to-llvm.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/memory-ops-to-llvm.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/memory-ops.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/DecorateSPIRVCompositeTypeLayoutPass.cpp
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-types-to-spirv.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/loop.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/load-store.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/spec-constant.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/undef.mlir
The file was modifiedmlir/test/Dialect/SPIRV/ops.mlir
Commit fab028b914c64db710c808250873c61d8ff716a2 by spatel
[x86] add tests for cost model kinds of intrinsics; NFC

This provides coverage for existing special-cases and
a sampling of other intrinsics. Current output appears
to be wrong in several cases.
The file was addedllvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
Commit 66f22411e1bba6eca935fd6447c5dceba48e2e35 by sjoerd.meijer
[InstructionSimplify] Precommit tests for D89317. NFC.
The file was modifiedllvm/test/Transforms/InstSimplify/compare.ll
Commit 1c90878e60d7cae74552425475faa5a87562e4b3 by spatel
[AArch64] fix spacing in test's RUN lines; NFC
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-math.ll
Commit a8f1790fdb8ce1c53f024870cd51f32724d4c55f by ecaldas
[SyntaxTree] Fix rtti for `Expression`.

Differential Revision: https://reviews.llvm.org/D89146
The file was modifiedclang/include/clang/Tooling/Syntax/Nodes.h
Commit 388fb67b0dd7f41630ab6c3400c96843852319af by sbc
[WebAssembly] Added .tabletype to asm and multiple table support in obj files

Adds more testing in basic-assembly.s and a new test tables.s.
Adds support to yaml reading and writing of tables as well.

Differential Revision: https://reviews.llvm.org/D88815
The file was modifiedllvm/test/tools/llvm-readobj/wasm/wasm-imports.test
The file was modifiedllvm/include/llvm/ObjectYAML/WasmYAML.h
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp
The file was modifiedllvm/test/MC/WebAssembly/global-ctor-dtor.ll
The file was modifiedlld/test/wasm/export-table.test
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
The file was modifiedllvm/test/MC/WebAssembly/wasm64.s
The file was modifiedlld/test/wasm/weak-alias-overide.ll
The file was modifiedllvm/test/MC/WebAssembly/assembler-binary.ll
The file was modifiedlld/test/wasm/shared.ll
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h
The file was modifiedllvm/lib/MC/WasmObjectWriter.cpp
The file was modifiedlld/test/wasm/locals-duplicate.test
The file was modifiedllvm/lib/ObjectYAML/WasmYAML.cpp
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedllvm/test/Object/wasm-relocs-and-producers.yaml
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedllvm/test/MC/WebAssembly/reloc-pic.s
The file was modifiedlld/test/wasm/stack-pointer.ll
The file was addedllvm/test/MC/WebAssembly/tables.s
The file was modifiedlld/test/wasm/call-indirect.ll
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
The file was modifiedllvm/test/MC/WebAssembly/comdat.ll
The file was modifiedlld/test/wasm/weak-alias.ll
The file was modifiedllvm/test/ObjectYAML/wasm/table_section.yaml
The file was modifiedlld/test/wasm/undefined-weak-call.ll
The file was modifiedllvm/test/MC/WebAssembly/data-section.s
The file was modifiedlld/test/wasm/growable-table.test
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp
The file was modifiedlld/test/wasm/alias.s
The file was modifiedllvm/test/MC/WebAssembly/type-index.s
The file was modifiedlld/wasm/WriterUtils.cpp
The file was modifiedlld/test/wasm/shared-memory.yaml
The file was modifiedllvm/lib/BinaryFormat/Wasm.cpp
The file was modifiedllvm/include/llvm/MC/MCSymbolWasm.h
The file was modifiedllvm/test/MC/WebAssembly/basic-assembly.s
The file was modifiedllvm/test/MC/WebAssembly/weak-alias.s
The file was modifiedlld/test/wasm/import-table.test
The file was modifiedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was modifiedllvm/test/ObjectYAML/wasm/import_section.yaml
The file was modifiedlld/test/wasm/weak-undefined.ll
The file was modifiedlld/test/wasm/relocatable.ll
The file was modifiedlld/test/wasm/pie.ll
The file was modifiedllvm/test/ObjectYAML/wasm/elem_section.yaml
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
The file was modifiedllvm/tools/obj2yaml/wasm2yaml.cpp
The file was modifiedlld/test/wasm/shared-memory-no-atomics.yaml
The file was modifiedlld/test/wasm/local-symbols.ll
The file was modifiedlld/test/wasm/weak-symbols.ll
The file was modifiedllvm/include/llvm/Object/Wasm.h
Commit ef733d9df486884aa33de9f5a9f6bade4e70f187 by Raphael Isemann
[lldb] Add targets for running test suite against Watch/TV/iPhone simulators

This patch adds several build system targets that run the normal test suite but
against the Watch/TV/iPhone simulators.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D89224
The file was modifiedlldb/test/API/lit.cfg.py
The file was modifiedlldb/test/CMakeLists.txt
Commit 4cd873c4bd7ff66d4af2bf5e57c27e6924bfc92a by Raphael Isemann
[lldb][NFC] Remove property predicate matcher

That's supposed to be used to implement things such as `settings set target.run-args{basename==test&&arch==x86_64} arg1`
but it's not actually fully implemented or tested anywhere.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D88910
The file was modifiedlldb/include/lldb/Interpreter/OptionValueProperties.h
The file was modifiedlldb/source/Interpreter/OptionValueProperties.cpp
Commit 24e07570cc928b75e894b81639cabe96c660ccef by Raphael Isemann
[lldb] Remove all the RegisterInfo name constification code

RegisterInfo's `reg_name`/`reg_alt_name` fields are C-Strings and are supposed
to only be generated from a ConstString. The reason for that is that
`DynamicRegisterInfo::GetRegisterInfo` and
`RegInfoBasedABI::GetRegisterInfoByName` try to optimise finding registers by
name by only comparing the C string pointer values instead of the underlying
strings. This only works if both C strings involved in the comparison come from
a ConstString. If one of the two C strings doesn't come from a ConstString the
comparison won't work (and most likely will silently fail).

I added an assert in b0060c3a7868ef026d95d0cf8a076791ef74f474 which checks that
both strings come from a ConstString. Apparently not all ABI plugins are
generating their register names via ConstString, so this code is now not just
silently failing but also asserting.

In D88375 we did a shady fix for the MIPS plugins by just copying the
ConstString setup code to that plugin, but we still need to fix ABISysV_arc,
ABISysV_ppc and ABISysV_ppc64 plugins.

I would say we just fix the remaining plugins by removing the whole requirement
to have the register names coming from ConstStrings. I really doubt that we
actually save any time with the whole ConstString search trick (searching ~50
strings that have <4 characters doesn't sound more expensive than calling the
really expensive ConstString constructor + comparing the same amount of pointer
values). Also whatever small percentage of LLDB's runtime is actually spend in
this function is anyway not worth the complexity of this approach.

This patch just removes all this and just does a normal string comparison.

Reviewed By: JDevlieghere, labath

Differential Revision: https://reviews.llvm.org/D88490
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.cpp
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.cpp
The file was modifiedlldb/source/Target/ABI.cpp
The file was modifiedlldb/include/lldb/Target/ABI.h
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp
Commit 02114e15daad7f02e65289412d37334618386ce5 by Raphael Isemann
[lldb] Allow limiting the number of error diagnostics when parsing an expression

While debugging another bug I found out that we currently don't set any limit
for the number of diagnostics Clang emits. If a user does something that
generates a lot of errors (like including some long header file from within the
expression function), then we currently spam the LLDB output with potentially
thousands of Clang error diagnostics.

Clang sets a default limit of 20 errors, but given that LLDB is often used
interactively for small expressions I would say a limit of 5 is enough. The
limit is implemented as a setting, so if a user cares about seeing having a
million errors printed to their terminal then they can just increase the
settings value.

Reviewed By: shafik, mib

Differential Revision: https://reviews.llvm.org/D88889
The file was modifiedlldb/include/lldb/Target/Target.h
The file was addedlldb/test/API/commands/expression/error-limit/main.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was addedlldb/test/API/commands/expression/error-limit/Makefile
The file was addedlldb/test/API/commands/expression/error-limit/TestExprErrorLimit.py
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/source/Target/TargetProperties.td
Commit 6733b2544794f2703f19f07aa7c6806408e36160 by Raphael Isemann
[lldb][cmake] Remove custom logic for finding VCS file to fix LLDB's VCSVersion.inc generation

We are still implementing our own logic for this that looks for a VCS file in
the place where it was before the monorepo migration. This removes this logic
and just uses the CMake function that LLVM/Clang are using.

Reviewed By: JDevlieghere, kastiglione

Differential Revision: https://reviews.llvm.org/D88950
The file was modifiedlldb/source/CMakeLists.txt
Commit b59d8d7c72546bf3f81889f4ce02a68c902eddd2 by jay.foad
[AMDGPU][GlobalISel] Compute known bits for zero-extending loads

Implement computeKnownBitsForTargetInstr for G_AMDGPU_BUFFER_LOAD_UBYTE
and G_AMDGPU_BUFFER_LOAD_USHORT. This allows generic combines to remove
some unnecessary G_ANDs.

Differential Revision: https://reviews.llvm.org/D89316
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.load.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.ll
Commit db1cf3d9ab33f56fcaea616baa71c6e4036beffa by csigg
[mlir][gpu] Add `gpu.wait` op.

This combines two separate ops (D88972: `gpu.create_token`, D89043: `gpu.host_wait`) into one.

I do after all like the idea of combining the two ops, because it matches exactly the pattern we are
going to have in the other gpu ops that will implement the AsyncOpInterface (launch_func, copies, alloc):

If the op is async, we return a !gpu.async.token. Otherwise, we synchronize with the host and don't return a token.

The use cases for `gpu.wait async` and `gpu.wait` are further apart than those of e.g. `gpu.h2d async` and `gpu.h2d`,
but I like the consistent meaning of the `async` keyword in GPU ops.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D89160
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/test/Dialect/GPU/invalid.mlir
The file was modifiedmlir/test/Dialect/GPU/ops.mlir
Commit 1b94261e36f18bdc17097078518df448b67c84ea by spatel
[x86] add cost model test for memcpy; NFC

This is treated as a special-case in the base class
implementation of getIntrinsicInstrCost().
The file was modifiedllvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
Commit ef748583c24d7dd7ab1f904a27f3a1382cda22c6 by spatel
[CostModel] rearrange basic intrinsic cost implementation

This is bigger/uglier than before, but it should allow fixing
all of the broken paths more easily. Test coverage added with
rGfab028b and other commits.

This is not NFC - the scalable vector test would crash
without this patch.
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/test/Analysis/CostModel/AArch64/sve-math.ll
Commit 08097fc6a9746370e073e617036847d9ea46c9f4 by mtrofin
[NFC][Regalloc] Use MCRegister in MachineCopyPropagation

Differential Revision: https://reviews.llvm.org/D89250
The file was modifiedllvm/lib/CodeGen/MachineCopyPropagation.cpp
Commit eddbadfe13fbdcf18fee7d643d70d8042d69c778 by abidh
[compiler-rt] Allow override of 'emulator' value from lit_config.

Currently the 'emulator' value is fixed at build time. This patch allows changing the emulator
at testing time and enables us to run the tests on different board or simulators without needing
to run CMake again to change the value of emulator.

With this patch in place, the value of 'emulator' can be changed at test time from the command
line like this:

$ llvm-lit --param=emulator="..."

Reviewed By: delcypher

Differential Revision: https://reviews.llvm.org/D84708
The file was modifiedcompiler-rt/test/lit.common.cfg.py
Commit e2eaa914514c26c8e51c76148996a2e9cf74613c by kzhuravl_dev
AMDGPU: Remove -mamdgpu-debugger-abi option

It has been unsupported for few years now.

Differential Revision: https://reviews.llvm.org/D89125
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedclang/test/Driver/amdgpu-features.c
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was modifiedclang/include/clang/Driver/Options.td
Commit f218652a36bdf0ecd842c30da7a3936dc6580e96 by kzhuravl_dev
LLD/AMDGPU: Infer os abi based on input llvm bitcode

Differential Revision: https://reviews.llvm.org/D89042
The file was modifiedlld/ELF/InputFiles.cpp
The file was addedlld/test/ELF/lto/amdgcn-oses.ll
Commit ab55897817cc09113a9729d4ed907e13aa0386ff by Louis Dionne
[libc++] Allow passing relative paths to the Apple install script
The file was modifiedlibcxx/utils/ci/apple-install-libcxx.sh
Commit 6121117484ddd7c5a03b40004a8bba58506ce9d0 by nicolas.vasilache
[mlir][Linalg] Fix TensorConstantOp bufferization in Linalg.

TensorConstantOp bufferization currently uses the vector dialect to store constant data into memory.
Due to natural vector size and alignment properties, this is problematic with n>1-D vectors whose most minor dimension is not naturally aligned.

Instead, this revision linearizes the constant and introduces a linalg.reshape to go back to the desired shape.

Still this is still to be considered a workaround and a better longer term solution will probably involve `llvm.global`.

Differential Revision: https://reviews.llvm.org/D89311
The file was modifiedmlir/test/Dialect/Linalg/tensors-to-buffers.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-tensor-matmul.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/TensorsToBuffers.cpp
Commit 0c15a1b4bcefc1eb434e07aa31b7a08109ccd27e by stilis
[mlir] Fix sporadic build failures due to missing dependency

The build of MLIR occasionally fails (especially on Windows) because there is missing dependency between MLIRLLVMIR and MLIROpenMPOpsIncGen.

1) LLVMDialect.cpp includes LLVMDialect.h
2) LLVMDialect.h includes OpenMPDialect.h
3) OpenMPDialect.h includes OpenMPOpsDialect.h.inc, OpenMPOpsEnums.h.inc and OpenMPOps.h.inc

The OpenMP .inc files are generated by MLIROpenMPOpsIncGen, so MLIRLLVMIR which builds LLVMDialect.cpp should depend on MLIROpenMPOpsIncGen

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D89275
The file was modifiedmlir/lib/Dialect/LLVMIR/CMakeLists.txt
Commit 6713332fddb796f5b14fcb6a7e5d36979676e4ab by nikita.ppv
[LoopVersioningLICM] Fix noalias metadata emission

The previous code added the scope on each iteration, so that the
same scope was represented many times in the same !noalias metadata.
That's legal, and semantically equivalent to only storing the scope
once, but it's also wasteful and may pessimize further optimization
if AATags get intersected naively, as done by the AliasSetTracker.
The file was modifiedllvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
Commit 0ccf9263cceb462a5f3b823becf7e9471e5fb212 by xun
[ASAN] Make sure we are only processing lifetime markers with offset 0 to alloca

This patch addresses https://bugs.llvm.org/show_bug.cgi?id=47787 (and hence https://bugs.llvm.org/show_bug.cgi?id=47767 as well).
In latter instrumentation code, we always use the beginning of the alloca as the base for instrumentation, ignoring any offset into the alloca.
Because of that, we should only instrument a lifetime marker if it's actually pointing to the beginning of the alloca.

Differential Revision: https://reviews.llvm.org/D89191
The file was addedllvm/test/Instrumentation/AddressSanitizer/alloca-offset-lifetime.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit fd4b3f123d6e64769881e4c6351d5bbbdac30ce3 by Artem Dergachev
[analyzer] NFC: Separate PathDiagnosticConsumer options from AnalyzerOptions.

The AnalyzerOptions object contains too much information that's
entirely specific to the Analyzer. It is also being referenced by
path diagnostic consumers to tweak their behavior. In order for path
diagnostic consumers to function separately from the analyzer,
make a smaller options object that only contains relevant options.

Differential Revision: https://reviews.llvm.org/D67420
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
The file was modifiedclang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp
The file was modifiedclang/include/clang/Analysis/PathDiagnostic.h
The file was modifiedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
Commit b76dc111dd02672488df794570d82e3edbbfa5d8 by Artem Dergachev
[analyzer] NFC: Move IssueHash to libAnalysis.

IssueHash is an attempt to introduce stable warning identifiers
that won't change when code around them gets moved around.
Path diagnostic consumers print issue hashes for the emitted diagnostics.

This move will allow us to ultimately move path diagnostic consumers
to libAnalysis.

Differential Revision: https://reviews.llvm.org/D67421
The file was addedclang/lib/Analysis/IssueHash.cpp
The file was modifiedclang/lib/Analysis/CMakeLists.txt
The file was removedclang/lib/StaticAnalyzer/Core/IssueHash.cpp
The file was removedclang/include/clang/StaticAnalyzer/Core/IssueHash.h
The file was modifiedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was addedclang/include/clang/Analysis/IssueHash.h
The file was modifiedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
Commit 44b7cf2983b6a8373c99a9b254f8c3f944e03f35 by Artem Dergachev
[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis.

With this change, we're more or less ready to allow users outside
of the Static Analyzer to take advantage of path diagnostic consumers
for emitting their warnings in different formats.

Differential Revision: https://reviews.llvm.org/D67422
The file was modifiedclang/include/clang/StaticAnalyzer/Core/Analyses.def
The file was removedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was addedclang/lib/Analysis/PlistHTMLPathDiagnosticConsumer.cpp
The file was removedclang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
The file was modifiedclang/include/clang/module.modulemap
The file was addedclang/lib/Analysis/HTMLPathDiagnosticConsumer.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was removedclang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was addedclang/include/clang/Analysis/PathDiagnosticConsumers.def
The file was addedclang/lib/Analysis/PlistPathDiagnosticConsumer.cpp
The file was addedclang/lib/Analysis/TextPathDiagnosticConsumer.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
The file was removedclang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
The file was addedclang/lib/Analysis/SarifPathDiagnosticConsumer.cpp
The file was modifiedclang/lib/Analysis/CMakeLists.txt
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedclang/include/clang/Analysis/PathDiagnosticConsumers.h
The file was removedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
Commit 2af5ea28af4997428065c9da9b2413ae2095ef99 by llvmgnsyncbot
[gn build] Port 44b7cf2983b
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
Commit bfd9cef70e30b4dd655862735d4cd05001821c7a by llvmgnsyncbot
[gn build] Port b76dc111dd0
The file was modifiedllvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
Commit f3202b30b8e6fea838c595632641e86719ff8264 by saghir
[PowerPC] Add assemble disassemble intrinsics for MMA

This patch adds support for assemble disassemble intrinsics
for MMA.

Reviewed By: bsaleil, #powerpc

Differential Revision: https://reviews.llvm.org/D88739
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
The file was modifiedllvm/utils/TableGen/IntrinsicEmitter.cpp
The file was modifiedllvm/lib/IR/Function.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp
The file was addedllvm/test/CodeGen/PowerPC/mma-intrinsics.ll
Commit 3f2386de6325157324a0dc2ae00ef3db3a144563 by scott.linder
[DebugInfo][docs] Document DILabel in LangRef

Add some minimal documentation for DILabel, originally introduced in
D45024. Update the name and semantics of the `variables:` field in the
documentation for `DISubprogram`; the field is now called
`retainedNodes:` and is a heterogeneous list of `DILocalVariable` and
`DILabel`.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D89082
The file was modifiedllvm/docs/LangRef.rst
Commit 77bb3ebebbca13f0648beb433fbd1b06ba95a19c by Artem Dergachev
Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis."

This reverts commit 44b7cf2983b6a8373c99a9b254f8c3f944e03f35.
The file was modifiedclang/lib/Analysis/CMakeLists.txt
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
The file was removedclang/lib/Analysis/SarifPathDiagnosticConsumer.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was addedclang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
The file was removedclang/lib/Analysis/TextPathDiagnosticConsumer.cpp
The file was removedclang/include/clang/Analysis/PathDiagnosticConsumers.def
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
The file was removedclang/include/clang/Analysis/PathDiagnosticConsumers.h
The file was addedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was removedclang/lib/Analysis/PlistHTMLPathDiagnosticConsumer.cpp
The file was removedclang/lib/Analysis/PlistPathDiagnosticConsumer.cpp
The file was removedclang/lib/Analysis/HTMLPathDiagnosticConsumer.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/Analyses.def
The file was modifiedclang/include/clang/module.modulemap
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was addedclang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
The file was addedclang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp
The file was addedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
Commit 662ed9e67adace3d011f42478bc8bcb1773a2821 by Artem Dergachev
Revert "[analyzer] NFC: Move IssueHash to libAnalysis."

This reverts commit b76dc111dd02672488df794570d82e3edbbfa5d8.
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
The file was removedclang/lib/Analysis/IssueHash.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was modifiedclang/lib/Analysis/CMakeLists.txt
The file was addedclang/include/clang/StaticAnalyzer/Core/IssueHash.h
The file was removedclang/include/clang/Analysis/IssueHash.h
The file was addedclang/lib/StaticAnalyzer/Core/IssueHash.cpp
Commit 10f1ca99b498347186ec74b01046ad292bde9a4c by Artem Dergachev
Revert "[analyzer] NFC: Separate PathDiagnosticConsumer options from AnalyzerOptions."

This reverts commit fd4b3f123d6e64769881e4c6351d5bbbdac30ce3.
The file was modifiedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
The file was modifiedclang/include/clang/Analysis/PathDiagnostic.h
The file was modifiedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
Commit 39c39e8a7f09ff8f0385ef9962d1075d9559d139 by nikita.ppv
[MemCpyOpt] Don't shorten memset if destination observable through unwinding

MemCpyOpt can shorten a memset if it is later partially overwritten
by a memcpy. It checks that the destination is not read in between,
but we also need to make sure that the destination cannot be observed
via unwinding.

Differential Revision: https://reviews.llvm.org/D89190
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/test/Transforms/MemCpyOpt/memset-memcpy-redundant-memset.ll
Commit 5f335285c16661f9bf05dd629b58545d48533501 by llvmgnsyncbot
[gn build] Port 662ed9e67ad
The file was modifiedllvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
Commit e2c888f571680e98e0daec2b003663311035a607 by llvmgnsyncbot
[gn build] Port 77bb3ebebbc
The file was modifiedllvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
Commit baa3b87015124798c9f0a040e76277e7e74b35b1 by nikita.ppv
[MemCpyOpt] Don't shorten memset if memcpy operands may be the same

If the memcpy operands are the same (which is allowed since D86815)
then the memcpy is effectively a no-op and the partially overlapping
memset is not dead.

Differential Revision: https://reviews.llvm.org/D89192
The file was modifiedllvm/test/Transforms/MemCpyOpt/preserve-memssa.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memset-memcpy-redundant-memset.ll
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Commit e92a8e0c743f83552fac37ecf21e625ba3a4b11e by lebedev.ri
[SCEV] BuildConstantFromSCEV(): actually properly handle SExt-of-pointer case

As being pointed out by @efriedma in
https://reviews.llvm.org/rGaaafe350bb65#inline-4883
of course we can't just call ptrtoint in sign-extending case
and be done with it, because it will zero-extend.

I'm not sure what i was thinking there.

This is very much not an NFC, however looking at the user of
BuildConstantFromSCEV() i'm not sure how to actually show that
it results in a different constant expression.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 1a82705c8d03121ece28c1ccdd8534609844515e by dantrushin
[Statepoints] Update statepoint mir tests.

Update few tests after statepoint format change (D87154).
These tests exercise functionality not affected by the format change,
so they left unchanged.
The file was modifiedllvm/test/CodeGen/X86/statepoint-vreg-folding.mir
The file was modifiedllvm/test/CodeGen/X86/statepoint-fixup-shared-ehpad.mir
The file was modifiedllvm/test/CodeGen/X86/statepoint-fixup-invoke.mir
Commit 0ec1cf13f2a4e31aa2c5ccc665c5fbdcd3a94577 by rnk
Revert "DirectoryWatcher: add an implementation for Windows"

This reverts commit 5d74c435117526616d2c2665f030263b8f60da1b.
The gtest tests appear to be flaky, and are failing in various places.
The file was modifiedclang/lib/DirectoryWatcher/windows/DirectoryWatcher-windows.cpp
The file was modifiedclang/unittests/DirectoryWatcher/CMakeLists.txt
Commit e79ca751fc2bea9f80c4df1eebf61fce3fd4f439 by nikita.ppv
[MemCpyOpt] Fix MemorySSA preservation

moveUp() moves instructions, so we should move the corresponding
memory accesses as well. We should also move the store instruction
itself: Even though we'll end up removing it later, this gives us
a correct MemoryDef to replace.

The implementation is somewhat more complicated than it should be,
because we also handle the case where P does not have a memory
access due to a degnerate AA pipeline. Hopefully, the need for this
will go away in the future, when the rest of the pass is based on
MSSA.

Differential Revision: https://reviews.llvm.org/D88778
The file was modifiedllvm/test/Transforms/MemCpyOpt/preserve-memssa.ll
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Commit 323fd11df7718e68c37f9220a8e1056bb56778cf by pifon
[mlir][nfc] Add a func to compute numElements of a shape in Std -> LLVM.

For some reason the variable `cumulativeSizeInBytes` in
`getCumulativeSizeInBytes` was actually storing number of elements. I decided
to fix it and refactor the function a bit.

Differential Revision: https://reviews.llvm.org/D89336
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
Commit cd6f40f4326c8251ebb628122bf092ca5536a634 by nikita.ppv
[MemCpyOpt] Add test scaffolding for MSSA based MemCpyOpt

This adds an -enable-memcpyopt-memoryssa option that currently does
nothing apart from requiring MSSA as a dependency. The tests are
split to run both with the option disabled and enabled. I went with
this rather than the separate directory DSE uses, as I found it
convenient to have a direct side-by-side comparison of differences.

Differential Revision: https://reviews.llvm.org/D89206
The file was modifiedllvm/test/Transforms/MemCpyOpt/pr29105.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memset-memcpy-oversized.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memset-memcpy-to-2x-memset.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/atomic.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/callslot_throw.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memcpy-to-memset.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/pr37967.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/store-to-memset-is-nonzero-type.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/loadstore-sret.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/align.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/crash.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/capturing-func.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/merge-into-memset.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/process_store.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/non-integral.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/2011-06-02-CallSlotOverwritten.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/callslot_aa.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/lifetime.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/callslot.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/invariant.start.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memcpy-to-memset-with-lifetimes.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/smaller.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/sret.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/aggregate-type-crash.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memcpy-undef.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/mixed-sizes.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memcpy.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/nonlocal-memcpy-memcpy.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/callslot_deref.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/nontemporal.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/vscale-memset.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/form-memset.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/2008-02-24-MultipleUseofSRet.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/2008-03-13-ReturnSlotBitcast.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memcpy-invoke-memcpy.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/profitable-memset.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/stackrestore.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/store-to-memset.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memmove.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/memset-memcpy-redundant-memset.ll
The file was modifiedllvm/test/Transforms/MemCpyOpt/fca2memcpy.ll
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/test/Transforms/MemCpyOpt/load-store-to-memcpy.ll
Commit edf415b5b24572029e096695d5bccb64bcffec57 by craig.topper
[X86] Add test cases for PR47825. NFC
The file was modifiedllvm/test/CodeGen/X86/vector-popcnt-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-popcnt-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-popcnt-128.ll
Commit 3b31f05372f4ef881d0d11a2b8d339cd61b188df by nikita.ppv
[LICM] Don't require AST in LoopPromoter (NFC)

While promotion currently always has an AST available, it is only
relevant for invalidation purposes in LoopPromoter, so we do not
need to have it as a hard dependency.
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit ad958f648e46680966375a93a3f2f1f5ee870671 by stellaraccident
[mlir][Python] Add missing capsule->module and Context.create_module.

* Extends Context/Operation interning to cover Module as well.
* Implements Module.context, Attribute.context, Type.context, and Location.context back-references (facilitated testing and also on the TODO list).
* Adds method to create an empty Module.
* Discovered missing in npcomp.

Differential Revision: https://reviews.llvm.org/D89294
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/test/Bindings/Python/ir_attributes.py
The file was modifiedmlir/lib/Bindings/Python/IRModules.h
The file was modifiedmlir/test/Bindings/Python/ir_operation.py
The file was modifiedmlir/include/mlir-c/Bindings/Python/Interop.h
The file was modifiedmlir/test/Bindings/Python/ir_types.py
The file was modifiedmlir/test/Bindings/Python/ir_location.py
The file was modifiedmlir/test/Bindings/Python/ir_module.py
Commit cfd8481da1adba1952e0f6ecd00440986e49a946 by aeubanks
Reland [CFGuard] Add address-taken IAT tables and delay-load support

This patch adds support for creating Guard Address-Taken IAT Entry Tables (.giats$y sections) in object files, matching the behavior of MSVC. These contain lists of address-taken imported functions, which are used by the linker to create the final GIATS table.
Additionally, if any DLLs are delay-loaded, the linker must look through the .giats tables and add the respective load thunks of address-taken imports to the GFIDS table, as these are also valid call targets.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D87544
The file was modifiedlld/COFF/DLL.cpp
The file was addedlld/test/COFF/giats.s
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/COFF/Symbols.h
The file was addedllvm/test/CodeGen/WinCFGuard/cfguard-giats.ll
The file was modifiedlld/COFF/ICF.cpp
The file was modifiedllvm/include/llvm/MC/MCObjectFileInfo.h
The file was modifiedllvm/tools/llvm-readobj/COFFDumper.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
The file was modifiedlld/COFF/InputFiles.h
Commit 97e48aadbd79184d1b3207c4f846c83e155be8dd by benny.kra
[mlir-cuda-runner] Unbreak the build

CMake Error at llvm/cmake/modules/AddLLVM.cmake:870 (add_dependencies):
  The dependency target "Core" of target "mlir-cuda-runner" does not exist.
Call Stack (most recent call first):
  llvm/cmake/modules/AddLLVM.cmake:1169 (add_llvm_executable)
  mlir/tools/mlir-cuda-runner/CMakeLists.txt:69 (add_llvm_tool)

CMake Error at llvm/cmake/modules/AddLLVM.cmake:870 (add_dependencies):
  The dependency target "LINK_COMPONENTS" of target "mlir-cuda-runner" does
  not exist.
Call Stack (most recent call first):
  llvm/cmake/modules/AddLLVM.cmake:1169 (add_llvm_executable)
  mlir/tools/mlir-cuda-runner/CMakeLists.txt:69 (add_llvm_tool)

CMake Error at llvm/cmake/modules/AddLLVM.cmake:870 (add_dependencies):
  The dependency target "Support" of target "mlir-cuda-runner" does not
  exist.
Call Stack (most recent call first):
  llvm/cmake/modules/AddLLVM.cmake:1169 (add_llvm_executable)
  mlir/tools/mlir-cuda-runner/CMakeLists.txt:69 (add_llvm_tool)
The file was modifiedmlir/tools/mlir-cuda-runner/CMakeLists.txt
Commit f0875971249b59b5a4c07cedc9633f0359cf6b73 by Duncan P. N. Exon Smith
Support: Add operator== for MemoryBufferRef and split out MemoryBufferRef.h

As preparation for changing `LineIterator` to work with `MemoryBufferRef`:

- Add an `operator==` that uses buffer pointer identity to ensure two buffers
  are equivalent.
- Split out `MemoryBufferRef.h`, to avoid polluting `LineIterator.h` includers
  with everything from `MemoryBuffer.h`. This also means moving the
  `MemoryBuffer` constructor to a source file.

Differential Revision: https://reviews.llvm.org/D89279
The file was modifiedllvm/unittests/Support/CMakeLists.txt
The file was modifiedllvm/unittests/Support/MemoryBufferTest.cpp
The file was addedllvm/include/llvm/Support/MemoryBufferRef.h
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedllvm/include/llvm/Support/MemoryBuffer.h
The file was addedllvm/lib/Support/MemoryBufferRef.cpp
The file was addedllvm/unittests/Support/MemoryBufferRefTest.cpp
Commit f2b7d9f7faa2788e362a91761a1624fb6b020851 by Duncan P. N. Exon Smith
Support: Allow use of MemoryBufferRef with line_iterator

Split out from https://reviews.llvm.org/D66782, use `Optional<MemoryBufferRef>`
in `line_iterator` so you don't need access to a `MemoryBuffer*`.  Follow up
patches in `clang/` will leverage this.

Differential Revision: https://reviews.llvm.org/D89280
The file was modifiedllvm/unittests/Support/LineIteratorTest.cpp
The file was modifiedllvm/lib/Support/LineIterator.cpp
The file was modifiedllvm/include/llvm/Support/LineIterator.h
Commit 4c10d6508f546ee986df0994663984cb15354c08 by Xiangling.Liao
[AIX] Support two itanium alignment LIT testcases for AIX using regex

AIX has different layout dumping format from other itanium ABIs.
And for these two cases, use regex to match AIX format.

Differential Revision: https://reviews.llvm.org/D89064
The file was modifiedclang/test/Layout/itanium-pack-and-align.cpp
The file was modifiedclang/test/Layout/itanium-union-bitfield.cpp
Commit 76c7a6d6cd152dcddae977fefe5fe0420da467af by llvmgnsyncbot
[gn build] Port f0875971249
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
Commit edc37baca6d6e4f28b7f4136e3263d3f1c3199f1 by jay.foad
[AMDGPU] Add MC layer support for v_fmac_legacy_f32

This instruction was introduced in GFX10.3, reusing the opcode of
v_mac_legacy_f32 from GFX10.1.

Differential Revision: https://reviews.llvm.org/D89247
The file was modifiedllvm/test/MC/AMDGPU/gfx1030_new.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx1030_dasm_new.txt
The file was addedllvm/test/MC/AMDGPU/gfx1030_unsupported.s
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/test/MC/AMDGPU/gfx1011_err.s
Commit 44865e9169f625b78b7198c0f3f11d9330b01f06 by ravishankarm
[mlir][Linalg] Lower padding attribute for pooling ops

Update linalg-to-loops lowering for pooling operations to perform
padding of the input when specified by the corresponding attribute.

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D88911
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Loops.cpp
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir
Commit c0b3abd19a3eaaaeeb9e6df47b3dfed4b767e974 by joker.eph
[MLIR] Add a foldTrait() mechanism to allow traits to define folding and test it with an Involution trait

This is the same diff as https://reviews.llvm.org/D88809/ except side effect
free check is removed for involution and a FIXME is added until the dependency
is resolved for shared builds. The old diff has more details on possible fixes.

Reviewed By: rriddle, andyly

Differential Revision: https://reviews.llvm.org/D89333
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/test/lib/Dialect/Test/CMakeLists.txt
The file was modifiedmlir/docs/Traits.md
The file was modifiedmlir/lib/IR/Operation.cpp
The file was addedmlir/test/mlir-tblgen/trait.mlir
The file was modifiedmlir/include/mlir/IR/OpDefinition.h
The file was addedmlir/test/lib/Dialect/Test/TestTraits.cpp
Commit e7fe3c6dfede8d5781bd000741c3dea7088307a4 by Duncan P. N. Exon Smith
Basic: Simplify SourceManager::getBuffer overload, NFC

Avoid duplicating code unnecessarily. No functionality change.
The file was modifiedclang/include/clang/Basic/SourceManager.h
Commit b49787df9a535f03761c340dca7ec3ec1155133d by gcmn
Remove unused SideEffectInterfaces header

This change removes an unnecessary header introduced in
https://github.com/llvm/llvm-project/commit/c0b3abd19a3e.

Differential Revision: https://reviews.llvm.org/D89347
The file was modifiedmlir/lib/IR/Operation.cpp