Changes

Summary

  1. [llvm-objdump][WebAssembly] Fix llvm-objdump on files without symbols (details)
  2. [AArch64][SVE] Optimize bitcasts between unpacked half/i16 vectors. (details)
  3. [ARM] Extend more reductions during lowering (details)
  4. [AArch64][SME] Add SVE2 instructions added in SME (details)
  5. [LoopFlatten] Use Loop to identify loop induction phi. NFC (details)
  6. [clang-tidy] Add 'readability-suspicious-call-argument' check (details)
  7. [mlir][linalg] Set explicit insertion point in pad_tensor patterns. (details)
  8. [Polly][Isl] Stop generating isl::union_{set,map} from isl::space. NFC (details)
  9. [X86][SSE] Add codegen tests dot2/3 dot product of 128-bit dereferenceable float data (details)
  10. [ORC-RT] Fix signedness warning in unit test. (details)
  11. [ORC][ORC-RT] Introduce ORC-runtime based MachO-Platform. (details)
  12. [NFC] [MTE] helper for stack tagging lifetimes. (details)
  13. [Polly][Isl] Use isl::union_map::unite() instead of isl::union_map::add_map(). NFC (details)
  14. [ORC-RT] Handle missing __has_builtin operator. (details)
  15. [VE] Disable relative lookup table converter pass for VE (details)
  16. [ORC] Add missing std::move. (details)
  17. [Polly] Use isl::set::tuple_dim instead of isl::set::dim. NFC (details)
  18. [compiler-rt][GWP-ASAN] Disable 2 tests on Armv7 Linux (details)
  19. [ORC] Explicitly convert to ArrayRefs to silence errors. (details)
  20. [X86][SSE] Fix copy+paste typo in dot3_float4_as_float3 partial load test (details)
  21. [hwasan] Use stack safety analysis. (details)
  22. [VE] Set getExtendForAtomicOps to ISD::ANY_EXTEND (details)
  23. [ORC-RT] Fix missing std::move. (details)
  24. [ORC] Drop 'const' for __orc_rt_CWrapperFunctionResultDataUnion::ValuePtr. (details)
  25. tsan: make obtaining current PC faster (details)
  26. Revert "[hwasan] Use stack safety analysis." (details)
  27. [LV] Add test with ptr induction used as scalar and vector. (details)
  28. [mlir][memref] Clarify the documentation for memref.clone [NFC] (details)
  29. [LV] Re-generate check lines of some fragile tests (NFC) (details)
  30. [LoopUtils] Fix incorrect RT check bounds of loop-invariant mem accesses (details)
  31. [SLP]Fix possible crash on unreachable incoming values sorting. (details)
  32. [CostModel][X86] Add fast math tests for float reductions (details)
  33. [ORC-RT] Separate jit-dispach tag decls from definitions. (details)
  34. [ORC-RT] Introduce a weak-import macro. (details)
  35. [mlir] Introduce `linalg.tiled_yield` terminator for `linalg.tiled_loop`. (details)
  36. [rt][nfc] Rewrite #ifndef as #if defined(). (details)
  37. [clang-tidy] ensure run-clang-tidy reports children killed by signals (details)
  38. Revert "[mlir] Introduce `linalg.tiled_yield` terminator for `linalg.tiled_loop`." (details)
  39. [clang] Change set type used for SourceLocation. (details)
  40. [AMDGPU] Fix typo in comments idexen -> idxen (details)
  41. Fix duplicate checks in clangd comments (details)
  42. [MLIR] AffineStructures: resolve clang-tidy warnings [NFC] (details)
  43. [TLI] prepareSREMEqFold(): use correct VT for the final VSELECT (PR51133) (details)
  44. [CodeGen] Remove isNON_TRUNCStore and isTRUNCStore (NFC) (details)
  45. thread_local support for AIX (details)
  46. [InstrRef][X86] Drop debug instruction numbers from x87 instructions (details)
  47. [PowerPC] Implement vector bool/pixel initialization under -faltivec-src-compat=xl (details)
  48. Revert "[OpenMP] Codegen aggregate for outlined function captures" (details)
  49. AArch64/GlobalISel: Cleanup unnecessary size checks in call lowering (details)
  50. [Clang][RISCV] Support half-precision floating point for RVV intrinsics. (details)
  51. tsan: remove duplicate arch switch in buildgo.sh (details)
  52. [flang] Runtime API for data pointers (details)
  53. [Polly][Isl] Stop using isl::set::lex_le_set. NFC (details)
  54. GlobalISel: Preserve LLT when bitcasting loads and stores (details)
  55. [LICM] Create LoopNest Invariant Code Motion (LNICM) pass (details)
  56. [ARM] Remove PromotedBitwiseVT for NEON types (details)
  57. GlobalISel: Preserve memory types for implicit sret load/stores (details)
  58. [mlir][linalg] Fold TensorCast into PadTensorOp. (details)
  59. [X86] Fix case of IsAfterLegalize argument. NFC. (details)
  60. [ISD] Add disclaimer comments to AssertSext/Zext/Align opcodes about poison values (details)
  61. [NFC][PowerPC] Update builtins-ppc-altivec.c to be run under `-faltivec-src-compat=mixed` (details)
  62. [NewPM] Fix wrong perfect forwardings (details)
  63. [mlir][Linalg] Migrate 2D pooling ops from tc definition to yaml definition. (details)
  64. [SelectionDAG][RISCV] Use isSExtCheaperThanZExt to control whether sext or zext is used for constant folding any_extend. (details)
  65. [WebAssembly] Support R_WASM_MEMORY_ADDR_TLS_SLEB64 for wasm64 (details)
  66. [GlobalISel] Fix load-or combine moving loads across potential aliasing stores. (details)
  67. [mlir][tosa] Added shape inference for tosa convolution operations (details)
  68. [NFC] Run -instnamer on test Transforms/LICM/sink-debuginfo-preserve.ll (details)
  69. Revert "[llvm][sve] Lowering for VLS truncating stores" because it (details)
  70. [SystemZ]  Handle NoRegister in SystemZTargetLowering::emitMemMemWrapper(). (details)
  71. [elfabi] Prepare elfabi/ifs merging. (details)
  72. [ifs] Prepare llvm-ifs for elfabi/ifs merging. (details)
  73. [ifs][elfabi] Merge llvm-ifs/elfabi tools (details)
  74. [gn build] Port 6103fdfab4e2 (details)
  75. [gn build] Port 61fa9afe4c5b (details)
  76. [gn build] Port 8b4acb067fd3 (details)
  77. [libc++] Disable #pragma system_header in the new testing configuration (details)
  78. [Sanitizer] Intercepts flopen/flopenat on FreeBSD. (details)
  79. [Bazel] Update for 6103fdfab4 (details)
  80. [MemCpyOpt] Enable memcpy optimizations unconditionally. (details)
  81. [ifs] Fix linking errors on some llvm builders (details)
  82. [lld/mac] Change load command order to be more like ld64 (details)
  83. [SLP][X86] Add dot product tests based off PR51075 (details)
  84. [infer-address-spaces] Handle complex non-pointer constexpr arguments. (details)
  85. [InstrProfiling] Use weak alias for bias variable (details)
  86. [gn build] Port 54902e00d128 (details)
  87. [mlir][Linalg] NFC: Rename FusionOfTensors pass to FusionOfElementwiseOps pass. (details)
  88. [AMDGPU] Reserve AMDGPU ELF e_flags machine 0x45 (details)
  89. [LangRef] Clarify support for multiple metadata attachments with same id (details)
  90. [demangler] Fix demangling of 'half' (details)
  91. [clang-format] Break an unwrapped line at a K&R C parameter decl (details)
  92. [lld/mac] Resolve defined symbols before undefined symbols (details)
  93. [mlir] Add software pipelining transformation for scf.For op (details)
  94. [lld/mac] Add test for --lto-O (details)
  95. [WebAssembly] Deduplicate imports of the same module name, field name, and type (details)
  96. [MLGO] Use binary protobufs for improved training performance. (details)
  97. [WebAssembly] Generate R_WASM_FUNCTION_OFFSET relocs in debuginfo sections (details)
  98. [mlir] Fix bazel build (details)
  99. Revert "[MemCpyOpt] Enable memcpy optimizations unconditionally." (details)
  100. Don't use !eStateRunning when you mean eStateStopped in DestroyImpl. (details)
  101. [lld][WebAssembly] Cleanup duplicate fields in Symbols.h. NFC (details)
  102. [clang] Respect PrintingPolicy::FullyQualifiedName when printing a template-id (details)
  103. [gn build] Port 08b289867b5a (details)
  104. Split `InferShapedTypeOpInterface` to create `ReifyRankedShapedTypeInterface`. (details)
  105. [PowerPC] swdiv_nochk Builtins for XL Compat (details)
  106. [NewPM] Bail out of devirtualization wrapper if the current SCC is invalidated (details)
  107. [NewPM][opt] Add -debug-pass-manager=quiet to not print analysis info (details)
  108. [SCEV] Add a clarifying comment in howManyLessThans (details)
  109. Dyanamic shape support for memref reassociation reshape ops (details)
  110. [ScalarEvolution] Refine computeMaxBECountForLT to be accurate in more cases. (details)
  111. [lld-macho] Use DO_BIND_ADD_ADDR_IMM_SCALED for bind opcodes (details)
  112. [tests] Add a couple of tests for zero stride trip counts w/loop varying exit values (details)
  113. [libc++] Add a bunch of missing _LIBCPP_HIDE_FROM_ABI in <ranges> (details)
  114. [libc++] Tidy-up instances of __STDCPP_DEFAULT_NEW_ALIGNMENT__ in the tests (details)
  115. [gn build] Fix llvm_build_instrumented_coverage=true builds with goma/rbe (details)
  116. [Libomptarget] Remove volatile from NVPTX work function (details)
  117. Revert D105519 "[WebAssembly] Deduplicate imports of the same module name, field name, and type" and its followup (details)
  118. AArch64/GlobalISel: Preserve memory types (details)
  119. GlobalISel: Remove some mystery code that clears isReturned (details)
  120. [PowerPC] Extra test case for LDARX (details)
  121. CodeGen: Make MachineOptimizationRemarkEmitterPass a CFG analysis (details)
  122. [OpenMP] Fixed a segmentation fault when using taskloop and target nowait (details)
  123. Revert D106128 "[lld-macho] Use DO_BIND_ADD_ADDR_IMM_SCALED for bind opcodes" (details)
  124. [Clang][RISCV] Correct the alignment of stores generated by vlseg/vlsegff. (details)
  125. [ORC-RT] Add ORC_RT prefix to WEAK_IMPORT macro. (details)
  126. [ORC-RT] Introduce a ORC_RT_JIT_DISPATCH_TAG macro. (details)
  127. [NFC] Correct documentation error in OpenMP release ReleaseNotes (details)
  128. Revert "[PowerPC] Extra test case for LDARX" (details)
  129. [OpenMP] Fix carefully track SPMDCompatibilityTracker (details)
  130. [Attributor] Simplify loads (details)
  131. [Attributor] Introduce AAPointerInfo (details)
  132. [Attributor][FIX] Do not simplify byval arguments (details)
  133. [OpenMP][FIX] Temporarily XFAIL tests waiting for new check lines (details)
  134. tsan: add pragma line to buildgo.sh (details)
  135. [Attributor][NFC] Fix function name spelling (details)
  136. [OpenMP] Remove XFAIL and update check lines properly (details)
  137. [Attributor][NFCI] Expose `getAssumedUnderlyingObjects` API (details)
  138. [Attributor] Extend the AAValueSimplify compare simplification logic (details)
  139. [Attributor] Ensure to simplify operands in AAValueConstantRange (details)
  140. [Attributor] Gracefully handle interprocedural reachability queries (details)
  141. tsan: remove the stats subsystem (details)
  142. [lldb] Make WatchpointList iterable (details)
  143. [gn build] Port adb55d7c3265 (details)
  144. [RISCV] Add test cases to show an issue with our fcvt.wu isel patterns on RV64. (details)
  145. [NFC][profile] Move writeMMappedFile to ELF ifdef block (details)
  146. [PowerPC] Fallback to base's implementation of shouldExpandAtomicCmpXchgInIR and shouldExpandAtomicCmpXchgInIR (details)
  147. sanitizer_common: add new mutex (details)
Commit db69ea40a91a683a4b1a2d581c5b5a2b46154677 by wingo
[llvm-objdump][WebAssembly] Fix llvm-objdump on files without symbols

If a file has no symbols, perhaps because it is a linked executable,
synthesize some symbols by walking the code section.  Otherwise the
disassembler will try to treat the whole code section as a function,
which won't parse.  Fixes https://bugs.llvm.org/show_bug.cgi?id=50957.

Differential Revision: https://reviews.llvm.org/D105539
The file was addedllvm/test/tools/llvm-objdump/wasm/executable-without-symbols-debugnames.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was addedllvm/test/tools/llvm-objdump/wasm/executable-without-symbols.test
Commit 0ed0573527404ee37d9ac700c9beab642e38657b by sander.desmalen
[AArch64][SVE] Optimize bitcasts between unpacked half/i16 vectors.

The case for nxv2f32/nxv2i32 was already covered by D104573.
This patch builds on top of that by making the mechanism work for
nxv2[b]f16/nxv2i16, nxv4[b]f16/nxv4i16 as well.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D106138
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sve-bitcast.ll
Commit eb1e95dbdf2b4ffe94259199d0970d072fe24959 by david.green
[ARM] Extend more reductions during lowering

This relaxes the VMLAV and VADDV reduction recognition code to handle
smaller than legal types, extending them as needed. That was already
handled for some reductions, this extends it to more types in a more
generic way. If a smaller than legal value is found it is extended to
the legal type as needed.

Differential Revision: https://reviews.llvm.org/D106051
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit f91eaa7007877063b683f83c305fca750d746d83 by cullen.rhodes
[AArch64][SME] Add SVE2 instructions added in SME

This patch adds support for the following instructions:

    SCLAMP, UCLAMP, REV, DUP (predicate)

The reference can be found here:
https://developer.arm.com/documentation/ddi0602/2021-06

Reviewed By: kmclaughlin

Differential Revision: https://reviews.llvm.org/D105577
The file was modifiedllvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
The file was modifiedllvm/lib/Target/AArch64/SMEInstrFormats.td
The file was addedllvm/test/MC/AArch64/SME/dup.s
The file was addedllvm/test/MC/AArch64/SME/sclamp-diagnostics.s
The file was addedllvm/test/MC/AArch64/SME/uclamp-diagnostics.s
The file was addedllvm/test/MC/AArch64/SME/uclamp.s
The file was addedllvm/test/MC/AArch64/SME/revd-diagnostics.s
The file was addedllvm/test/MC/AArch64/SME/dup-diagnostics.s
The file was addedllvm/test/MC/AArch64/SME/revd.s
The file was addedllvm/test/MC/AArch64/SME/sclamp.s
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
Commit 34d6820551c6ee7e76199407b3c1ba6fecf4398f by rosie.sumpter
[LoopFlatten] Use Loop to identify loop induction phi. NFC

Replace code which identifies induction phi with helper function
getInductionVariable to improve robustness.

Differential Revision: https://reviews.llvm.org/D106045
The file was modifiedllvm/lib/Transforms/Scalar/LoopFlatten.cpp
Commit 73e4b5cfa8ea6dda3624e03beb60827db12bb3a3 by whisperity
[clang-tidy] Add 'readability-suspicious-call-argument' check

Finds function calls where the call arguments might be provided in an
incorrect order, based on the comparison (via string metrics) of the
parameter names and the argument names against each other.

A diagnostic is emitted if an argument name is similar to a *different*
parameter than the one currently passed to, and it is sufficiently
dissimilar to the one it **is** passed to currently.

False-positive warnings from this check are useful to indicate bad
naming convention issues, even if a swap isn't necessary.
This check does not generate FixIts.

Originally implemented by @varjujan as his Master's Thesis work.
The check was subsequently taken over by @barancsuk who added type
conformity checks to silence false positive matches.
The work by @whisperity involved driving the check's review and fixing
some more bugs in the process.

Reviewed By: aaron.ballman, alexfh

Differential Revision: http://reviews.llvm.org/D20689

Co-authored-by: János Varjú <varjujanos2@gmail.com>
Co-authored-by: Lilla Barancsuk <barancsuklilla@gmail.com>
The file was addedclang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp
The file was addedclang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.h
The file was modifiedclang-tools-extra/clang-tidy/readability/CMakeLists.txt
The file was addedclang-tools-extra/docs/clang-tidy/checks/readability-suspicious-call-argument.rst
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-suspicious-call-argument.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/readability/BUILD.gn
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
Commit 3f8f29233067faef6b2c22a6b654abf7e638f2be by gysit
[mlir][linalg] Set explicit insertion point in pad_tensor patterns.

Insert ops replacing pad_tensor in front of the associated tansfer_write / insert_slice op. Otherwise we may end up with invalid ir if one of the remaining tansfer_write / insert_slice operands is defined after the pad_tensor op.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D106162
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/test/Dialect/Linalg/vectorization.mlir
Commit bad3ebbaae3d5a99c1608f38b1ca597433b89e7c by patacca
[Polly][Isl] Stop generating isl::union_{set,map} from isl::space. NFC

This is part of an effort to reduce the differences between the custom C++ bindings used right now by polly in `lib/External/isl/include/isl/isl-noxceptions.h` and the official isl C++ interface.

Changes made:
- Stop generating `isl::union_set` and isl::union_map` from `isl::space` and instead generate them from `isl::ctx`
- Disable clang-format on `isl-noexceptions.h`
- Removed `isl::union_{set,map}` generator from `isl::space` from `isl-noexceptions.h`
- `isl-noexceptions.h` has been generated by this https://github.com/patacca/isl/commit/87c3413b6f1d62ca3dddf716352f90a0b8533353

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D106059
The file was modifiedpolly/unittests/DeLICM/DeLICMTest.cpp
The file was modifiedpolly/lib/Support/ISLTools.cpp
The file was modifiedpolly/lib/Analysis/DependenceInfo.cpp
The file was modifiedpolly/lib/Analysis/ScopBuilder.cpp
The file was modifiedpolly/lib/Transform/MaximalStaticExpansion.cpp
The file was modifiedpolly/lib/External/isl/include/isl/isl-noexceptions.h
The file was modifiedpolly/lib/Transform/FlattenAlgo.cpp
The file was modifiedpolly/lib/Analysis/ScopInfo.cpp
The file was modifiedpolly/lib/Transform/ScheduleTreeTransform.cpp
The file was modifiedpolly/lib/CodeGen/PPCGCodeGeneration.cpp
The file was modifiedpolly/lib/Transform/DeLICM.cpp
The file was modifiedpolly/lib/Transform/Simplify.cpp
The file was modifiedpolly/lib/Transform/ZoneAlgo.cpp
The file was modifiedpolly/lib/Exchange/JSONExporter.cpp
Commit fe494fafa9025ac6e9671be300035a27d70ae469 by llvm-dev
[X86][SSE] Add codegen tests dot2/3 dot product of 128-bit dereferenceable float data

Based off the codegen reports on PR51075 - hopefully we can handle some of this in SLP or VectorCombine, but we usually have to leave load combining until the backend so at least some of these patterns will still appear even then.
The file was addedllvm/test/CodeGen/X86/load-partial-dot-product.ll
Commit ac5ce40fa80d1ca0c25db23375b60cfbc39f5c7f by Lang Hames
[ORC-RT] Fix signedness warning in unit test.
The file was modifiedcompiler-rt/lib/orc/unittests/adt_test.cpp
Commit bb5f97e3ad10a0f8a62560890e5a87b4bc2c00bd by Lang Hames
[ORC][ORC-RT] Introduce ORC-runtime based MachO-Platform.

Adds support for MachO static initializers/deinitializers and eh-frame
registration via the ORC runtime.

This commit introduces cooperative support code into the ORC runtime and ORC
LLVM libraries (especially the MachOPlatform class) to support macho runtime
features for JIT'd code. This commit introduces support for static
initializers, static destructors (via cxa_atexit interposition), and eh-frame
registration. Near-future commits will add support for MachO native
thread-local variables, and language runtime registration (e.g. for Objective-C
and Swift).

The llvm-jitlink tool is updated to use the ORC runtime where available, and
regression tests for the new MachOPlatform support are added to compiler-rt.

Notable changes on the ORC runtime side:

1. The new macho_platform.h / macho_platform.cpp files contain the bulk of the
runtime-side support. This includes eh-frame registration; jit versions of
dlopen, dlsym, and dlclose; a cxa_atexit interpose to record static destructors,
and an '__orc_rt_macho_run_program' function that defines running a JIT'd MachO
program in terms of the jit- dlopen/dlsym/dlclose functions.

2. Replaces JITTargetAddress (and casting operations) with ExecutorAddress
(copied from LLVM) to improve type-safety of address management.

3. Adds serialization support for ExecutorAddress and unordered_map types to
the runtime-side Simple Packed Serialization code.

4. Adds orc-runtime regression tests to ensure that static initializers and
cxa-atexit interposes work as expected.

Notable changes on the LLVM side:

1. The MachOPlatform class is updated to:

  1.1. Load the ORC runtime into the ExecutionSession.
  1.2. Set up standard aliases for macho-specific runtime functions. E.g.
       ___cxa_atexit -> ___orc_rt_macho_cxa_atexit.
  1.3. Install the MachOPlatformPlugin to scrape LinkGraphs for information
       needed to support MachO features (e.g. eh-frames, mod-inits), and
       communicate this information to the runtime.
  1.4. Provide entry-points that the runtime can call to request initializers,
       perform symbol lookup, and request deinitialiers (the latter is
       implemented as an empty placeholder as macho object deinits are rarely
       used).
  1.5. Create a MachO header object for each JITDylib (defining the __mh_header
       and __dso_handle symbols).

2. The llvm-jitlink tool (and llvm-jitlink-executor) are updated to use the
runtime when available.

3. A `lookupInitSymbolsAsync` method is added to the Platform base class. This
can be used to issue an async lookup for initializer symbols. The existing
`lookupInitSymbols` method is retained (the GenericIRPlatform code is still
using it), but is deprecated and will be removed soon.

4. JIT-dispatch support code is added to ExecutorProcessControl.

The JIT-dispatch system allows handlers in the JIT process to be associated with
'tag' symbols in the executor, and allows the executor to make remote procedure
calls back to the JIT process (via __orc_rt_jit_dispatch) using those tags.

The primary use case is ORC runtime code that needs to call bakc to handlers in
orc::Platform subclasses. E.g. __orc_rt_macho_jit_dlopen calling back to
MachOPlatform::rt_getInitializers using __orc_rt_macho_get_initializers_tag.
(The system is generic however, and could be used by non-runtime code).

The new ExecutorProcessControl::JITDispatchInfo struct provides the address
(in the executor) of the jit-dispatch function and a jit-dispatch context
object, and implementations of the dispatch function are added to
SelfExecutorProcessControl and OrcRPCExecutorProcessControl.

5. OrcRPCTPCServer is updated to support JIT-dispatch calls over ORC-RPC.

6. Serialization support for StringMap is added to the LLVM-side Simple Packed
Serialization code.

7. A JITLink::allocateBuffer operation is introduced to allocate writable memory
attached to the graph. This is used by the MachO header synthesis code, and will
be generically useful for other clients who want to create new graph content
from scratch.
The file was addedcompiler-rt/lib/orc/macho_platform.h
The file was modifiedcompiler-rt/lib/orc/wrapper_function_utils.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.h
The file was modifiedllvm/unittests/ExecutionEngine/Orc/SimplePackedSerializationTest.cpp
The file was addedcompiler-rt/lib/orc/log_error_to_stderr.cpp
The file was modifiedcompiler-rt/lib/orc/common.h
The file was addedcompiler-rt/lib/orc/executor_address.h
The file was modifiedcompiler-rt/lib/orc/CMakeLists.txt
The file was removedcompiler-rt/test/orc/TestCases/Darwin/x86-64/placeholder_test.S
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/TargetProcess/OrcRPCTPCServer.h
The file was addedcompiler-rt/lib/orc/run_program_wrapper.cpp
The file was addedcompiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-static-initializer.S
The file was modifiedcompiler-rt/lib/orc/simple_packed_serialization.h
The file was addedcompiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-cxa-atexit.S
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
The file was addedcompiler-rt/lib/orc/macho_platform.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
The file was addedllvm/include/llvm/ExecutionEngine/Orc/LLVMSPSSerializers.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRPCExecutorProcessControl.h
Commit d23f26f0af5a184185fe39ed8d5f89ba7cac54e6 by fmayer
[NFC] [MTE] helper for stack tagging lifetimes.

Reviewed By: eugenis, vitalybuka

Differential Revision: https://reviews.llvm.org/D106135
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
The file was modifiedllvm/lib/Target/AArch64/AArch64StackTagging.cpp
Commit d5ee355f89605f0475a18b60fd27837d73dd7852 by patacca
[Polly][Isl] Use isl::union_map::unite() instead of isl::union_map::add_map(). NFC

This is part of an effort to reduce the differences between the custom C++ bindings used right now by polly in `lib/External/isl/include/isl/isl-noxceptions.h` and the official isl C++ interface.

Changes made:
- Use `isl::union_map::unite()` instead of `isl::union_map::add_map()`
- `isl-noexceptions.h` has been generated by this https://github.com/patacca/isl/commit/3f43ae29fa2a22936a583b85b2fe8d439f805d8d

Depends on D106059

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D106061
The file was modifiedpolly/lib/Support/ISLTools.cpp
The file was modifiedpolly/unittests/DeLICM/DeLICMTest.cpp
The file was modifiedpolly/lib/Transform/MaximalStaticExpansion.cpp
The file was modifiedpolly/lib/Transform/ZoneAlgo.cpp
The file was modifiedpolly/lib/Transform/FlattenAlgo.cpp
The file was modifiedpolly/lib/Transform/ScheduleTreeTransform.cpp
The file was modifiedpolly/lib/Analysis/DependenceInfo.cpp
The file was modifiedpolly/lib/Exchange/JSONExporter.cpp
The file was modifiedpolly/lib/Transform/ForwardOpTree.cpp
The file was modifiedpolly/lib/Transform/Simplify.cpp
The file was modifiedpolly/lib/Analysis/ScopInfo.cpp
The file was modifiedpolly/lib/Analysis/ScopBuilder.cpp
The file was modifiedpolly/lib/External/isl/include/isl/isl-noexceptions.h
Commit eaa329e76e72da518a1b185a804f6bb5d41b7ff4 by Lang Hames
[ORC-RT] Handle missing __has_builtin operator.

For compilers that do not support __has_builtin just return '0'. This should fix
the bot failure at https://lab.llvm.org/buildbot/#/builders/165/builds/3761.
The file was modifiedcompiler-rt/lib/orc/compiler.h
Commit b28e5b791064dac5e222817c06aeec032b4af878 by marukawa
[VE] Disable relative lookup table converter pass for VE

VE's linker, /opt/nec/ve/bin/nld, doesn't implement relative lookup table.
The relative lookup table is introduced by https://reviews.llvm.org/D94355,
but we need to disable it at the moment.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D106224
The file was modifiedllvm/lib/Target/VE/VETargetTransformInfo.h
Commit 249510a004c84f3af7c084ef4bfbed6f6a584127 by Lang Hames
[ORC] Add missing std::move.

This should fix the build failure at
https://lab.llvm.org/buildbot/#/builders/58/builds/11428.
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
Commit 159e072f812317c26d480d79408b6606b010d800 by patacca
[Polly] Use isl::set::tuple_dim instead of isl::set::dim. NFC

This is part of an effort to reduce the differences between the custom C++ bindings used right now by polly in `lib/External/isl/include/isl/isl-noxceptions.h` and the official isl C++ interface.

Note that not all the usages of `isl::set::dim` were replaced
The file was modifiedpolly/lib/Analysis/DependenceInfo.cpp
Commit 3d5c1a81738147104a2146e2457dc2f4cc8f3e05 by david.spickett
[compiler-rt][GWP-ASAN] Disable 2 tests on Armv7 Linux

These have been failing on our bots for a while due to
incomplete backtraces. (you don't get the names of the
functions that did the access, just the reporter frames)

See:
https://lab.llvm.org/buildbot/#/builders/170/builds/180
The file was modifiedcompiler-rt/test/gwp_asan/backtrace.c
The file was modifiedcompiler-rt/lib/gwp_asan/tests/backtrace.cpp
Commit df4777060010ead66bd626fbc6ddbadbb2ce4b18 by Lang Hames
[ORC] Explicitly convert to ArrayRefs to silence errors.

This aims to fix build failures like
https://lab.llvm.org/buildbot#builders/165/builds/3761.
The file was modifiedllvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
Commit 754b1cd71347b2c7f95ce189b7ad52bb233b2ee8 by llvm-dev
[X86][SSE] Fix copy+paste typo in dot3_float4_as_float3 partial load test
The file was modifiedllvm/test/CodeGen/X86/load-partial-dot-product.ll
Commit 12268fe14a1a65d4b62f0b6e5beab46ba8501ae7 by fmayer
[hwasan] Use stack safety analysis.

This avoids unnecessary instrumentation.

Reviewed By: eugenis, vitalybuka

Differential Revision: https://reviews.llvm.org/D105703
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was addedllvm/test/Instrumentation/HWAddressSanitizer/stack-safety-analysis.ll
The file was addedclang/test/CodeGen/hwasan-stack-safety-analysis-asm.c
The file was addedclang/test/CodeGen/hwasan-stack-safety-analysis.c
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
Commit 4ee28b4fecade32e679dd96c8bd98b71085a8b14 by marukawa
[VE] Set getExtendForAtomicOps to ISD::ANY_EXTEND

The implementation of subword atomics does not actually
guarantee the result is zero-extended, which now caused
failures after https://reviews.llvm.org/D101342 was landed.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D106225
The file was modifiedllvm/lib/Target/VE/VEISelLowering.h
Commit ad4f04773c3c364e87321f7e2957eaf9779063f2 by Lang Hames
[ORC-RT] Fix missing std::move.

This should fix the 'could-not-covert' error at wrapper_function_utils.h:128 in
https://lab.llvm.org/buildbot/#/builders/112/builds/7748.
The file was modifiedcompiler-rt/lib/orc/wrapper_function_utils.h
Commit 94e0975450daa57060248c2231ea8bf902b3e86a by Lang Hames
[ORC] Drop 'const' for __orc_rt_CWrapperFunctionResultDataUnion::ValuePtr.

This member is now only used when storage is heap-allocated so it does not
need to be const. Dropping 'const' eliminates cast warnings on many builders.
The file was modifiedcompiler-rt/lib/orc/c_api.h
Commit baa7f58973d47e99c663860e4c2c3d55505f2bc7 by dvyukov
tsan: make obtaining current PC faster

We obtain the current PC is all interceptors and collectively
common interceptor code contributes to overall slowdown
(in particular cheaper str/mem* functions).

The current way to obtain the current PC involves:

  4493e1:       e8 3a f3 fe ff          callq  438720 <_ZN11__sanitizer10StackTrace12GetCurrentPcEv>
  4493e9:       48 89 c6                mov    %rax,%rsi

and the called function is:

uptr StackTrace::GetCurrentPc() {
  438720:       48 8b 04 24             mov    (%rsp),%rax
  438724:       c3                      retq

The new way uses address of a local label and involves just:

  44a888:       48 8d 35 fa ff ff ff    lea    -0x6(%rip),%rsi

I am not switching all uses of StackTrace::GetCurrentPc to GET_CURRENT_PC
because it may lead some differences in produced reports and break tests.
The difference comes from the fact that currently we have PC pointing
to the CALL instruction, but the new way does not yield any code on its own
so the PC points to a random instruction in the function and symbolizing
that instruction can produce additional inlined frames (if the random
instruction happen to relate to some inlined function).

Reviewed By: vitalybuka, melver

Differential Revision: https://reviews.llvm.org/D106046
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors.h
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp
Commit 807d50100c3c6cd5e6ec89d6ac1afddd0c3f7133 by fmayer
Revert "[hwasan] Use stack safety analysis."

This reverts commit 12268fe14a1a65d4b62f0b6e5beab46ba8501ae7.
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was removedclang/test/CodeGen/hwasan-stack-safety-analysis.c
The file was removedclang/test/CodeGen/hwasan-stack-safety-analysis-asm.c
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
The file was removedllvm/test/Instrumentation/HWAddressSanitizer/stack-safety-analysis.ll
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
Commit 156b431c6658b8a6d8fa6b10f111fab1262fd65b by flo
[LV] Add test with ptr induction used as scalar and vector.

Test case inspired by D105199.
The file was modifiedllvm/test/Transforms/LoopVectorize/pointer-induction.ll
Commit eda46404cd79f2b8893fb1fb111be074d834ba42 by herhut
[mlir][memref] Clarify the documentation for memref.clone [NFC]

The wording was wrong and suggested that operands to memref.clone may not be mutated.

Differential Revision: https://reviews.llvm.org/D106258
The file was modifiedmlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
Commit f3814ed3e9426d84e7de6054af47187538117fd4 by guopeilin1
[LV] Re-generate check lines of some fragile tests (NFC)

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D105438
The file was modifiedllvm/test/Transforms/LoopVectorize/multiple-strides-vectorization.ll
The file was addedllvm/test/Transforms/LoopVectorize/invariant-store-vectorization-2.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr47343-expander-lcssa-after-cfg-update.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/skeleton-lcssa-crash.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/invariant-load-gather.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr50686.ll
Commit e908e063d1f953984fff14636b1c1ad96de8d500 by guopeilin1
[LoopUtils] Fix incorrect RT check bounds of loop-invariant mem accesses

This fixes the lower and upper bound calculation of a
RuntimeCheckingPtrGroup when it has more than one loop
invariant pointers. Resolves PR50686.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D104148
The file was modifiedllvm/test/Transforms/LoopVectorize/multiple-strides-vectorization.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/uniform_mem_op.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr47343-expander-lcssa-after-cfg-update.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/invariant-store-vectorization-2.ll
The file was modifiedllvm/test/Transforms/LoopVersioning/add-phi-update-users.ll
The file was modifiedllvm/test/Transforms/LoopVersioningLICM/loopversioningLICM2.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/invariant-store-vectorization.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/pr50686.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/invariant-load-gather.ll
The file was modifiedllvm/test/Transforms/LoopVersioningLICM/loopversioningLICM1.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/skeleton-lcssa-crash.ll
Commit d8d8b4574ab40e319d4a32a9c37eae771c43b8f0 by a.bataev
[SLP]Fix possible crash on unreachable incoming values sorting.

The incoming values for PHI nodes may come from unreachable BasicBlocks,
need to handle this case.

Differential Revision: https://reviews.llvm.org/D106264
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/unreachable.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 5939c642aeedc788e28aea412950c3bc362bd91c by llvm-dev
[CostModel][X86] Add fast math tests for float reductions

As noticed on D105432 we didn't have any coverage to distinguish between fast/exact float reductions
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-fmin.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-fmax.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-fadd.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/reduce-fmul.ll
Commit 11c11006d70b0d1cf182a4b0cfa665c74cba2e30 by Lang Hames
[ORC-RT] Separate jit-dispach tag decls from definitions.

This should eliminate the "initialized and declared 'extern'" warnings produced
on some bots, e.g. https://lab.llvm.org/buildbot/#/builders/165/builds/3770
The file was modifiedcompiler-rt/lib/orc/macho_platform.cpp
Commit aa69f0d8fbbcdf6b902694c200caaa90c493a0a7 by Lang Hames
[ORC-RT] Introduce a weak-import macro.

This should eliminate warnings about ignored weak_import attributes on some of
the bots, e.g. https://lab.llvm.org/buildbot/#/builders/165/builds/3770/.
The file was modifiedcompiler-rt/lib/orc/common.h
The file was modifiedcompiler-rt/lib/orc/compiler.h
Commit 3b03d9b874aa902f7f969e7ffdefde23c2758eeb by pifon
[mlir] Introduce `linalg.tiled_yield` terminator for `linalg.tiled_loop`.

https://llvm.discourse.group/t/rfc-changes-to-linalg-tiledloopop-to-unblock-reductions/3890

Differential Revision: https://reviews.llvm.org/D106066
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/test/Dialect/Linalg/invalid.mlir
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
The file was modifiedmlir/test/Dialect/Linalg/fusion-tensor-pattern.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/test/Dialect/Linalg/tiled-loops.mlir
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile-tensors.mlir
The file was modifiedmlir/test/Dialect/Linalg/distribute-tiled-loop.mlir
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
Commit f58a1f65e74686b7a59ae2fa849ce4c70d520e89 by pifon
[rt][nfc] Rewrite #ifndef as #if defined().
The file was modifiedcompiler-rt/lib/gwp_asan/tests/backtrace.cpp
Commit f6ba03584b3ce5dab45d8c1fe84e89d4d668574d by sylvestre
[clang-tidy] ensure run-clang-tidy reports children killed by signals

If a clang-tidy child process exits with a signal then run-clang-tidy will exit
with an error but there is no hint why in the output, since the clang-tidy
doesn't log anything and may not even have had the opportunity to do so
depending on the signal used.

`subprocess.CompletedProcess.returncode` is the negative signal number in this
case.

I hit this in a CI system where the parallelism used exceeded the RAM assigned
to the container causing the OOM killer to SIGKILL clang-tidy processes.

Reviewed By: sylvestre.ledru

Differential Revision: https://reviews.llvm.org/D99081
The file was modifiedclang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Commit 58ddeba3e0de504039add9b5a10a4546de25c7a9 by pifon
Revert "[mlir] Introduce `linalg.tiled_yield` terminator for `linalg.tiled_loop`."

This reverts commit 3b03d9b874aa902f7f969e7ffdefde23c2758eeb.
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize-analysis.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/fusion-tensor-pattern.mlir
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/test/Dialect/Linalg/distribute-tiled-loop.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile-tensors.mlir
The file was modifiedmlir/test/Dialect/Linalg/invalid.mlir
The file was modifiedmlir/test/Dialect/Linalg/tiled-loops.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
Commit cef56d58dbbb3bc993531c14af5e3edd2841029d by simon.tatham
[clang] Change set type used for SourceLocation.

This is part of a patch series working towards the ability to make
SourceLocation into a 64-bit type to handle larger translation units.

If clang is built for a 32-bit platform and SourceLocation is 64 bits
wide, then a SourceLocation will be larger than a pointer, so it won't
be possible to keep them in a SmallPtrSet any more. Switch to
SmallDenseSet instead.

Patch originally by Mikhail Maltsev.

Differential Revision: https://reviews.llvm.org/D105493
The file was modifiedclang/include/clang/Basic/SourceLocation.h
The file was modifiedclang/include/clang/Lex/Preprocessor.h
Commit 96d8f2a1e0842b83b319a8daf3cc82dd5e1350fa by jay.foad
[AMDGPU] Fix typo in comments idexen -> idxen
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit 195786d7c2609f71e81156a09d3a20c98f7ba163 by kadircet
Fix duplicate checks in clangd comments

This patch removes a duplicate checks in the top-level comments in `clang-tools-extra/clangd/ParsedAST.h`

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D106227
The file was modifiedclang-tools-extra/clangd/ParsedAST.h
Commit eacbd7d25ae08465bcef4fb6d3b86c7dddb2d64f by arjunpitchanathan
[MLIR] AffineStructures: resolve clang-tidy warnings [NFC]
The file was modifiedmlir/include/mlir/Analysis/AffineStructures.h
The file was modifiedmlir/lib/Analysis/AffineStructures.cpp
Commit 5b51bd187894820411ad3edcfd1775a78a4a1424 by lebedev.ri
[TLI] prepareSREMEqFold(): use correct VT for the final VSELECT (PR51133)

We were using the wrong VT for this final VSELECT,
it should be in the final comparison VT,
not the source value's VT.

Fixes https://bugs.llvm.org/show_bug.cgi?id=51133
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll
Commit f15c39ba9e7b30987463bb574098c963fc3b0568 by kazu
[CodeGen] Remove isNON_TRUNCStore and isTRUNCStore (NFC)

The last use of isNON_TRUNCStore was removed on Oct 10, 2018 in commit
07acc992dc39edfccc5a4b773c3dcf8a5bf6d893.

isTRUNCStore seems to be unused for at least 10 years.
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGNodes.h
Commit 73840f9f81413f21d3c8fab0ed85917aca2b5d34 by schmeise
thread_local support for AIX

Summary:
The AIX linker will produce errors on unresolved weak symbols.  Change the
generated code to not check for the initialization function but just call
it and ensure that it always exists.  Also, the AIX atexit routine has a
different name (and signature) so call it correctly.  Update the lit tests
to test on AIX appropriately.

Author: Jamie Schmeiser <schmeise@ca.ibm.com>
Reviewed By: hubert.reinterpretcast (Hubert Tong)
Differential Revision: https://reviews.llvm.org/D104420
The file was modifiedclang/lib/CodeGen/CGDeclCXX.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-visibility.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-reference.cpp
Commit f46321207f7d28f21d0dfb3635933d1bd84b5e05 by jeremy.morse
[InstrRef][X86] Drop debug instruction numbers from x87 instructions

Avoid a crash when using instruction referencing if x87 floating point
instructions are used. These instructions are significantly mutated when
they're rewritten from referring to registers, to referring to
floating-point-stack positions. As a result, their operands are re-ordered,
and (InstrRef) LiveDebugValues asserts when it sees a DBG_INSTR_REF
referring to a non-reg non-def register operand.

To fix this, drop the instruction numbers, and thus variable locations.
This patch adds a helper utility do do that.

Dropping the variable locations is sub-optimal, but applying DBG_VALUEs to
the $fp0 and similar registers is dropped on emission too. It seems we've
never done well at describing variables that live in x87 registers, at all.

Differential Revision: https://reviews.llvm.org/D105657
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was addedllvm/test/DebugInfo/MIR/InstrRef/x86-fp-stackifier-drop-locations.mir
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/Target/X86/X86FloatingPoint.cpp
Commit dd5aa657a520adcff84bb6149dd20cd8a2c8c6c6 by amy.kwan1
[PowerPC] Implement vector bool/pixel initialization under -faltivec-src-compat=xl

This patch implements the initialization of vectors under the
-faltivec-src-compat=xl option introduced in https://reviews.llvm.org/D103615.

Under this option, the initialization of scalar vectors, vector bool, and vector
pixel are treated the same, where the initialization value is splatted across
the whole vector.

This patch does not change the behaviour of the -faltivec-src-compat=mixed option,
which is the current default for Clang.

Differential Revision: https://reviews.llvm.org/D106120
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was addedclang/test/CodeGen/vector-bool-pixel-altivec-init.c
The file was addedclang/test/CodeGen/vector-bool-pixel-altivec-init-no-parentheses.c
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaCast.cpp
Commit fb0cf0179526f135fab24b84f9dcd1c41f59ec53 by georgakoudis1
Revert "[OpenMP] Codegen aggregate for outlined function captures"

This reverts commit e9c7291cb25f071f1a1dfa4049ed9f5a8a217b3e.

Fix failing tests
The file was modifiedclang/test/OpenMP/teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/debug-info-complex-byval.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/single_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_multi_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
The file was modifiedclang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/taskgroup_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/debug-info-openmp-array.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_collapse_codegen.cpp
The file was addedopenmp/libomptarget/utils/generate_microtask_cases.py
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/sections_private_codegen.cpp
The file was modifiedclang/test/OpenMP/task_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/task_if_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_lastprivate_conditional.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_03.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_allocate_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c
The file was modifiedclang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_map_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/test/OpenMP/reduction_compound_op.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_win_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/generated-funcs.c.generated.expected
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/cancellation_point_codegen.cpp
The file was modifiedclang/test/OpenMP/for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/tile_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_nested_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/remarks_parallel_in_target_state_machine.c
The file was modifiedclang/test/OpenMP/nvptx_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/for_reduction_codegen_UDR.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/utils/update_cc_test_checks/Inputs/generated-funcs.c.no-generated.expected
The file was modifiedclang/test/OpenMP/parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/CodeGenCXX/observe-noexcept.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
The file was addedopenmp/libomptarget/deviceRTLs/common/generated_microtask_cases.gen
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/single_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/unroll_codegen_parallel_for_factor.cpp
The file was modifiedclang/test/OpenMP/parallel_sections_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/single_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen_global_capture.cpp
The file was modifiedclang/test/OpenMP/for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/cancel_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_data_sharing.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/sections_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_private_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/support.cu
The file was modifiedclang/test/OpenMP/for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_codegen_globalization.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
The file was modifiedclang/test/OpenMP/parallel_for_simd_aligned_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_debug_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/vla_crash.c
The file was modifiedclang/test/OpenMP/parallel_for_linear_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
Commit e574fd9d524dd7e14be0f024c9a3e6ae68c983ba by Matthew.Arsenault
AArch64/GlobalISel: Cleanup unnecessary size checks in call lowering

The CCValAssign types should now be accurate, so these are no longer
necessary.
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
Commit 77bb82d068568a950f196e62beaa88fb08c57232 by kai.wang
[Clang][RISCV] Support half-precision floating point for RVV intrinsics.

Use _Float16 as the half-precision floating point type. Define a new
type specifier 'x' for the _Float16 type.

Differential Revision: https://reviews.llvm.org/D105001
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vfadd.c
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/lib/Basic/Targets/RISCV.h
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfadd.c
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/utils/TableGen/RISCVVEmitter.cpp
The file was modifiedclang/include/clang/Basic/riscv_vector.td
Commit 7f67263d56a0f5c1ebc9f576502f667d7d34c685 by dvyukov
tsan: remove duplicate arch switch in buildgo.sh

For some reason we have 2 switches on arch and add
half of arch flags in one place and half in another.
Merge these 2 switches.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D106274
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
Commit ad424cf1ed2a191b3e93f60ca591104dbf4b79a2 by pklausler
[flang] Runtime API for data pointers

Define and implement an API for use by lowering to
implement operations on pointers.

Differential Revision: https://reviews.llvm.org/D106170
The file was modifiedflang/runtime/CMakeLists.txt
The file was modifiedflang/runtime/allocatable.cpp
The file was modifiedflang/runtime/descriptor.h
The file was modifiedflang/runtime/allocatable.h
The file was addedflang/runtime/pointer.cpp
The file was addedflang/runtime/pointer.h
The file was modifiedflang/runtime/misc-intrinsic.cpp
The file was modifiedflang/test/Semantics/offsets01.f90
The file was modifiedflang/runtime/descriptor.cpp
Commit 84dfbf5a7797f6a3f786163b77ce020009d6ba4e by patacca
[Polly][Isl] Stop using isl::set::lex_le_set. NFC

This is part of an effort to reduce the differences between the custom C++ bindings used right now by polly in `lib/External/isl/include/isl/isl-noxceptions.h` and the official isl C++ interface.

Changes made:
- Stop using `isl::set::lex_le_set`. The official way to do this is to use `isl::map::lex_le_at`
- Removed `isl::set::lex_le_set` from `isl-noexceptions.h`
- `isl-noexceptions.h` has been generated by this https://github.com/patacca/isl/commit/266fea1d3dbd31c23d866eb363fcc8e61e50419f

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D106269
The file was modifiedpolly/lib/Analysis/DependenceInfo.cpp
The file was modifiedpolly/lib/External/isl/include/isl/isl-noexceptions.h
Commit 9236125ec88f619799879beef5a6d2855c87bced by Matthew.Arsenault
GlobalISel: Preserve LLT when bitcasting loads and stores

This also avoids improperly legalizing some truncating vector stores.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/include/llvm/CodeGen/MachineMemOperand.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
Commit 74f0f9a455c55101c0cb2ab36df5abae134fd78d by konndennsa
[LICM] Create LoopNest Invariant Code Motion (LNICM) pass

This patch adds a new pass called LNICM which is a LoopNest version of LICM and a test case to show how LNICM works.
Basically, LNICM only hoists invariants out of loop nest (not a loop) to keep/make perfect loop nest. This enables later optimizations that require perfect loop nest.

Reviewed By: Whitney

Differential Revision: https://reviews.llvm.org/D104180
The file was modifiedllvm/include/llvm/Transforms/Utils/LoopUtils.h
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/include/llvm/Transforms/Scalar/LICM.h
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was addedllvm/test/Transforms/LICM/lnicm.ll
Commit 5561ad8b3632ec6ec4ca079e4b396fa6a8944f09 by david.green
[ARM] Remove PromotedBitwiseVT for NEON types

This removes the promotion of NEON AND, OR and XOR nodes to v2i32/v4i32,
treating them the same as the AArch64 and MVE backends where we just add
the relevant patterns for each legal type. This prevents a lot of
bitcasts from being added to the DAG, which have the potential to make
optimizations more difficult. It does mean adding extra patterns, and
some codegen can change due to the types now being legal, not promoted.

Differential Revision: https://reviews.llvm.org/D105588
The file was modifiedllvm/lib/Target/ARM/ARMInstrNEON.td
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/test/CodeGen/ARM/vector-promotion.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.h
The file was modifiedllvm/test/CodeGen/ARM/vmov.ll
Commit 67d6132463541d5e4cf7483cb3c7b5d95b46ee6d by Matthew.Arsenault
GlobalISel: Preserve memory types for implicit sret load/stores
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call-return-values.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll
Commit 87656a3134c7c03565efca85352a58541ce68789 by gysit
[mlir][linalg] Fold TensorCast into PadTensorOp.

Add pattern to fold a TensorCast into a PadTensorOp if the cast removes static size information.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D106278
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
Commit 142e60f40b506faca78a1ec0adb4394703212af8 by llvm-dev
[X86] Fix case of IsAfterLegalize argument. NFC.

Pulled out of D106280
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 8c598b77a038c87c1a0e60ce1b3c5e0961c30eda by llvm-dev
[ISD] Add disclaimer comments to AssertSext/Zext/Align opcodes about poison values

As encountered on D106053, we need to be very explicit that the Assertion nodes don't hold true for a poison value (or for specific poisoned vector elements).

Differential Revision: https://reviews.llvm.org/D106257
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
Commit 356300a3510c48f1f446cbdf580294b577435589 by amy.kwan1
[NFC][PowerPC] Update builtins-ppc-altivec.c to be run under `-faltivec-src-compat=mixed`

This patch adds the `-faltivec-src-compat=mixed` option to the
`builtins-ppc-altivec.c` test.

Currently, the default for `-faltivec-src-compat` is `mixed`. The reason we
explicitly specify `mixed` to the RUN lines of this test is because eventually,
the default will set to `xl`.

Having the default as `xl` changes the CHECKs of this test slightly, as it
reorders some of the `vector bool` and `vector pixel` CHECKs (since under the
`xl` option, `vector bool` and `vector pixel` are treated in the same way as
other vector scalars). Explicitly specifying `mixed` ensures that we are testing
pre-existing Clang behaviour.

Differential Revision: https://reviews.llvm.org/D106282
The file was modifiedclang/test/CodeGen/builtins-ppc-altivec.c
Commit 59e4e53ead25c5ef0029dbc4df7af7c2fa8d070d by victor.campos
[NewPM] Fix wrong perfect forwardings

Some template functions were missing '&&' in function arguments,
therefore these were always taken by value after template instantiation.

This patch adds the double ampersand to introduce proper perfect
forwarding.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D106148
The file was modifiedllvm/include/llvm/Analysis/CGSCCPassManager.h
The file was modifiedllvm/include/llvm/IR/PassManager.h
The file was modifiedllvm/include/llvm/Transforms/Scalar/LoopPassManager.h
Commit 9c49195330d75b669048cdb3c522ac17249addeb by hanchung
[mlir][Linalg] Migrate 2D pooling ops from tc definition to yaml definition.

This deletes all the pooling ops in LinalgNamedStructuredOpsSpec.tc. All the
uses are replaced with the yaml pooling ops.

Reviewed By: gysit, rsuderman

Differential Revision: https://reviews.llvm.org/D106181
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/test/Dialect/Linalg/named-ops.mlir
The file was modifiedmlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
The file was modifiedmlir/test/Dialect/Linalg/generalize-named-polymorphic-ops.mlir
The file was modifiedmlir/test/python/integration/dialects/linalg/opsrun.py
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc
The file was modifiedmlir/test/Dialect/Linalg/generalize-named-ops.mlir
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
Commit 50302feb1d2cce4a9fee38621cc7596b3c66ff02 by craig.topper
[SelectionDAG][RISCV] Use isSExtCheaperThanZExt to control whether sext or zext is used for constant folding any_extend.

RISCV would prefer a sign extended constant since that works better
with our constant materialization. We have an existing TLI hook we
use to control sign extension of setcc operands in type legalization.
That hook happens to do the right check we need here, but might be
straying from its original purpose. With only RISCV defining this
hook in tree, I wasn't sure if it was worth adding another hook
with identical behavior.

This is an alternative to D105785 where I tried to handle this in
the RISCV backend by not creating ANY_EXTENDs in some places.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D105918
The file was modifiedllvm/test/CodeGen/RISCV/xaluo.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rv64zbb-zbp.ll
The file was modifiedllvm/test/CodeGen/RISCV/alu32.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit 670944fb20b226fc22fa993ab521125f9adbd30a by aardappel
[WebAssembly] Support R_WASM_MEMORY_ADDR_TLS_SLEB64 for wasm64

Also fixed TLS tests swapping addr & value in store op
Differential Revision: https://reviews.llvm.org/D106096
The file was modifiedllvm/include/llvm/BinaryFormat/WasmRelocs.def
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp
The file was modifiedllvm/lib/BinaryFormat/Wasm.cpp
The file was modifiedlld/wasm/InputChunks.cpp
The file was modifiedlld/wasm/InputFiles.cpp
The file was modifiedlld/wasm/Relocations.cpp
The file was modifiedllvm/test/MC/WebAssembly/tls.s
The file was modifiedllvm/lib/MC/WasmObjectWriter.cpp
The file was addedllvm/test/MC/WebAssembly/tls64.s
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
Commit 03cdb5221d120c4000725e4aa862ef8c8b852274 by Amara Emerson
[GlobalISel] Fix load-or combine moving loads across potential aliasing stores.

Although this combine checks that there's no load folding barriers between
the loads that it's trying to merge, it was inserting the load at the
MIRBuilder's default insertion point, which is the G_OR use inst.

This was causing a miscompile in the test suite's
SingleSource/Regression/C/gcc-c-torture/execute/GCC-C-execute-bswap-2

Differential Revision: https://reviews.llvm.org/D106251
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-load-or-pattern.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 11dda1a234620639a856de61f8a2c0dc3a8bdd2a by rob.suderman
[mlir][tosa] Added shape inference for tosa convolution operations

Added shape inference handles cases for convolution operations. This includes
conv2d, conv3d, depthwise_conv2d, and transpose_conv2d. With transpose conv
we use the specified output shape when possible however will shape propagate
if the output shape attribute has dynamic values.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D105645
The file was modifiedmlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
Commit 4f993463ca48ef0e849e1d39348030316d71a394 by efriedma
[NFC] Run -instnamer on test Transforms/LICM/sink-debuginfo-preserve.ll
The file was modifiedllvm/test/Transforms/LICM/sink-debuginfo-preserve.ll
Commit fd972bb9fd78aaf7a33d9e4d079b152b8feb37a4 by akhuang
Revert "[llvm][sve] Lowering for VLS truncating stores" because it
causes a seg fault (see https://reviews.llvm.org/D104471).

This reverts commit c305557acdaad453e32309d575fe9c6c7090c099.
The file was modifiedllvm/test/CodeGen/Mips/cconv/vector.ll
The file was modifiedllvm/test/CodeGen/Mips/cconv/byval.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.h
The file was removedllvm/test/CodeGen/AArch64/sve-fixed-length-trunc-stores.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-fixed-length-masked-gather.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/Mips/llvm-ir/store.ll
Commit 6c0e6895d014096ad7375e95997575ad1e8da020 by paulsson
[SystemZ]  Handle NoRegister in SystemZTargetLowering::emitMemMemWrapper().

Bugfix: The compiler should be able to generate a memset to nullptr.

Review: Ulrich Weigand
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/test/CodeGen/SystemZ/memset-05.ll
Commit 8b4acb067fd38ac33a63669ef46966dfee59257e by haowei
[elfabi] Prepare elfabi/ifs merging.

This change implements unified text stub format and command line
interface proposed in the elfabi/ifs merge plan.

Differential Revision: https://reviews.llvm.org/D99399
The file was modifiedllvm/test/tools/llvm-elfabi/tbe-emits-current-version.test
The file was modifiedllvm/include/llvm/BinaryFormat/ELF.h
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-no-dt-strtab.test
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-neededlibs.test
The file was modifiedllvm/include/llvm/InterfaceStub/ELFStub.h
The file was modifiedllvm/lib/InterfaceStub/ELFStub.cpp
The file was modifiedllvm/include/llvm/InterfaceStub/TBEHandler.h
The file was modifiedllvm/test/tools/llvm-elfabi/output-target-error.test
The file was modifiedllvm/lib/InterfaceStub/TBEHandler.cpp
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-no-dt-strsz.test
The file was modifiedllvm/test/tools/llvm-elfabi/preserve-dates-tbe.test
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-syms-sysv-hash.test
The file was modifiedllvm/test/tools/llvm-elfabi/fail-file-open.test
The file was modifiedllvm/test/tools/llvm-elfabi/preserve-dates-stub.test
The file was modifiedllvm/tools/llvm-ifs/CMakeLists.txt
The file was addedllvm/test/tools/llvm-elfabi/read-tbe-with-bad-endianness.test
The file was addedllvm/test/tools/llvm-elfabi/read-tbe-with-bad-bitwidth.test
The file was addedllvm/lib/BinaryFormat/ELF.cpp
The file was modifiedllvm/test/tools/llvm-elfabi/read-tbe-as-tbe.test
The file was modifiedllvm/unittests/InterfaceStub/ELFYAMLTest.cpp
The file was modifiedllvm/test/tools/llvm-elfabi/tbe-read-basic.test
The file was modifiedllvm/tools/llvm-ifs/llvm-ifs.cpp
The file was modifiedllvm/test/tools/llvm-elfabi/write-stub-no-nonlocal-symbol.test
The file was modifiedllvm/test/tools/llvm-elfabi/fail-file-write-windows.test
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-add-soname.test
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-bad-vaddr.test
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-bad-soname.test
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-arch.test
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-syms-gnu-hash.test
The file was modifiedllvm/lib/InterfaceStub/CMakeLists.txt
The file was modifiedllvm/test/tools/llvm-elfabi/read-unsupported-file.test
The file was modifiedllvm/tools/llvm-elfabi/CMakeLists.txt
The file was modifiedllvm/lib/BinaryFormat/CMakeLists.txt
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-replace-soname.test
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-soname.test
The file was modifiedllvm/test/tools/llvm-elfabi/read-elf-dynsym.test
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-neededlibs-bad-offset.test
The file was addedllvm/test/tools/llvm-elfabi/strip-target.test
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-no-dynamic.test
The file was modifiedllvm/lib/InterfaceStub/ELFObjHandler.cpp
The file was modifiedllvm/test/tools/llvm-elfabi/read-tbe-as-elf.test
The file was modifiedllvm/include/llvm/InterfaceStub/ELFObjHandler.h
The file was modifiedllvm/test/tools/llvm-elfabi/binary-read-soname-no-null.test
The file was modifiedllvm/test/tools/llvm-elfabi/fail-file-write.test
The file was modifiedllvm/tools/llvm-elfabi/llvm-elfabi.cpp
The file was modifiedllvm/test/tools/llvm-elfabi/write-stub.test
Commit 61fa9afe4c5b014181ce41a35c84fb0f3be975db by haowei
[ifs] Prepare llvm-ifs for elfabi/ifs merging.

This diff changes llvm-ifs to use unified IFS file format
and perform other renaming changes in preparation for the
merging between elfabi/ifs.

Differential Revision: https://reviews.llvm.org/D99810
The file was modifiedllvm/tools/llvm-ifs/llvm-ifs.cpp
The file was addedllvm/test/tools/llvm-ifs/binary-read-syms-sysv-hash.test
The file was modifiedllvm/include/llvm/InterfaceStub/ELFObjHandler.h
The file was removedllvm/test/tools/llvm-elfabi/binary-read-no-dynamic.test
The file was removedllvm/test/tools/llvm-elfabi/read-unsupported-file.test
The file was removedllvm/test/tools/llvm-elfabi/binary-read-no-dt-strtab.test
The file was addedllvm/test/tools/llvm-ifs/output-target-error.test
The file was addedllvm/test/tools/llvm-ifs/write-stub-no-nonlocal-symbol.test
The file was modifiedclang/test/InterfaceStubs/weak.cpp
The file was removedllvm/lib/InterfaceStub/ELFStub.cpp
The file was modifiedclang/test/InterfaceStubs/object.ifs
The file was addedllvm/test/tools/llvm-ifs/ifs-emits-current-version.test
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
The file was removedllvm/test/tools/llvm-elfabi/Inputs/sysv_hash.so
The file was addedllvm/test/tools/llvm-ifs/binary-read-syms-gnu-hash.test
The file was modifiedclang/test/InterfaceStubs/hidden-class-inheritance.cpp
The file was addedllvm/lib/InterfaceStub/IFSStub.cpp
The file was modifiedllvm/test/tools/llvm-ifs/empty1.ifs
The file was modifiedclang/test/InterfaceStubs/cxx-conversion.cpp
The file was modifiedllvm/test/tools/llvm-ifs/tvos-tbd.ifs
The file was modifiedclang/test/InterfaceStubs/trycatch.cpp
The file was modifiedclang/test/InterfaceStubs/usings.cpp
The file was addedllvm/test/tools/llvm-ifs/binary-read-no-dt-strsz.test
The file was removedllvm/test/tools/llvm-elfabi/tbe-read-basic.test
The file was addedllvm/test/tools/llvm-ifs/read-ifs-with-bad-bitwidth.test
The file was addedllvm/test/tools/llvm-ifs/read-unsupported-file.test
The file was modifiedclang/test/InterfaceStubs/bad-format.cpp
The file was modifiedclang/test/InterfaceStubs/driver-test3.c
The file was addedllvm/test/tools/llvm-ifs/binary-read-arch.test
The file was addedllvm/include/llvm/InterfaceStub/IFSHandler.h
The file was addedllvm/test/tools/llvm-ifs/binary-read-no-dynamic.test
The file was addedllvm/test/tools/llvm-ifs/binary-read-bad-soname.test
The file was removedllvm/test/tools/llvm-elfabi/binary-read-bad-vaddr.test
The file was removedllvm/test/tools/llvm-elfabi/read-tbe-with-bad-bitwidth.test
The file was modifiedllvm/test/tools/llvm-ifs/strong.ifs
The file was addedllvm/include/llvm/InterfaceStub/IFSStub.h
The file was modifiedllvm/test/tools/llvm-ifs/empty2.ifs
The file was removedllvm/test/tools/llvm-elfabi/tbe-emits-current-version.test
The file was removedllvm/test/tools/llvm-elfabi/Inputs/gnu_hash.so
The file was addedllvm/test/tools/llvm-ifs/strip-target.test
The file was modifiedclang/test/InterfaceStubs/ppc.cpp
The file was modifiedllvm/test/tools/llvm-ifs/default-empty.ifs
The file was removedllvm/lib/InterfaceStub/TBEHandler.cpp
The file was addedllvm/test/tools/llvm-ifs/read-ifs-as-elf.test
The file was addedllvm/test/tools/llvm-ifs/write-stub.test
The file was modifiedclang/test/InterfaceStubs/template-template-parm-decl.cpp
The file was removedllvm/test/tools/llvm-elfabi/read-tbe-as-elf.test
The file was modifiedllvm/unittests/InterfaceStub/ELFYAMLTest.cpp
The file was modifiedllvm/test/tools/llvm-ifs/version-ok.ifs
The file was modifiedclang/test/InterfaceStubs/lambda.cpp
The file was modifiedllvm/test/tools/llvm-ifs/func.ifs
The file was removedllvm/include/llvm/InterfaceStub/ELFStub.h
The file was modifiedllvm/test/tools/llvm-ifs/ios-tbd.ifs
The file was removedllvm/test/tools/llvm-elfabi/binary-read-neededlibs.test
The file was addedllvm/test/tools/llvm-ifs/fail-file-write.test
The file was addedllvm/test/tools/llvm-ifs/read-ifs-with-bad-endianness.test
The file was modifiedclang/test/InterfaceStubs/func.ifs
The file was removedllvm/test/tools/llvm-elfabi/binary-read-arch.test
The file was addedllvm/test/tools/llvm-ifs/Inputs/gnu_hash.so
The file was removedllvm/test/tools/llvm-elfabi/fail-file-write-windows.test
The file was removedllvm/test/tools/llvm-elfabi/binary-read-neededlibs-bad-offset.test
The file was modifiedllvm/test/tools/llvm-ifs/Inputs/strong-mismatch-size.ifs
The file was modifiedclang/test/InterfaceStubs/namespace.cpp
The file was removedllvm/test/tools/llvm-elfabi/strip-target.test
The file was removedllvm/test/tools/llvm-elfabi/binary-read-no-dt-strsz.test
The file was addedllvm/test/tools/llvm-ifs/preserve-dates-ifs.test
The file was modifiedllvm/test/tools/llvm-ifs/conflict-header-version.ifs
The file was addedllvm/test/tools/llvm-ifs/ifs-read-basic.test
The file was removedllvm/test/tools/llvm-elfabi/read-tbe-as-tbe.test
The file was modifiedllvm/test/tools/llvm-ifs/object.ifs
The file was addedllvm/test/tools/llvm-ifs/preserve-dates-stub.test
The file was addedllvm/test/tools/llvm-ifs/read-ifs-as-ifs.test
The file was removedllvm/test/tools/llvm-elfabi/fail-file-open.test
The file was addedllvm/test/tools/llvm-ifs/fail-file-open.test
The file was addedllvm/test/tools/llvm-ifs/read-elf-dynsym.test
The file was removedllvm/test/tools/llvm-elfabi/preserve-dates-stub.test
The file was modifiedllvm/test/tools/llvm-ifs/conflict-type.ifs
The file was modifiedclang/test/InterfaceStubs/namespace-alias.cpp
The file was modifiedclang/test/InterfaceStubs/windows.cpp
The file was addedllvm/test/tools/llvm-ifs/binary-read-soname-no-null.test
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/test/tools/llvm-ifs/Inputs/strong-mismatch-type.ifs
The file was modifiedclang/test/InterfaceStubs/indirect-field-decl.cpp
The file was modifiedclang/test/InterfaceStubs/non-type-template-parm-decl.cpp
The file was removedllvm/test/tools/llvm-ifs/conflict-header-format.ifs
The file was modifiedclang/test/InterfaceStubs/unresolved-using-typename.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedllvm/test/tools/llvm-ifs/binary-read-add-soname.test
The file was removedllvm/test/tools/llvm-elfabi/binary-read-syms-sysv-hash.test
The file was removedllvm/test/tools/llvm-elfabi/binary-read-soname.test
The file was addedllvm/test/tools/llvm-ifs/binary-read-neededlibs.test
The file was modifiedclang/test/InterfaceStubs/template-constexpr.cpp
The file was modifiedllvm/test/tools/llvm-ifs/object-function-size-weak-combo.ifs
The file was addedllvm/test/tools/llvm-ifs/Inputs/sysv_hash.so
The file was removedllvm/test/tools/llvm-elfabi/binary-read-soname-no-null.test
The file was modifiedllvm/test/tools/llvm-ifs/conflict-header-triple.ifs
The file was addedllvm/test/tools/llvm-ifs/binary-read-neededlibs-bad-offset.test
The file was removedllvm/test/tools/llvm-elfabi/binary-read-bad-soname.test
The file was removedllvm/test/tools/llvm-elfabi/fail-file-write.test
The file was addedllvm/test/tools/llvm-ifs/binary-read-bad-vaddr.test
The file was removedllvm/test/tools/llvm-elfabi/read-elf-dynsym.test
The file was modifiedllvm/test/tools/llvm-ifs/conflict-size.ifs
The file was addedllvm/test/tools/llvm-ifs/binary-read-replace-soname.test
The file was addedllvm/test/tools/llvm-ifs/binary-read-soname.test
The file was modifiedllvm/lib/InterfaceStub/ELFObjHandler.cpp
The file was removedllvm/test/tools/llvm-elfabi/binary-read-add-soname.test
The file was removedllvm/test/tools/llvm-elfabi/write-stub-no-nonlocal-symbol.test
The file was modifiedclang/test/InterfaceStubs/constructor-using-shadow.cpp
The file was removedllvm/test/tools/llvm-elfabi/binary-read-replace-soname.test
The file was modifiedllvm/test/tools/llvm-ifs/watchos-tbd.ifs
The file was modifiedllvm/test/tools/llvm-ifs/weak-mismatch.ifs
The file was modifiedllvm/test/tools/llvm-ifs/weak.ifs
The file was addedllvm/test/tools/llvm-ifs/binary-read-no-dt-strtab.test
The file was removedllvm/test/tools/llvm-elfabi/write-stub.test
The file was modifiedclang/test/InterfaceStubs/var-template-specialization-decl.cpp
The file was addedllvm/test/tools/llvm-ifs/fail-file-write-windows.test
The file was modifiedllvm/tools/llvm-elfabi/llvm-elfabi.cpp
The file was modifiedclang/test/InterfaceStubs/conflict-type.ifs
The file was removedllvm/test/tools/llvm-elfabi/binary-read-syms-gnu-hash.test
The file was removedllvm/test/tools/llvm-elfabi/output-target-error.test
The file was modifiedclang/test/InterfaceStubs/blocks.c
The file was modifiedclang/test/InterfaceStubs/cxxdeduction-guide.cpp
The file was modifiedllvm/test/tools/llvm-ifs/macos-tbd.ifs
The file was removedllvm/test/tools/llvm-elfabi/read-tbe-with-bad-endianness.test
The file was modifiedclang/test/InterfaceStubs/class-template-partial-specialization.cpp
The file was removedllvm/test/tools/llvm-elfabi/preserve-dates-tbe.test
The file was modifiedllvm/lib/InterfaceStub/CMakeLists.txt
The file was removedllvm/include/llvm/InterfaceStub/TBEHandler.h
The file was modifiedclang/test/InterfaceStubs/empty.c
The file was addedllvm/lib/InterfaceStub/IFSHandler.cpp
The file was modifiedllvm/test/tools/llvm-ifs/conflict-weak.ifs
Commit 6103fdfab4e2c051c070e2994db8b696fc440048 by haowei
[ifs][elfabi] Merge llvm-ifs/elfabi tools

This change merges llvm-elfabi and llvm-ifs tools.

Differential Revision: https://reviews.llvm.org/D100139
The file was modifiedllvm/test/tools/llvm-ifs/strong.ifs
The file was modifiedllvm/test/tools/llvm-ifs/conflict-size.ifs
The file was modifiedllvm/test/tools/llvm-ifs/output-target-error.test
The file was modifiedclang/test/InterfaceStubs/driver-test.c
The file was modifiedllvm/test/tools/llvm-ifs/conflict-header-version.ifs
The file was modifiedllvm/include/llvm/InterfaceStub/IFSHandler.h
The file was modifiedllvm/test/tools/llvm-ifs/fail-file-open.test
The file was modifiedllvm/test/tools/llvm-ifs/fail-file-write.test
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-arch.test
The file was modifiedllvm/tools/llvm-ifs/CMakeLists.txt
The file was modifiedllvm/test/tools/llvm-ifs/default-empty.ifs
The file was modifiedllvm/test/tools/llvm-ifs/weak-mismatch.ifs
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
The file was modifiedllvm/test/tools/llvm-ifs/strip-target.test
The file was removedllvm/tools/llvm-elfabi/llvm-elfabi.cpp
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-neededlibs.test
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-soname-no-null.test
The file was modifiedllvm/test/tools/llvm-ifs/read-unsupported-file.test
The file was modifiedllvm/test/tools/llvm-ifs/tvos-tbd.ifs
The file was modifiedllvm/test/tools/llvm-ifs/object-function-size-weak-combo.ifs
The file was modifiedllvm/test/tools/llvm-ifs/write-stub-no-nonlocal-symbol.test
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-bad-vaddr.test
The file was addedllvm/tools/llvm-ifs/ErrorCollector.h
The file was modifiedclang/lib/Driver/ToolChains/InterfaceStubs.cpp
The file was modifiedllvm/test/tools/llvm-ifs/read-ifs-as-elf.test
The file was modifiedllvm/test/tools/llvm-ifs/object.ifs
The file was modifiedllvm/test/tools/llvm-ifs/read-elf-dynsym.test
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-add-soname.test
The file was modifiedllvm/test/tools/llvm-ifs/preserve-dates-ifs.test
The file was modifiedllvm/test/tools/llvm-ifs/preserve-dates-stub.test
The file was modifiedllvm/test/tools/llvm-ifs/macos-tbd.ifs
The file was addedllvm/tools/llvm-ifs/ErrorCollector.cpp
The file was removedllvm/utils/gn/secondary/llvm/tools/llvm-elfabi/BUILD.gn
The file was modifiedllvm/test/tools/llvm-ifs/empty2.ifs
The file was modifiedllvm/test/tools/llvm-ifs/conflict-header-triple.ifs
The file was removedllvm/tools/llvm-elfabi/CMakeLists.txt
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was modifiedllvm/lib/InterfaceStub/IFSStub.cpp
The file was modifiedllvm/tools/llvm-ifs/llvm-ifs.cpp
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-replace-soname.test
The file was modifiedllvm/test/tools/llvm-ifs/read-ifs-with-bad-bitwidth.test
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-no-dt-strtab.test
The file was removedllvm/tools/llvm-elfabi/ErrorCollector.cpp
The file was modifiedllvm/test/tools/llvm-ifs/func.ifs
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-no-dt-strsz.test
The file was modifiedllvm/test/tools/llvm-ifs/fail-file-write-windows.test
The file was modifiedllvm/test/tools/llvm-ifs/version-ok.ifs
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-soname.test
The file was modifiedllvm/lib/InterfaceStub/ELFObjHandler.cpp
The file was modifiedllvm/include/llvm/InterfaceStub/ELFObjHandler.h
The file was modifiedllvm/test/tools/llvm-ifs/empty1.ifs
The file was modifiedllvm/test/tools/llvm-ifs/ifs-emits-current-version.test
The file was modifiedllvm/test/tools/llvm-ifs/conflict-type.ifs
The file was modifiedllvm/test/tools/llvm-ifs/ios-tbd.ifs
The file was modifiedllvm/lib/InterfaceStub/IFSHandler.cpp
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-no-dynamic.test
The file was modifiedllvm/test/tools/llvm-ifs/conflict-weak.ifs
The file was modifiedllvm/test/tools/llvm-ifs/weak.ifs
The file was modifiedllvm/test/tools/llvm-ifs/write-stub.test
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-syms-sysv-hash.test
The file was modifiedllvm/unittests/InterfaceStub/ELFYAMLTest.cpp
The file was modifiedllvm/test/tools/llvm-ifs/read-ifs-with-bad-endianness.test
The file was modifiedllvm/include/llvm/InterfaceStub/IFSStub.h
The file was removedllvm/tools/llvm-elfabi/ErrorCollector.h
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-neededlibs-bad-offset.test
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-bad-soname.test
The file was modifiedllvm/test/tools/llvm-ifs/watchos-tbd.ifs
The file was modifiedllvm/test/tools/llvm-ifs/binary-read-syms-gnu-hash.test
The file was modifiedllvm/test/tools/llvm-ifs/ifs-read-basic.test
The file was modifiedllvm/test/tools/llvm-ifs/read-ifs-as-ifs.test
Commit d0ed40204d31afc6e9d672c9aaab77e3e07e97d2 by llvmgnsyncbot
[gn build] Port 6103fdfab4e2
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-ifs/BUILD.gn
Commit e78560f6e8ce9e855af06ed2205fef64f2a3187f by llvmgnsyncbot
[gn build] Port 61fa9afe4c5b
The file was modifiedllvm/utils/gn/secondary/llvm/lib/InterfaceStub/BUILD.gn
Commit 68dec42e6bd98b0dc276b5b81702340e6f11548b by llvmgnsyncbot
[gn build] Port 8b4acb067fd3
The file was modifiedllvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn
Commit 9333d34b8a788869a545701110ccce5662d0eb47 by Louis Dionne
[libc++] Disable #pragma system_header in the new testing configuration

The new testing configuration did not turn off #pragma system_header,
which means we were not seeing warnings in system headers.

Differential Revision: https://reviews.llvm.org/D106187
The file was modifiedlibcxx/utils/libcxx/test/features.py
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit 2d56e1394b8fa5419b22ab4716dfbc76475f9e0f by David CARLIER
[Sanitizer] Intercepts flopen/flopenat on FreeBSD.

Reviewers: vitalybuka

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106218
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
Commit ef648df281e0bca0962571a8c5a965ab69f7686f by gcmn
[Bazel] Update for 6103fdfab4

Update Bazel config for
https://github.com/llvm/llvm-project/commit/6103fdfab4
by deleting the llvm-elfabi target.

Differential Revision: https://reviews.llvm.org/D106295
The file was modifiedutils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Commit 2c98298a7559dfe4a264ef1adaad0921526768cc by tra
[MemCpyOpt] Enable memcpy optimizations unconditionally.

The patch does not depend on the availability of the library functions for
memcpy/memset as it operates on LLVM intrinsics.  The optimizations are useful
on the targets that have these functions disabled (e.g. NVPTX & AMDGPU).

Differential Revision: https://reviews.llvm.org/D104801
The file was modifiedllvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Commit a2cc67eaf0676cc9ff962d4e297815dd9ca7cdd0 by haowei
[ifs] Fix linking errors on some llvm builders

This change fixes linking errors on some llvm builders.
The file was modifiedllvm/tools/llvm-ifs/CMakeLists.txt
Commit bcbb3066ce8a6c7fdda8c72a0f51e0572172de8c by thakis
[lld/mac] Change load command order to be more like ld64

No meaningful behavior change. Makes diffing `otool -l` output a bit easier.

Differential Revision: https://reviews.llvm.org/D106219
The file was modifiedlld/test/MachO/load-command-sequence.s
The file was modifiedlld/MachO/Writer.cpp
Commit 408f2b8b01a32219ecdc5b1c41cac0ec2daa8c4c by llvm-dev
[SLP][X86] Add dot product tests based off PR51075
The file was addedllvm/test/Transforms/SLPVectorizer/X86/dot-product.ll
Commit b988d69ea2864a1bdf9789f930ecf7f41d109653 by tra
[infer-address-spaces] Handle complex non-pointer constexpr arguments.

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

Differential Revision: https://reviews.llvm.org/D106098
The file was modifiedllvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
The file was modifiedllvm/test/Transforms/InferAddressSpaces/NVPTX/clone_constexpr.ll
Commit 54902e00d1280785042e2c7ec71b25a949ade92c by phosek
[InstrProfiling] Use weak alias for bias variable

We need the compiler generated variable to override the weak symbol of
the same name inside the profile runtime, but using LinkOnceODRLinkage
results in weak symbol being emitted in which case the symbol selected
by the linker is going to depend on the order of inputs which can be
fragile.

This change replaces the use of weak definition inside the runtime with
a weak alias. We place the compiler generated symbol inside a COMDAT
group so dead definition can be garbage collected by the linker.

We also disable the use of runtime counter relocation on Darwin since
Mach-O doesn't support weak external references, but Darwin already uses
a different continous mode that relies on overmapping so runtime counter
relocation isn't needed there.

Differential Revision: https://reviews.llvm.org/D105176
The file was modifiedcompiler-rt/lib/profile/InstrProfilingUtil.h
The file was modifiedllvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll
The file was modifiedllvm/include/llvm/ProfileData/InstrProfData.inc
The file was modifiedcompiler-rt/lib/profile/InstrProfiling.h
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
The file was modifiedcompiler-rt/include/profile/InstrProfData.inc
The file was modifiedcompiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
The file was modifiedcompiler-rt/lib/profile/InstrProfilingBuffer.c
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
The file was modifiedcompiler-rt/lib/profile/InstrProfilingInternal.h
The file was modifiedcompiler-rt/lib/profile/CMakeLists.txt
The file was removedcompiler-rt/lib/profile/InstrProfilingBiasVar.c
The file was modifiedcompiler-rt/lib/profile/InstrProfilingInternal.c
Commit 42e6cfc81d05304574f98e3b05296d53613493ff by llvmgnsyncbot
[gn build] Port 54902e00d128
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn
Commit 5994201c8e4c69518a10e143d09973b77886c90f by ravishankarm
[mlir][Linalg] NFC: Rename FusionOfTensors pass to FusionOfElementwiseOps pass.

This makes it more explicit what the scope of this pass is. The name
of this pass predates fusion on tensors using tile + fuse, and hence
the confusion.

Differential Revision: https://reviews.llvm.org/D106132
The file was removedmlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
The file was addedmlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
The file was removedmlir/test/Dialect/Linalg/fusion-tensor.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was modifiedmlir/test/Dialect/Linalg/reshape_fusion.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
The file was addedmlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir
Commit 51e62e56f7edaab7dddfe48fb709b6d8ca952909 by Tony.Tye
[AMDGPU] Reserve AMDGPU ELF e_flags machine 0x45

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D106249
The file was modifiedllvm/docs/AMDGPUUsage.rst
The file was modifiedllvm/include/llvm/BinaryFormat/ELF.h
Commit 54c8902f02361114f9485f6de907d71623d6a50c by tejohnson
[LangRef] Clarify support for multiple metadata attachments with same id

As discussed on D105251, currently the compiler does not support
multiple metadata attachments on instructions having the same
identifier, whereas it does for global objects. Note this in the
Language Reference manual for clarity.

See D105251 for discussions of history behind this divergence, and the
complexities and possible approaches of adding this support to
instructions in the future.

Differential Revision: https://reviews.llvm.org/D106304
The file was modifiedllvm/docs/LangRef.rst
Commit 87039c048c0cbc3d8cbba86187269b006bf2f373 by stuart.brady
[demangler] Fix demangling of 'half'

Demangle 'Dh' as 'half' (as per GCC), and not 'decimal16' (which doesn't
make sense, as there is no IEEE 754 decimal16 format).

The Itanium C++ ABI specification describes 'Dh' as:
> IEEE 754r half-precision floating point (16 bits)

(https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling-builtin)

Reviewed By: ldionne, jyknight

Differential Revision: https://reviews.llvm.org/D103833
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
The file was modifiedlibcxxabi/src/demangle/ItaniumDemangle.h
Commit 9da70ab3d43c79116f80fc06aa7cf517374ce42c by owenca
[clang-format] Break an unwrapped line at a K&R C parameter decl

Break an unwrapped line before the first parameter declaration in a
K&R C function definition.

This fixes PR51074.

Differential Revision: https://reviews.llvm.org/D106112
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.h
Commit fbb45947b2a77c6295c110c7fbb648adac14d2c9 by thakis
[lld/mac] Resolve defined symbols before undefined symbols

Ports https://reviews.llvm.org/D95985 to the MachO port.
Happens to fix PR51135; see that bug for details.
Also makes lld's behavior match ld64 for the included test case.

Differential Revision: https://reviews.llvm.org/D106293
The file was modifiedlld/MachO/InputFiles.cpp
The file was addedlld/test/MachO/weak-definition-in-main-file.s
The file was modifiedlld/ELF/InputFiles.cpp
Commit f6f88e66cedcebbabfaf7e68344d46835d9edc1d by thomasraoux
[mlir] Add software pipelining transformation for scf.For op

This is the first step to support software pipeline for scf.for loops.
This is only the transformation to create pipelined kernel and
prologue/epilogue.
The scheduling needs to be given by user as  many different algorithm
and heuristic could be applied.
This currently doesn't handle loop arguments, this will be added in a
follow up patch.

Differential Revision: https://reviews.llvm.org/D105868
The file was modifiedmlir/include/mlir/Dialect/SCF/Transforms.h
The file was addedmlir/lib/Dialect/SCF/Transforms/LoopPipelining.cpp
The file was modifiedmlir/test/lib/Dialect/SCF/TestSCFUtils.cpp
The file was addedmlir/test/Dialect/SCF/loop-pipelining.mlir
The file was modifiedmlir/lib/Dialect/SCF/Transforms/CMakeLists.txt
Commit 6ef37b640daf3d768435e58333caacc89e115bd0 by thakis
[lld/mac] Add test for --lto-O

This belongs to fe08e9c4871, I (thakis) forgot to `git add` it back then.

Differential Revision: https://reviews.llvm.org/D105223
The file was addedlld/test/MachO/lto-opt-level.ll
Commit 4ae575b9997e0903d1c2ec01a43e3f3f2db5df16 by sbc
[WebAssembly] Deduplicate imports of the same module name, field name, and type

When two symbols import the same thing, only one import should be emitted in the Wasm file.

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

Reviewed By: sbc100

Differential Revision: https://reviews.llvm.org/D105519
The file was addedlld/test/wasm/duplicate-global-imports.s
The file was addedlld/test/wasm/duplicate-table-imports.s
The file was addedlld/test/wasm/duplicate-function-imports.s
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/wasm/SyntheticSections.h
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedllvm/include/llvm/BinaryFormat/WasmTraits.h
Commit 55e2d2060a367a293710f44fd61a03d797d4aade by mtrofin
[MLGO] Use binary protobufs for improved training performance.

It turns out that during training, the time required to parse the
textual protobuf of a training log is about the same as the time it
takes to compile the module generating that log. Using binary protobufs
instead elides that cost almost completely.

Differential Revision: https://reviews.llvm.org/D106157
The file was modifiedllvm/CMakeLists.txt
The file was modifiedllvm/lib/Analysis/TFUtils.cpp
The file was modifiedllvm/unittests/Analysis/TFUtilsTest.cpp
The file was modifiedllvm/test/Transforms/Inline/ML/development-training-log.ll
The file was modifiedllvm/test/Transforms/Inline/ML/bounds-checks-rewards.ll
The file was modifiedllvm/lib/Analysis/CMakeLists.txt
Commit ad1f5457d2d89efa49a722404a5f0b744b7a64d1 by dschuff
[WebAssembly] Generate R_WASM_FUNCTION_OFFSET relocs in debuginfo sections

Debug info sections need R_WASM_FUNCTION_OFFSET_I32 relocs (with FK_Data_4 fixup
kinds) to refer to functions (instead of R_WASM_TABLE_INDEX as is used in data
sections). Usually this is done in a convoluted way, with unnamed temp data
symbols which target the start of the function, in which case
WasmObjectWriter::recordRelocation converts it to use the section symbol
instead. However in some cases the function can actually be undefined; in this
case the dwarf generator uses the function symbol (a named undefined function
symbol) instead. In that case the section-symbol transform doesn't work and we
need to generate the correct reloc type a different way. In this change
WebAssemblyWasmObjectWriter::getRelocType takes the fixup section type into
account to choose the correct reloc type.

Fixes PR50408
Differential Revision: https://reviews.llvm.org/D103557
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp
The file was addedllvm/test/MC/WebAssembly/debuginfo-relocs.s
The file was modifiedllvm/lib/MC/WasmObjectWriter.cpp
The file was addedllvm/test/MC/WebAssembly/debug-template-param.ll
The file was removedlld/test/wasm/debuginfo-relocs.s
The file was modifiedlld/test/wasm/map-file.s
The file was modifiedllvm/include/llvm/MC/MCWasmObjectWriter.h
Commit 73f1d6edc06941f6daf07921cd06ef1919153f33 by thomasraoux
[mlir] Fix bazel build

Differential Revision: https://reviews.llvm.org/D106311
The file was modifiedutils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 1a43ee65d1bb584518d9a60b72dce3c927f7fc6e by tra
Revert "[MemCpyOpt] Enable memcpy optimizations unconditionally."

This reverts commit 2c98298a7559dfe4a264ef1adaad0921526768cc which breaks
sanitizers.
The file was modifiedllvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Commit 2656af95eb8e67364db7b8dc4a95c3b65c286b2d by jingham
Don't use !eStateRunning when you mean eStateStopped in DestroyImpl.

When we go to destroy the process, we first try to halt it, if
we succeeded and the target stopped, we want to clear out the
thread plans and breakpoints in case we still need to resume to complete
killing the process.  If the target was exited or detached, it's
pointless but harmless to do this.  But if the state is eStateInvalid -
for instance if we tried to interrupt the target to Halt it and that
fails - we don't want to keep trying to interact with the inferior,
so we shouldn't do this work.

This change explicitly checks eStateStopped, and only does the pre-resume
cleanup if we did manage to stop the process.
The file was modifiedlldb/source/Target/Process.cpp
Commit 9b965b37c75d626c01951184088314590e38d299 by sbc
[lld][WebAssembly] Cleanup duplicate fields in Symbols.h. NFC

This avoids duplication and simplifies the code in several places
without increasing the size of the symbol union (at least not
above the assert'd limit of 120 bytes).

Differential Revision: https://reviews.llvm.org/D106026
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/wasm/Symbols.h
The file was modifiedlld/wasm/Writer.cpp
Commit 08b289867b5adb45033db501461915234e9e1bd4 by zeratul976
[clang] Respect PrintingPolicy::FullyQualifiedName when printing a template-id

Fixes PR50774

Differential Revision: https://reviews.llvm.org/D104619
The file was modifiedclang/unittests/AST/CMakeLists.txt
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was addedclang/unittests/AST/TypePrinterTest.cpp
Commit 49289bd9435782ec43ff37affdd678572eaf7986 by llvmgnsyncbot
[gn build] Port 08b289867b5a
The file was modifiedllvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
Commit 9afc065743de8bfb6eaa7ea87a32422ae32943c7 by ravishankarm
Split `InferShapedTypeOpInterface` to create `ReifyRankedShapedTypeInterface`.

The `reifyReturnTypeShapesPerResultDim` method supports shape
inference for rsults that are ranked types. These are used lower in
the codegeneration stack than its counter part `reifyReturnTypeShapes`
which also supports unranked types, and is more suited for use higher
up the compilation stack. To have separation of concerns, this method
is split into its own interface.
See discussion : https://llvm.discourse.group/t/better-layering-for-infershapedtypeopinterface/3823

Differential Revision: https://reviews.llvm.org/D106133
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Interfaces/InferShapedTypeOpInterface/resolve-shaped-type-result-dims.mlir
The file was modifiedmlir/include/mlir/Interfaces/InferTypeOpInterface.h
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/lib/Dialect/Tensor/IR/TensorOps.cpp
The file was modifiedmlir/include/mlir/Dialect/MemRef/Transforms/Passes.td
The file was modifiedmlir/lib/Dialect/MemRef/Transforms/ResolveShapedTypeResultDims.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
The file was modifiedmlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
The file was modifiedmlir/include/mlir/Interfaces/InferTypeOpInterface.td
The file was modifiedmlir/include/mlir/Dialect/MemRef/Transforms/Passes.h
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 0268e123bea5bbfe64c625203cfe3b159e85b2dc by kamau.bridgeman
[PowerPC] swdiv_nochk Builtins for XL Compat

This patch is in a series of patches to provide builtins for
compatibility with the XL compiler. This patch adds software divide
builtins with no checking. These builtins are each emitted as a fast
fdiv.

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D106150
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/Basic/Targets/PPC.cpp
The file was addedclang/test/CodeGen/builtins-ppc-xlcompat-swdiv_nochk.c
Commit 6cbb35dd3b2f115105d2d9b6da52f2bfc337891c by aeubanks
[NewPM] Bail out of devirtualization wrapper if the current SCC is invalidated

The specific case that triggered this was when inlining a recursive
internal function into itself caused the recursion to go away, allowing
the inliner to mark the function as dead. The inliner marks the SCC as
invalidated but does not provide a new SCC to continue with.

This matches the implementations of ModuleToPostOrderCGSCCPassAdaptor
and CGSCCPassManager.

Fixes PR50363.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D106306
The file was addedllvm/test/Other/devirt-invalidated.ll
The file was modifiedllvm/lib/Analysis/CGSCCPassManager.cpp
Commit 5de114b650d780dddffadff72af2a0374a1258cf by aeubanks
[NewPM][opt] Add -debug-pass-manager=quiet to not print analysis info

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D106307
The file was modifiedllvm/tools/opt/NewPMDriver.cpp
The file was addedllvm/test/Other/debug-pass-manager.ll
Commit 4402d0d4fbdb903bd61238a06cfad29b4dd2da0b by listmail
[SCEV] Add a clarifying comment in howManyLessThans

Wrap semantics are subtle when combined with multiple exits.  This has caused several rounds of confusion during recent reviews, so try to document the subtly distinction between when wrap flags provide <u and <=u facts.
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
Commit 381c3b92997528404a7e39afe1353eaf6b6af924 by ravishankarm
Dyanamic shape support for memref reassociation reshape ops

Only memref with identity layout map is supported for now.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D106180
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-expand-tensor.mlir
The file was modifiedmlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
The file was addedmlir/test/Integration/Dialect/Linalg/CPU/test-collapse-tensor.mlir
The file was modifiedmlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
Commit de3ea51be4367367202da5f53ca4e39848d3ccf6 by efriedma
[ScalarEvolution] Refine computeMaxBECountForLT to be accurate in more cases.

Allow arbitrary strides, and make sure we return the correct result when
the backedge-taken count is zero.

Differential Revision: https://reviews.llvm.org/D106197
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-trip-count.ll
Commit 321b2bef098553ec648e4174aae92c63a6e1a810 by leevince
[lld-macho] Use DO_BIND_ADD_ADDR_IMM_SCALED for bind opcodes

Implement pass 3 of bind opcodes from ld64 (which supports both 32-bit and 64-bit).
Pass 3 implementation condenses BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB opcode
to BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED.  This change is already behind an
O2 flag so it shouldn't impact current performance. I verified ld64's output with x86_64 LLD
and they were both emitting the same optimized bind opcodes (although in a slightly different
order). Tested with arm64_32 LLD and compared that with x86 LLD that the order of the bind
opcodes are the same (offset values are different which should be expected).

Reviewed By: int3, #lld-macho

Differential Revision: https://reviews.llvm.org/D106128
The file was modifiedlld/MachO/SyntheticSections.cpp
The file was modifiedlld/test/MachO/bind-opcodes.s
Commit 4c40cfc20b3135e3e634ea694886e1570f460419 by listmail
[tests] Add a couple of tests for zero stride trip counts w/loop varying exit values
The file was modifiedllvm/test/Analysis/ScalarEvolution/trip-count-unknown-stride.ll
Commit d153e7d0a5f2bb9b3cb59ebed8dd3f9a861ce8f7 by Louis Dionne
[libc++] Add a bunch of missing _LIBCPP_HIDE_FROM_ABI in <ranges>

We've been forgetting to add those to most of the <ranges> review.
To avoid forgetting in the future, I added an item in the pre-commit
checklist.

Differential Revision: https://reviews.llvm.org/D106287
The file was modifiedlibcxx/docs/DesignDocs/VisibilityMacros.rst
The file was modifiedlibcxx/include/__ranges/access.h
The file was modifiedlibcxx/include/__iterator/prev.h
The file was modifiedlibcxx/include/__iterator/erase_if_container.h
The file was modifiedlibcxx/include/__ranges/empty.h
The file was modifiedlibcxx/include/__iterator/iter_swap.h
The file was modifiedlibcxx/include/__ranges/data.h
The file was modifiedlibcxx/include/__ranges/all.h
The file was modifiedlibcxx/include/__iterator/advance.h
The file was modifiedlibcxx/include/__ranges/ref_view.h
The file was modifiedlibcxx/include/__iterator/iter_move.h
The file was modifiedlibcxx/include/__ranges/drop_view.h
The file was modifiedlibcxx/docs/Contributing.rst
The file was modifiedlibcxx/include/__ranges/view_interface.h
The file was modifiedlibcxx/include/__ranges/transform_view.h
The file was modifiedlibcxx/include/__ranges/size.h
The file was modifiedlibcxx/include/__iterator/next.h
The file was modifiedlibcxx/include/__ranges/empty_view.h
The file was modifiedlibcxx/include/__ranges/subrange.h
Commit 15bf66d2f831338eef997ba1d1b6841d915bbe14 by Louis Dionne
[libc++] Tidy-up instances of __STDCPP_DEFAULT_NEW_ALIGNMENT__ in the tests

See https://reviews.llvm.org/D105905 for context.

Differential Revision: https://reviews.llvm.org/D106182
The file was addedlibcxx/test/std/language.support/support.types/max_align_t.compile.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/array/size_and_alignment.pass.cpp
The file was removedlibcxx/test/std/language.support/support.types/max_align_t.pass.cpp
Commit 18a8aaee0e3e4e9a95c52bf7627088cd7019fda8 by thakis
[gn build] Fix llvm_build_instrumented_coverage=true builds with goma/rbe
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit 762badb0ab44a015fd066089c6b266f51ab5f703 by huberjn
[Libomptarget] Remove volatile from NVPTX work function

Currently the NPVTX work function is marked volatile. This prevents some
optimizations from using this value.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D106310
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/omp_data.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/common/omptarget.h
Commit 16aac493e59519377071e900d119ba2e7e5b525d by i
Revert D105519 "[WebAssembly] Deduplicate imports of the same module name, field name, and type" and its followup

This reverts commit 4ae575b9997e0903d1c2ec01a43e3f3f2db5df16 and 9b965b37c75d626c01951184088314590e38d299.

There is an use-of-uninitialized-value bug in the `else` branch in ImportSection::addImport.
The file was modifiedllvm/include/llvm/BinaryFormat/WasmTraits.h
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was removedlld/test/wasm/duplicate-function-imports.s
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/wasm/Symbols.h
The file was removedlld/test/wasm/duplicate-global-imports.s
The file was modifiedlld/wasm/SyntheticSections.h
The file was removedlld/test/wasm/duplicate-table-imports.s
Commit 30fa074c0a6e38bc605cab892f6a0474e7e6499f by Matthew.Arsenault
AArch64/GlobalISel: Preserve memory types
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator.ll
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store-vector-of-ptr.mir
Commit 904dab55abf637586897f14573bf1182d5001a0e by Matthew.Arsenault
GlobalISel: Remove some mystery code that clears isReturned

I don't understand what this is going for, and haven't found an analog
in DAG code. No tests fail with this removed.
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp
Commit 1d3e77e7a8421a9d2dd13e3ef499ea967ea8f85c by albionapc
[PowerPC] Extra test case for LDARX

An extra test case added for the builtin __LDARX.

Differential revision: https://reviews.llvm.org/D105926
The file was addedclang/test/CodeGen/builtins-ppc-xlcompat-check-ldarx-opt.ll
Commit c9ec807b115d798c1ad1a002655c0c6f700ef021 by Matthew.Arsenault
CodeGen: Make MachineOptimizationRemarkEmitterPass a CFG analysis

This avoids rerunning it a few times.
The file was modifiedllvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/sgpr-regalloc-flags.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llc-pipeline.ll
Commit 996baa58a440d3ef80c8e227d4fa3234da8215ed by tianshilei1992
[OpenMP] Fixed a segmentation fault when using taskloop and target nowait

The synchronization of task loop misses hidden helper tasks, causing segmentation
fault reported in https://bugs.llvm.org/show_bug.cgi?id=50002.

Reviewed By: ye-luo

Differential Revision: https://reviews.llvm.org/D106220
The file was addedopenmp/libomptarget/test/offloading/taskloop_offload_nowait.cpp
The file was modifiedopenmp/runtime/src/kmp_tasking.cpp
Commit 88e2268a344a0ab3df455af08f32c2c354ea55a4 by i
Revert D106128 "[lld-macho] Use DO_BIND_ADD_ADDR_IMM_SCALED for bind opcodes"

This reverts commit 321b2bef098553ec648e4174aae92c63a6e1a810.

`for (BindIR *p = &opcodes[0]; p->opcode != BIND_OPCODE_DONE; ++p) {` has a heap-buffer-overflow with test/MachO/bind-opcodes.
The file was modifiedlld/test/MachO/bind-opcodes.s
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit 0d22dee2ca5900980a4d48d23556d48c004edc48 by kai.wang
[Clang][RISCV] Correct the alignment of stores generated by vlseg/vlsegff.

Differential Revision: https://reviews.llvm.org/D106255
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vlsegff.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vlseg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlseg.c
The file was modifiedclang/test/CodeGen/RISCV/rvv-intrinsics/vlsegff.c
The file was modifiedclang/include/clang/Basic/riscv_vector.td
Commit ebec95590cd117aef012192570db4dafb0c56654 by Lang Hames
[ORC-RT] Add ORC_RT prefix to WEAK_IMPORT macro.
The file was modifiedcompiler-rt/lib/orc/compiler.h
The file was modifiedcompiler-rt/lib/orc/common.h
Commit 8afa4c40cb863bb12a61e593171c7aca8eb39a07 by Lang Hames
[ORC-RT] Introduce a ORC_RT_JIT_DISPATCH_TAG macro.

This macro can be used to define tag variables for use with jit-dispatch.
The file was modifiedcompiler-rt/lib/orc/macho_platform.cpp
The file was modifiedcompiler-rt/lib/orc/common.h
Commit 038602139db2bcff8bcc64308f843aeec324becb by Tony.Tye
[NFC] Correct documentation error in OpenMP release ReleaseNotes

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D106330
The file was modifiedopenmp/docs/ReleaseNotes.rst
Commit 0d4f63e1b78f6e44f7e406737c2639e96427f1d6 by albionapc
Revert "[PowerPC] Extra test case for LDARX"

This reverts commit 1d3e77e7a8421a9d2dd13e3ef499ea967ea8f85c as
some buildbots seem to be unable to obtain the target
powerpc64le-unknown-linux-gnu.
The file was removedclang/test/CodeGen/builtins-ppc-xlcompat-check-ldarx-opt.ll
Commit 97387fdf6db43393aefddfd3cf90d04c5be735a8 by johannes
[OpenMP] Fix carefully track SPMDCompatibilityTracker

We did not properly use SPMDCompatibilityTracker in various places.
This patch makes sure we look at the validity properly and also fix
the state if we can.

Differential Revision: https://reviews.llvm.org/D106085
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit 28c78a9e126da6d951b97a6fd7118f7fa97d0055 by johannes
[Attributor] Simplify loads

As a first step to simplify loads we only handle `null` and `undef`
underlying objects, as well as objects that have the load as a single user.
Loads of those values can be replaced by the initializer, if any.
Proper reasoning is introduced in a follow up patch

Differential Revision: https://reviews.llvm.org/D103862
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/dangling-block-address.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/crash.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
The file was modifiedllvm/test/Transforms/Attributor/undefined_behavior.ll
The file was modifiedllvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR26044.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
The file was modifiedllvm/test/Transforms/Attributor/noalias.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify-pointer-info.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/reserve-tbaa.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/pr32917.ll
The file was modifiedllvm/test/Transforms/Attributor/internal-noalias.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/sret.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/basictest.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
Commit c2281f15659a0b1122e140d2419c536d090224b9 by johannes
[Attributor] Introduce AAPointerInfo

This patch introduces AAPointerInfo which tracks the uses of a pointer
and places them in "bins" based on their offset from the base and access
size.

As with other AAs, any pointer can be tracked but it is up to the user
to make sense of the results. The user in this patch is AAValueSimplify
and AAPotentialValues which both utilize AAPointerInfo to determine the
value of a load. For now, this is restricted to loads of allocas and
internal globals. Through the use of AAPointerInfo and the "bins" we can
track struct members separately. The users also know that storing only
zeros (at unknown indices) will result in loading only 0 (from unknown
indices). Other than that, the users are flow and context insensitive
(for now).

To deal with the "bins" more easily, AAPointerInfo provides a
forallInterfearingAccesses that applies a callback on all accesses
that might interfere with a given load or store.

Differential Revision: https://reviews.llvm.org/D104432
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow2.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/basictest.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR26044.ll
The file was modifiedllvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/array.ll
The file was modifiedllvm/test/Transforms/Attributor/norecurse.ll
The file was modifiedllvm/test/Transforms/OpenMP/custom_state_machines.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/global.ll
The file was modifiedllvm/test/Transforms/OpenMP/parallel_region_merging.ll
The file was modifiedllvm/test/Transforms/Attributor/nodelete.ll
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack_gpu.ll
The file was modifiedllvm/test/Transforms/Attributor/noreturn_sync.ll
The file was modifiedllvm/test/Transforms/Attributor/internal-noalias.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack.ll
The file was modifiedllvm/test/Transforms/Attributor/misc_crash.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify-pointer-info.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
The file was modifiedllvm/test/Transforms/Attributor/wrapper.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
The file was modifiedllvm/test/Transforms/Attributor/memory_locations.ll
Commit 44a9ee170c1dc6149ac54ec8898bf251c0606e10 by johannes
[Attributor][FIX] Do not simplify byval arguments

A byval argument is a different value in the caller and callee, we
cannot propagate the information as part of AAValueSimplify. Users that
want to deal with byval arguments need to specifically perform the
argument -> call site step. We do not do this for now.
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/fp80.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
Commit 15c5701c8324d2dea519fa379c04d5c619a570ab by johannes
[OpenMP][FIX] Temporarily XFAIL tests waiting for new check lines

The test is not wrong nor is the current main broken, it just an
interplay issue. Check lines will be updated in shortly.
The file was modifiedllvm/test/Transforms/OpenMP/custom_state_machines.ll
Commit d9b6e32dd74c63a12fb2872ca1b36479e4946a81 by dvyukov
tsan: add pragma line to buildgo.sh

Add pragma line so that errors messages point to the actual
source files rather than to the concatenated gotsan.cpp.

Reviewed By: vitalybuka, melver

Differential Revision: https://reviews.llvm.org/D106275
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
Commit 5e169818fb71d7baeb9d3dd92c747fbcd0bc8507 by johannes
[Attributor][NFC] Fix function name spelling
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 205c520387ded946d22fd6c5ef1dd2d10aeaf294 by johannes
[OpenMP] Remove XFAIL and update check lines properly

Undo 15c5701c8324d2dea519fa379c04d5c619a570ab and update check lines.
The file was modifiedllvm/test/Transforms/OpenMP/custom_state_machines.ll
Commit 9c00aabd6090d4cb9c31342b6c7ce9bd00ae9558 by johannes
[Attributor][NFCI] Expose `getAssumedUnderlyingObjects` API
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit 5fbb51d8d58fef32a88c9d9d54f094db076c2c2a by johannes
[Attributor] Extend the AAValueSimplify compare simplification logic

We first simplify the operands of a compare and then reason on the
simplified versions, e.g., with AANonNull.

This does improve the simplification capabilities but also fixes a
potential problem that has not yet been observed by simplifying the
operands first.
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/PR26044.ll
The file was modifiedllvm/test/Transforms/Attributor/align.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
The file was modifiedllvm/test/Transforms/Attributor/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack.ll
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack_gpu.ll
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll
The file was modifiedllvm/test/Transforms/Attributor/cgscc_bugs.ll
The file was modifiedllvm/test/Transforms/Attributor/memory_locations.ll
The file was modifiedllvm/test/Transforms/Attributor/value-simplify-pointer-info.ll
The file was modifiedllvm/test/Transforms/Attributor/depgraph.ll
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/inalloca.ll
Commit b96ea6b1fd260f09a246b9d168ea166bb7a199d1 by johannes
[Attributor] Ensure to simplify operands in AAValueConstantRange

As with other patches before, the simplification callback interface
requires us to go through the Attributor::getAssumedSimplified API first
before we recurs.

It is unclear if the problem can be explicitly tested with our current
infrastructure.
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp
Commit 49f2b41e6f9d5bea4d6803cc27bf667dd2bf4b63 by johannes
[Attributor] Gracefully handle interprocedural reachability queries

This does ensure `InformationCache::getPotentiallyReachable` will not
crash/assert on instructions from different functions but simply return
that one is reachable, which is conservatively correct.
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit adb55d7c326559e99f1eeb3234cdfaaf3c9010de by dvyukov
tsan: remove the stats subsystem

I don't think the stat subsystem was ever used since tsan
development in 2012. But it adds lots of code and this
effectively dead code needs to be updated if the runtime
code changes, which adds maintanance cost for no benefit.
Normal profiler usually gives enough info and that info
is more trustworthy.
Remove the stats subsystem.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D106276
The file was removedcompiler-rt/lib/tsan/rtl/tsan_stat.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_clock.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_trace.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_defs.h
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_mutex_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_ann.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutex.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was removedcompiler-rt/lib/tsan/rtl/tsan_stat.cpp
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_update_shadow_word_inl.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutex.h
Commit 7b54b1cdafbcaa5721bcf8ae78e8390a74d580bf by mgorny
[lldb] Make WatchpointList iterable

Based on de448c0a9e5088979526e2e67152fe547ae4ccf0.

Differential Revision: https://reviews.llvm.org/D106263
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/include/lldb/Breakpoint/WatchpointList.h
Commit 53942cd4dcf6950736083a75bc4f97b7e7dd2ebf by llvmgnsyncbot
[gn build] Port adb55d7c3265
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/tsan/BUILD.gn
Commit 4f1270a61e15fc43b8467885254f7246b4b75b71 by craig.topper
[RISCV] Add test cases to show an issue with our fcvt.wu isel patterns on RV64.

The pattern we match is (sext_inreg (assertzexti32 (fp_to_uint)), i32). If
the assertzexti32 has an additional user we'll end up emitting
an fcvt.wu and an fcvt.lu.

This can happen if the original fp_to_uint before type legalization
has one user that causes a sext_inreg to be emitted and one that
doesn't.
The file was modifiedllvm/test/CodeGen/RISCV/half-convert.ll
The file was modifiedllvm/test/CodeGen/RISCV/double-convert.ll
The file was modifiedllvm/test/CodeGen/RISCV/float-convert.ll
Commit ff427909caa6f1ec8392800087a90cc6a0664153 by phosek
[NFC][profile] Move writeMMappedFile to ELF ifdef block

This avoids the compiler warning on Darwin where that function is unused.
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
Commit e2ee27b20b46b654decb575afc5ae8317a05ec3f by lkail
[PowerPC] Fallback to base's implementation of shouldExpandAtomicCmpXchgInIR and shouldExpandAtomicCmpXchgInIR

If we can't decide `shouldExpandAtomicCmpXchgInIR` or `shouldExpandAtomicCmpXchgInIR` in PPC's implementation after https://reviews.llvm.org/rGb9c3941cd61de1e1b9e4f3311ddfa92394475f4b, resort to base's implementation.

This fixes internal build of OpenMP which uses atomic operations on float.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D106234
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/atomic-float.ll
The file was addedllvm/test/Transforms/AtomicExpand/PowerPC/atomicrmw-fp.ll
Commit 3f981fc1861a0683eb00b442d4cad7410d4a8e59 by dvyukov
sanitizer_common: add new mutex

We currently have 3 different mutexes:
- RWMutex
- BlockingMutex
- __tsan::Mutex

RWMutex and __tsan::Mutex are roughly the same,
except that tsan version supports deadlock detection.
BlockingMutex degrades better under heavy contention
from lots of threads (blocks in OS), but much slower
for light contention and has non-portable performance
and has larger static size and is not reader-writer.

Add a new mutex that combines all advantages of these
mutexes: it's reader-writer, has fast non-contended path,
supports blocking to gracefully degrade under higher contention,
has portable size/performance.

For now it's named Mutex2 for incremental submission. The plan is to:
- land this change
- then move deadlock detection logic from tsan
- then rename it to Mutex and remove tsan Mutex
- then typedef RWMutex/BlockingMutex to this mutex

SpinMutex stays as separate type because it has faster fast path:
1 atomic RMW per lock/unlock as compared to 2 for this mutex.

Reviewed By: vitalybuka, melver

Differential Revision: https://reviews.llvm.org/D106231
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_mutex_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mutex.h