UnstableChanges

Summary

  1. [InstCombine] Update valueCoversEntireFragment to use TypeSize (details)
  2. [llvm][NFC] Disallow all warnings in TypeSize tests (details)
  3. AMDGPU/GlobalISel: Update fdiv lowering for denormal/ulp interaction (details)
  4. [NFC] Removed unused prefixes from CodeGen/AMDGPU (details)
  5. [mlir] NFC: fix trivial typos (details)
  6. Nit: fix spacing (details)
  7. Remove allow-unregistered-dialect from some tests that don't need it (details)
  8. [X86] Remove [ER]SP from all CSR lists (details)
  9. [Clang] Remove unnecessary Attr.isArgIdent checks. (details)
  10. [X86] Add commuted patterns test coverage for D93599 (details)
  11. [NFC] Removed unused prefixes in CodeGen/AMDGPU (details)
  12. [NVPTX] Fix debugging information being added to NVPTX target if remarks are enabled (details)
  13. [sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX feature detection and support musl (details)
  14. [lld-macho] Fix GCC -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off build (details)
  15. [flang][openacc] Add more parsing/sema tests for init and shutdown directives (details)
  16. [CGSCC][Coroutine][NewPM] Properly support function splitting/outlining (details)
  17. [SLP] reduce code for propagating flags on reductions; NFC (details)
  18. [SLP] use reduction kind's opcode to create new instructions; NFC (details)
  19. [GVN] Regenerate test checks (NFC) (details)
  20. [InstSimplify] Fold out-of-bounds shift to poison (details)
  21. Fix non-assert builds after D93828 (details)
  22. [test] Pin AMDGPU/opt-pipeline.ll to legacy PM (details)
  23. [RISCV] Return a vXi1 vector type from getSetCCResultType if V extension is enabled. (details)
  24. [test] Pin partial-unswitch.ll to legacy PM (details)
  25. [NFC] Test case refactor (details)
  26. [PowerPC] Avoid call to undef in test (NFC) (details)
  27. [InstSimplify] Fold call null/undef to poison (details)
  28. [InstSimplify] Canonicalize non-demanded shuffle op to poison (NFCI) (details)
  29. [mlir] Remove a number of methods from mlir::OpState that just forward to mlir::Operation. All call sites have been converted in previous changes. (details)
  30. [OpenCL] Add clang extension for function pointers. (details)
  31. [OpenCL] Add clang extension for variadic functions. (details)
  32. [BasicAA] Fix BatchAA results for phi-phi assumptions (details)
  33. [clang-offload-bundler] Add option -list (details)
  34. [mlir][vector] Support unrolling for transfer ops using tensors (details)
  35. [hip] Fix HIP version parsing. (details)
  36. [OpenMP] Fixed the test environment when building along with LLVM (details)
  37. [OpenMP] Fixed an issue that wrong LLVM headers might be included when building libomptarget (details)
  38. [libc] Add implementation of fmaf. (details)
  39. [mlir][ODS] Rename several uses of 'description' to 'summary' (details)
  40. [mlir][ODS] Fix the use of cppClassName in Type constraints for TypeDefs (details)
  41. [mlir] Add hoisting transformation for transfer ops on tensor (details)
  42. [OpenMP] Use c_int/c_size_t in Fortran target memory routine interface (details)
  43. [DominatorTree] Add support for mixed pre/post CFG views. (details)
  44. Fix failing triple test for macOS 11 with non-zero minor versions. (details)
  45. [mlir][TypeDefGen] Remove the need to define parser/printer for singleton types (details)
  46. [libc] Use a wrapper for rand instead of calling std::rand in fma tests. (details)
  47. [mlir][vector] Support transfer op on tensor optimizations (details)
  48. [Support] Untie the llvm::Signpost interface from llvm::Timer (details)
  49. [lldb] Ad os_signpost support to lldb_private::Timer (details)
  50. [libc++] ADL-proof vector<bool> by adding _VSTD:: qualification on calls. (details)
  51. [PPC] Remove old PPCSubTarget variable. (details)
Commit dfd3384feeca334c59b5a32254e425491acd716a by peter.waller
[InstCombine] Update valueCoversEntireFragment to use TypeSize

* Update valueCoversEntireFragment to use TypeSize.
* Add a regression test.
* Assertions have been added to protect untested codepaths.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D91806
The file was addedllvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
Commit 3e357ecd44a610ab39c33c85a15cf6437891655b by peter.waller
[llvm][NFC] Disallow all warnings in TypeSize tests

This is a follow-up to a request from a reviewer [0]. The text may change in
the future and these tests should not produce any warning output.

[0] https://reviews.llvm.org/D91806#inline-879243

Reviewed By: sdesmalen, david-arm

Differential Revision: https://reviews.llvm.org/D94161
The file was modifiedllvm/test/CodeGen/AArch64/dag-combine-lifetime-end-store-typesize.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-redundant-store.ll
The file was modifiedllvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
The file was modifiedllvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll
The file was modifiedllvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll
The file was modifiedllvm/test/Analysis/LoopAccessAnalysis/gep-induction-operand-typesize-warning.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll
Commit ab3a3f543b18d36cec98faa9ca2a68cc9a6ecc65 by Matthew.Arsenault
AMDGPU/GlobalISel: Update fdiv lowering for denormal/ulp interaction

Change the GlobalISel fast fdiv handling to match the changes in
2531535984ad989ce88aeee23cb92a827da6686e and
884acbb9e167d5668e43581630239d688edec8ad
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/frem.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir
Commit b47063091304410e77cf2e03913d9f093b3ef60d by mtrofin
[NFC] Removed unused prefixes from CodeGen/AMDGPU

All the 'l'-starting tests.

Differential Revision: https://reviews.llvm.org/D94151
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pkrtz.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-global-i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.mulo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.cos.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.d16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.cubema.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-local.128.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.store.format.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-local-i32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.log.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.round.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-constant-i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.fract.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/local-memory.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/lshr.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/lds-alignment.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.sema.v.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-global-f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.d16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.load.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.load.format.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.barrier.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.fmuladd.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.log10.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.store.format.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.r600.read.local.size.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.cos.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-global-f32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-local-f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-constant-i64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.sema.br.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.cubeid.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.load.format.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ubfe.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.cubesc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-weird-sizes.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.tbuffer.load.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.memtime.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.sema.release.all.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.sendmsg.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.log.clamp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.memrealtime.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/large-alloca-compute.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.workitem.id.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-global-i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.sin.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.log.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.interp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.tbuffer.store.d16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.rint.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.load.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-lo16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.workgroup.id.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.tbuffer.store.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.cubetc.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-local.96.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.sbfe.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.gws.sema.p.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.sin.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/local-atomics64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.log10.f16.ll
Commit 2b638ed5a127c8e1820d68fcc91333fb9c553904 by ishizaki
[mlir] NFC: fix trivial typos
fix typos under docs, test, and tools directories

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D94158
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/test/Dialect/Async/async-ref-counting-optimization.mlir
The file was modifiedmlir/test/Transforms/normalize-memrefs-ops.mlir
The file was modifiedmlir/docs/Dialects/TOSA.md
The file was modifiedmlir/docs/PassManagement.md
The file was modifiedmlir/test/lib/Dialect/Test/TestPatterns.cpp
The file was modifiedmlir/docs/ConversionToLLVMDialect.md
The file was modifiedmlir/test/lib/Transforms/TestSparsification.cpp
The file was modifiedmlir/test/Transforms/promote-buffers-to-stack.mlir
The file was modifiedmlir/test/Transforms/buffer-deallocation.mlir
The file was modifiedmlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp
The file was modifiedmlir/docs/Dialects/LLVM.md
The file was modifiedmlir/tools/mlir-tblgen/TypeDefGen.cpp
The file was modifiedmlir/docs/CAPI.md
Commit bd166c813c55b0e1703d17d87bf71a9e3966a25a by sanjoy
Nit: fix spacing

Differential Revision: https://reviews.llvm.org/D93996
The file was modifiedmlir/test/Dialect/GPU/async-region.mlir
Commit 6173d1277be04739bc5d977546309f7c765156c8 by sanjoy
Remove allow-unregistered-dialect from some tests that don't need it

Differential Revision: https://reviews.llvm.org/D93982
The file was modifiedmlir/test/Conversion/GPUCommon/lower-wait-to-gpu-runtime-calls.mlir
The file was modifiedmlir/test/Conversion/GPUCommon/lower-memcpy-to-gpu-runtime-calls.mlir
The file was modifiedmlir/test/Conversion/GPUCommon/lower-alloc-to-gpu-runtime-calls.mlir
The file was modifiedmlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
Commit 08e5e91e45af96e564f3c19be7ed4cb00bac3034 by rnk
[X86] Remove [ER]SP from all CSR lists

The CSR lists control which registers are spilled and reloaded in the
prologue and epilogue. The stack pointer is managed explicitly, and
should never be pushed or popped. Remove it from these lists. This
affected regcall and preserves all / most.

Differential Revision: https://reviews.llvm.org/D94118
The file was modifiedllvm/lib/Target/X86/X86CallingConv.td
The file was modifiedllvm/test/CodeGen/X86/dynamic-regmask.ll
The file was modifiedllvm/test/CodeGen/X86/ipra-reg-usage.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-NoMask.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-regcall-Mask.ll
Commit 7ef9139a391a6d526afab0216a97f9d65a6b5563 by flo
[Clang] Remove unnecessary Attr.isArgIdent checks.

The MatrixType, ExtVectorType, VectorSize and AddressSpace attributes
have arguments defined as ExprArguments in Attr.td. So their arguments
should never be ArgIdents and the logic to handle this case can be
removed.

The logic has been replaced by an assertion to ensure the arguments
are always ArgExpressions

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D94092
The file was modifiedclang/lib/Sema/SemaType.cpp
Commit 3f8c2520c0424860b4bd3ae7b20f8033ed09363a by llvm-dev
[X86] Add commuted patterns test coverage for D93599

Suggested by @spatel
The file was modifiedllvm/test/CodeGen/X86/cmp-concat.ll
Commit 90347ab96f25c913c832b86c69efa525db7bd039 by mtrofin
[NFC] Removed unused prefixes in CodeGen/AMDGPU

This covers tests starting with m-r.

Differential Revision: https://reviews.llvm.org/D94181
The file was modifiedllvm/test/CodeGen/AMDGPU/max.i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/min.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/opencl-image-metadata.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/reduce-load-width-alignment.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/nand.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/omod.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/pack.v2f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/private-element-size.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/private-access-no-objects.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/med3-no-simplify.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/nested-calls.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/r600.bitcast.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/partial-shift-shrink.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/preserve-hi16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mixed-wave32-wave64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mul.i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/nor.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/pack.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/packed-op-sel.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/mad-mix-hi.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/move-to-valu-atomicrmw.ll
Commit 1ca5e68aa07e30567c6aa2409c5641e0a2d77355 by huberjn
[NVPTX] Fix debugging information being added to NVPTX target if remarks are enabled
Summary:
Optimized debugging is not supported by ptxas. Debugging information is degraded to line information only if optimizations are enabled, but debugging information would be added back in by the driver if remarks were enabled. This solves https://bugs.llvm.org/show_bug.cgi?id=48153.

Reviewers: jdoerfert tra jholewinski serge-sans-paille

Differential Revision: https://reviews.llvm.org/D94123
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/ToolChains/Cuda.cpp
Commit 7afdc89c2054d6fa3a6c2f2f24411becfc764676 by i
[sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX feature detection and support musl

Several `#if SANITIZER_LINUX && !SANITIZER_ANDROID` guards are replaced
with the more appropriate `#if SANITIZER_GLIBC` (the headers are glibc
extensions, not specific to Linux (i.e. if we ever support GNU/kFreeBSD
or Hurd, the guards may automatically work)).

Several `#if SANITIZER_LINUX && !SANITIZER_ANDROID` guards are refined
with `#if SANITIZER_GLIBC` (the definitions are available on Linux glibc,
but may not be available on other libc (e.g. musl) implementations).

This patch makes `ninja asan cfi lsan msan stats tsan ubsan xray` build on a musl based Linux distribution (apk install musl-libintl)
Notes about disabled interceptors for musl:

* `SANITIZER_INTERCEPT_GLOB`: musl does not implement `GLOB_ALTDIRFUNC` (GNU extension)
* Some ioctl structs and functions operating on them.
* `SANITIZER_INTERCEPT___PRINTF_CHK`: `_FORTIFY_SOURCE` functions are GNU extension
* `SANITIZER_INTERCEPT___STRNDUP`: `dlsym(RTLD_NEXT, "__strndup")` errors so a diagnostic is formed. The diagnostic uses `write` which hasn't been intercepted => SIGSEGV
* `SANITIZER_INTERCEPT_*64`: the `_LARGEFILE64_SOURCE` functions are glibc specific. musl does something like `#define pread64 pread`
* Disabled `msg_iovlen msg_controllen cmsg_len` checks: musl is conforming while many implementations (Linux/FreeBSD/NetBSD/Solaris) are non-conforming. Since we pick the glibc definition, exclude the checks for musl (incompatible sizes but compatible offsets)

Pass through LIBCXX_HAS_MUSL_LIBC to make check-msan/check-tsan able to build libc++ (https://bugs.llvm.org/show_bug.cgi?id=48618).

Many sanitizer features are available now.

```
% ninja check-asan
(known issues:
* ASAN_OPTIONS=fast_unwind_on_malloc=0 odr-violations hangs
)
...
Testing Time: 53.69s
  Unsupported      : 185
  Passed           : 512
  Expectedly Failed:   1
  Failed           :  12

% ninja check-ubsan check-ubsan-minimal check-memprof # all passed

% ninja check-cfi
( all cross-dso/)
...
Testing Time: 8.68s
  Unsupported      : 264
  Passed           :  80
  Expectedly Failed:   8
  Failed           :  32

% ninja check-lsan
(With GetTls (D93972), 10 failures)
Testing Time: 4.09s
  Unsupported:  7
  Passed     : 65
  Failed     : 22

% ninja check-msan
(Many are due to functions not marked unsupported.)
Testing Time: 23.09s
  Unsupported      :   6
  Passed           : 764
  Expectedly Failed:   2
  Failed           :  58

% ninja check-tsan
Testing Time: 23.21s
  Unsupported      :  86
  Passed           : 295
  Expectedly Failed:   1
  Failed           :  25
```

Used `ASAN_OPTIONS=verbosity=2` to verify there is no unneeded interceptor.

Partly based on Jari Ronkainen's https://reviews.llvm.org/D63785#1921014

Note: we need to place `_FILE_OFFSET_BITS` above `#include "sanitizer_platform.h"` to avoid `#define __USE_FILE_OFFSET64 1` in 32-bit ARM `features.h`

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D93848
The file was modifiedcompiler-rt/lib/asan/tests/asan_test.cpp
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedcompiler-rt/lib/interception/interception_linux.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
The file was modifiedcompiler-rt/lib/asan/asan_interceptors.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was modifiedcompiler-rt/cmake/Modules/AddCompilerRT.cmake
The file was modifiedcompiler-rt/lib/interception/interception_linux.cpp
Commit 7916fd71e9431829b22aed77711e11ea1dc225e3 by i
[lld-macho] Fix GCC -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off build
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit 322e98bc279989a6fb7f181b6f6a2d9a6927dd67 by clementval
[flang][openacc] Add more parsing/sema tests for init and shutdown directives

This patch adds some positive and failure tests for init and shutdown directives.

Reviewed By: kiranktp

Differential Revision: https://reviews.llvm.org/D90786
The file was modifiedflang/test/Semantics/acc-clause-validity.f90
Commit 7fea561eb1ce0a339f3c47f6d89d2e9fa8706ab0 by aeubanks
[CGSCC][Coroutine][NewPM] Properly support function splitting/outlining

Previously when trying to support CoroSplit's function splitting, we
added in a hack that simply added the new function's node into the
original function's SCC (https://reviews.llvm.org/D87798). This is
incorrect since it might be in its own SCC.

Now, more similar to the previous design, we have callers explicitly
notify the LazyCallGraph that a function has been split out from another
one.

In order to properly support CoroSplit, there are two ways functions can
be split out.

One is the normal expected "outlining" of one function into a new one.
The new function may only contain references to other functions that the
original did. The original function must reference the new function. The
new function may reference the original function, which can result in
the new function being in the same SCC as the original function. The
weird case is when the original function indirectly references the new
function, but the new function directly calls the original function,
resulting in the new SCC being a parent of the original function's SCC.
This form of function splitting works with CoroSplit's Switch ABI.

The second way of splitting is more specific to CoroSplit. CoroSplit's
Retcon and Async ABIs split the original function into multiple
functions that all reference each other and are referenced by the
original function. In order to keep the LazyCallGraph in a valid state,
all new functions must be processed together, else some nodes won't be
populated. To keep things simple, this only supports the case where all
new edges are ref edges, and every new function references every other
new function. There can be a reference back from any new function to the
original function, putting all functions in the same RefSCC.

This also adds asserts that all nodes in a (Ref)SCC can reach all other
nodes to prevent future incorrect hacks.

The original hacks in https://reviews.llvm.org/D87798 are no longer
necessary since all new functions should have been registered before
calling updateCGAndAnalysisManagerForPass.

This fixes all coroutine tests when opt's -enable-new-pm is true by
default. This also fixes PR48190, which was likely due to the previous
hack breaking SCC invariants.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D93828
The file was modifiedllvm/lib/Analysis/CGSCCPassManager.cpp
The file was modifiedllvm/unittests/Analysis/LazyCallGraphTest.cpp
The file was modifiedllvm/test/Transforms/Coroutines/coro-async.ll
The file was addedllvm/test/Transforms/Coroutines/coro-split-recursive.ll
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/CallGraphUpdater.h
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedllvm/test/Transforms/Coroutines/coro-retcon-resume-values2.ll
The file was modifiedllvm/unittests/Analysis/CGSCCPassManagerTest.cpp
The file was modifiedllvm/include/llvm/Analysis/LazyCallGraph.h
The file was modifiedllvm/lib/Transforms/Utils/CallGraphUpdater.cpp
Commit 5d24089a7001e9fb4c0e665e93312916d88aaef9 by spatel
[SLP] reduce code for propagating flags on reductions; NFC

If we add/change to match intrinsics, this might get more
wordy, but there's no need to list each kind currently.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 4c022b5a41dee998ae50cdad4e8b6548acbeee9f by spatel
[SLP] use reduction kind's opcode to create new instructions; NFC

Similar to 5a1d31a28 -
This should be no-functional-change because the reduction kind
opcodes are 1-for-1 mappings to the instructions we are matching
as reductions. But we want to remove the need for the
`OperationData` opcode field because that does not work when
we start matching intrinsics (eg, maxnum) as reduction candidates.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 8f9da24fa7fffd52ccc2c66e3e2c1e7e87ed0336 by nikita.ppv
[GVN] Regenerate test checks (NFC)
The file was modifiedllvm/test/Transforms/GVN/PRE/volatile.ll
Commit a6df39236fdc6e422f6794935e5e08e05f566e23 by nikita.ppv
[InstSimplify] Fold out-of-bounds shift to poison

Make InstSimplify return poison rather than undef for out-of-bounds
shifts, as specified by LandRef:

> If op2 is (statically or dynamically) equal to or larger than the
> number of bits in op1, this instruction returns a poison value.

Differential Revision: https://reviews.llvm.org/D93998
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/shift.ll
The file was modifiedllvm/test/Transforms/InstSimplify/shift-knownbits.ll
The file was modifiedllvm/test/Transforms/InstCombine/out-of-bounds-indexes.ll
The file was modifiedllvm/test/Transforms/InstSimplify/undef.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift.ll
The file was modifiedllvm/test/Transforms/InstCombine/phi-shifts.ll
The file was modifiedllvm/test/Transforms/InstCombine/add-shl-sdiv-to-srem.ll
Commit 54c01057b68d2a0e565f289cfa9edb8cca7f5980 by aeubanks
Fix non-assert builds after D93828
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp
Commit a515342de9c578ed2d9b5414be008ca4a876c903 by aeubanks
[test] Pin AMDGPU/opt-pipeline.ll to legacy PM

The pipeline being tested is specifically the legacy PM pipeline.
The file was modifiedllvm/test/CodeGen/AMDGPU/opt-pipeline.ll
Commit c68faed041e664be5b289eae00ee4ca855ddf1c9 by craig.topper
[RISCV] Return a vXi1 vector type from getSetCCResultType if V extension is enabled.

nvxXi1 types are legal with V extension and that's the result
vmseq/vmsne/vmslt/etc instructions return.

No test cases yet because the setcc isel patterns aren't in
and we'll need more than basic tests to observe this. I locally
tested that this plus D947078, D94168, D94142, and D94149
was enough to be able to handle the overflow result from
llvm.sadd.overflow.
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
Commit 47fba9e1eae63fa30c9f9a7d9ca42e694ba74b0a by aeubanks
[test] Pin partial-unswitch.ll to legacy PM

The new PM does not have loop-unswitch, it only has simple-loop-unswitch.
The file was modifiedllvm/test/Transforms/LoopUnswitch/partial-unswitch.ll
Commit 0bfe100145634988e4a914da776b55509ba0bec0 by n.james93
[NFC] Test case refactor
The file was modifiedclang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
Commit 7d48eff8ba172216fca3649a3c452de4c7c16c00 by nikita.ppv
[PowerPC] Avoid call to undef in test (NFC)

Replace call to undef with a dummy function, to avoid affecting
this change by changes to call undef folding.
The file was modifiedllvm/test/CodeGen/PowerPC/spe.ll
Commit d042f2db5bf0a852bdbef53ab0310d363031f56f by nikita.ppv
[InstSimplify] Fold call null/undef to poison

Calling null or undef results in immediate undefined behavior.
Return poison instead of undef in this case, similar to what
we do for immediate UB due to division by zero.
The file was modifiedllvm/test/Transforms/InstSimplify/call.ll
The file was modifiedllvm/test/Transforms/InstSimplify/undef.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/GVN/PRE/volatile.ll
Commit 221c3b174b15855ec941ef60a551f22ac96a254e by nikita.ppv
[InstSimplify] Canonicalize non-demanded shuffle op to poison (NFCI)

I don't believe this has an observable effect, because the only
thing we care about here is replacing the operand with a constant
so following folds can apply. This change is just to make the
representation follow canonical unary shuffle form.
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit badc7606b0f622f06efc466c86fecc8b45a165fd by csigg
[mlir] Remove a number of methods from mlir::OpState that just forward to mlir::Operation. All call sites have been converted in previous changes.
The file was modifiedmlir/test/lib/Dialect/Shape/TestShapeFunctions.cpp
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
Commit 4fde2b6a0c080cb2a598383b5850038d67ca6833 by anastasia.stulova
[OpenCL] Add clang extension for function pointers.

The new clang internal extension '__cl_clang_function_pointers'
allows use of function pointers and other features that have
the same functionality:
- Use of member function pointers;
- Unrestricted use of references to functions;
- Virtual member functions.

This not a vendor extension and therefore it doesn't require any
special target support. Exposing this functionality fully
will require vendor or Khronos extension.

Tags: #clang

Differential Revision: https://reviews.llvm.org/D94021
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/SemaOpenCLCXX/members.cl
The file was modifiedclang/include/clang/Basic/OpenCLExtensions.def
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Basic/Targets/NVPTX.h
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/test/Parser/opencl-cxx-virtual.cl
The file was modifiedclang/test/Misc/r600.languageOptsOpenCL.cl
The file was modifiedclang/test/Misc/nvptx.languageOptsOpenCL.cl
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/test/Misc/amdgcn.languageOptsOpenCL.cl
The file was modifiedclang/test/SemaOpenCL/extension-version.cl
The file was modifiedclang/test/SemaOpenCL/func.cl
Commit 0e874fc014be818a9c6782729f2c8e8273a7a906 by anastasia.stulova
[OpenCL] Add clang extension for variadic functions.

With the internal clang extension '__cl_clang_variadic_functions'
variadic functions are accepted by the frontend.

This is not a fully supported vendor/Khronos extension
as it can only be used on targets with variadic prototype
support or in metaprogramming to represent functions with
generic prototype without calling such functions in the
kernel code.

Tags: #clang

Differential Revision: https://reviews.llvm.org/D94027
The file was modifiedclang/test/Misc/amdgcn.languageOptsOpenCL.cl
The file was modifiedclang/lib/Basic/Targets/NVPTX.h
The file was modifiedclang/test/SemaOpenCL/func.cl
The file was modifiedclang/include/clang/Basic/OpenCLExtensions.def
The file was modifiedclang/test/SemaOpenCL/extension-version.cl
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/test/Misc/nvptx.languageOptsOpenCL.cl
The file was modifiedclang/test/Misc/r600.languageOptsOpenCL.cl
The file was modifiedclang/docs/LanguageExtensions.rst
Commit f6f6f6375d1a4bced8a6e79a78726ab32b8dd879 by nikita.ppv
[BasicAA] Fix BatchAA results for phi-phi assumptions

Change the way NoAlias assumptions in BasicAA are handled. Instead of
handling this inside the phi-phi code, always initially insert a
NoAlias result into the map and keep track whether it is used.
If it is used, then we require that we also get back NoAlias from
the recursive queries. Otherwise, the entry is changed to MayAlias.

Additionally, keep track of all location pairs we inserted that may
still be based on assumptions higher up. If it turns out one of those
assumptions is incorrect, we flush them from the cache.

The compile-time impact for the new implementation is significantly
higher than the previous iteration of this patch:
https://llvm-compile-time-tracker.com/compare.php?from=c0bb9859de6991cc233e2dedb978dd118da8c382&to=c07112373279143e37568b5bcd293daf81a35973&stat=instructions
However, it should avoid the exponential runtime cases we run into
if we don't cache assumption-based results entirely.

This also produces better results in some cases, because NoAlias
assumptions can now start at any root, rather than just phi-phi pairs.
This is not just relevant for analysis quality, but also for BatchAA
consistency: Otherwise, results would once again depend on query order,
though at least they wouldn't be wrong.

This ended up both more complicated and more expensive than I hoped,
but I wasn't able to come up with another solution that satisfies all
the constraints.

Differential Revision: https://reviews.llvm.org/D91936
The file was modifiedllvm/unittests/Analysis/AliasAnalysisTest.cpp
The file was modifiedllvm/include/llvm/Analysis/BasicAliasAnalysis.h
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
The file was modifiedllvm/include/llvm/Analysis/AliasAnalysis.h
The file was modifiedllvm/test/Analysis/BasicAA/phi-speculation.ll
Commit 90bf3ecef4bb1e214a718aebcee730c24199c8ba by Yaxun.Liu
[clang-offload-bundler] Add option -list

clang-offload-bundler is not only used by clang driver
to bundle/unbundle files for offloading toolchains,
but also used by out of tree tools to unbundle
fat binaries generated by clang. It is important
to be able to list the bundle IDs in a bundled
file so that the bundles can be extracted.

This patch adds an option -list to list bundle
ID's in a bundled file. Each bundle ID is separated
by new line. If the file is not a bundled file
nothing is output and returns 0.

Differential Revision: https://reviews.llvm.org/D92954
The file was modifiedclang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
The file was modifiedclang/test/Driver/clang-offload-bundler.c
Commit f9190c868137dcf43833db2c8e1e00c7acca67bc by thomasraoux
[mlir][vector] Support unrolling for transfer ops using tensors

Differential Revision: https://reviews.llvm.org/D93904
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was modifiedmlir/test/Dialect/Vector/vector-transforms.mlir
The file was modifiedmlir/test/lib/Transforms/TestVectorTransforms.cpp
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorTransforms.h
The file was modifiedmlir/test/Dialect/Vector/vector-transfer-unroll.mlir
Commit 2a29ce303451375bbf1de7c971296553ef5d9beb by michael.hliao
[hip] Fix HIP version parsing.

- Need trimming before parsing major or minor version numbers. This's required
  due to the different line ending on Windows.
- In addition, the integer conversion may fail due to invalid char. Return that
  parsing function return `true` when the parsing fails.

Differential Revision: https://reviews.llvm.org/D93587
The file was modifiedclang/lib/Driver/ToolChains/AMDGPU.cpp
The file was modifiedclang/lib/Driver/ToolChains/ROCm.h
The file was modifiedclang/test/Driver/Inputs/rocm/bin/.hipVersion
Commit e2a623094f6bc1b01f9661043b3df908ca1bd037 by tianshilei1992
[OpenMP] Fixed the test environment when building along with LLVM

Currently all built libraries in OpenMP are anywhere if building along
with LLVM. It is not an issue if we don't execute any test. However, almost all
tests for `libomptarget` fails because in the lit configuration, we only set
`<build_dir>/libomptarget` to `LD_LIBRARY_PATH` and `LIBRARY_PATH`. Since those
libraries are everywhere, `clang` can no longer find `libomptarget.so` or those
deviceRTLs anymore.

In this patch, we set a unified path for all built libraries, no matter whether
it is built along with LLVM or not. In this way, our lit configuration can work
propoerly.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D93736
The file was modifiedopenmp/libomptarget/CMakeLists.txt
The file was modifiedopenmp/libomptarget/src/CMakeLists.txt
Commit 5acdae1f9a772e16850b0ee9648d79a7c3becf23 by tianshilei1992
[OpenMP] Fixed an issue that wrong LLVM headers might be included when building libomptarget

Wrong LLVM headers might be included if we don't set `include_directories`
to a right place. This will cause a compilation error if LLVM is installed in
system directories.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D93737
The file was modifiedopenmp/libomptarget/src/CMakeLists.txt
Commit 4726bec8f29bd535e2709b491d223d42bd20c120 by lntue
[libc] Add implementation of fmaf.

Differential Revision: https://reviews.llvm.org/D94018
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
The file was modifiedlibc/utils/FPUtil/FPBits.h
The file was modifiedlibc/spec/stdc.td
The file was addedlibc/src/math/fmaf.cpp
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was addedlibc/test/src/math/fmaf_test.cpp
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.h
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.cpp
The file was modifiedlibc/src/math/CMakeLists.txt
The file was addedlibc/test/src/math/FmaTest.h
The file was addedlibc/src/math/fmaf.h
Commit e0a93e4b65b63b0ae0fbde826790dc1728789fab by riddleriver
[mlir][ODS] Rename several uses of 'description' to 'summary'

Right now constraint/predicate traits/etc. use their "description" field as a one line human readable string. This breaks the current convention, by which a "description" may be multi-line. This revision renames the "description" field in these cases to "summary" which matches what the string is actually used as. This also unbreaks the use of TypeDefs(and eventually AttrDefs) in conjunction with existing type constraint facilities like `Optional`.

Differential Revision: https://reviews.llvm.org/D94133
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
The file was modifiedmlir/include/mlir/Dialect/Async/IR/AsyncBase.td
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/include/mlir/Dialect/Quant/QuantOpsBase.td
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/include/mlir/Dialect/ArmSVE/ArmSVE.td
The file was modifiedmlir/tools/mlir-tblgen/OpDocGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
The file was modifiedmlir/include/mlir/TableGen/TypeDef.h
The file was modifiedmlir/unittests/TableGen/structs.td
The file was modifiedmlir/include/mlir/TableGen/Constraint.h
The file was modifiedmlir/lib/TableGen/Constraint.cpp
The file was modifiedmlir/lib/TableGen/OpTrait.cpp
The file was modifiedmlir/tools/mlir-tblgen/EnumsGen.cpp
The file was modifiedmlir/lib/TableGen/Type.cpp
The file was modifiedmlir/tools/mlir-tblgen/StructsGen.cpp
The file was modifiedmlir/include/mlir/TableGen/OpTrait.h
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOpBase.td
The file was modifiedmlir/lib/TableGen/TypeDef.cpp
The file was modifiedmlir/include/mlir/TableGen/Type.h
The file was modifiedmlir/include/mlir/Dialect/Shape/IR/ShapeBase.td
Commit c42cee0c64fe20235123ba44aac12d7e38117a7e by riddleriver
[mlir][ODS] Fix the use of cppClassName in Type constraints for TypeDefs

This field is currently being used to mean "Fully resolved class name", which breaks the usage by TypeDefs. This revision prefixes the name with the dialect namespace when necessary.

Differential Revision: https://reviews.llvm.org/D94192
The file was modifiedmlir/include/mlir/TableGen/Type.h
The file was modifiedmlir/test/mlir-tblgen/op-decl.td
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/lib/TableGen/Type.cpp
Commit efd05040e13e942a4fbb79eb798fb9833e319b51 by thomasraoux
[mlir] Add hoisting transformation for transfer ops on tensor

Add same hoisting transformation existing for transfer ops on buffers for
transfer_ops on tensor. The logic is significantly different so this is done as
a separate transformation and it is expect that user would know which
transformation to use based on the flow.

Differential Revision: https://reviews.llvm.org/D94115
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorUtils.h
The file was modifiedmlir/test/Dialect/Linalg/hoisting.mlir
The file was modifiedmlir/test/lib/Transforms/TestLinalgHoisting.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Hoisting.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorUtils.cpp
Commit fb1c52852690cb6ad6f7f2a7b5c35bf4d0c56e44 by hansang.bae
[OpenMP] Use c_int/c_size_t in Fortran target memory routine interface

The Fortran interface is now in line with 5.1 specification.

Differential Revision: https://reviews.llvm.org/D94042
The file was modifiedopenmp/runtime/src/include/omp_lib.h.var
The file was modifiedopenmp/runtime/src/include/omp_lib.f90.var
Commit 63aeaf754a78c67ca3f8343d525dfb7a378dfa9e by asbirlea
[DominatorTree] Add support for mixed pre/post CFG views.

Add support for mixed pre/post CFG views.

Update usages of the MemorySSAUpdater to use the new DT API by
requesting the DT updates to be done by the MSSAUpdater.

Differential Revision: https://reviews.llvm.org/D93371
The file was modifiedllvm/include/llvm/Analysis/MemorySSAUpdater.h
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopRotationUtils.cpp
The file was modifiedllvm/lib/Analysis/MemorySSAUpdater.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnswitch.cpp
The file was modifiedllvm/include/llvm/Support/GenericDomTree.h
Commit a1265690cf614bde8a7fd1d503c5f13c184dc786 by Amara Emerson
Fix failing triple test for macOS 11 with non-zero minor versions.

Differential Revision: https://reviews.llvm.org/D94197
The file was modifiedllvm/unittests/ADT/TripleTest.cpp
The file was modifiedllvm/unittests/Support/Host.cpp
Commit 41d919aa29468ac072755b8449b8a38ff26f6979 by riddleriver
[mlir][TypeDefGen] Remove the need to define parser/printer for singleton types

This allows for singleton types without an explicit parser/printer to simply use
the mnemonic as the assembly format, removing the need for these types to provide the parser/printer
fields.

Differential Revision: https://reviews.llvm.org/D94194
The file was modifiedmlir/test/lib/Dialect/Test/TestTypeDefs.td
The file was modifiedmlir/tools/mlir-tblgen/TypeDefGen.cpp
Commit f9e858f5fd74d0a1b127bf8979dc36bcad8b06d2 by sivachandra
[libc] Use a wrapper for rand instead of calling std::rand in fma tests.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D94198
The file was modifiedlibc/test/src/math/FmaTest.h
The file was modifiedlibc/utils/testutils/CMakeLists.txt
The file was addedlibc/utils/testutils/RandUtils.h
The file was addedlibc/utils/testutils/RandUtils.cpp
Commit 080943f7525f277579a000cf30364cc96fba6773 by thomasraoux
[mlir][vector] Support transfer op on tensor optimizations

Support store to load forwarding and dead store transformations for transfer op
on tensor.

Differential Revision: https://reviews.llvm.org/D94148
The file was modifiedmlir/test/Dialect/Vector/vector-transferop-opt.mlir
The file was modifiedmlir/lib/Dialect/Vector/VectorTransferOpTransforms.cpp
Commit b37de2afa30fe4312aa9b87b11208bd7e05c8fa1 by Jonas Devlieghere
[Support] Untie the llvm::Signpost interface from llvm::Timer

Make llvm::Signpost more generic by untying from llvm::Timer. This
allows signposts to be used in a different context.

My motivation for doing this is being able to use signposts in LLDB.

Differential revision: https://reviews.llvm.org/D93655
The file was modifiedllvm/lib/Support/Timer.cpp
The file was modifiedllvm/include/llvm/Support/Signposts.h
The file was modifiedllvm/lib/Support/Signposts.cpp
Commit 6d94eeadd28af4d488b5875778a3ebfa0d749b52 by Jonas Devlieghere
[lldb] Ad os_signpost support to lldb_private::Timer

Emit os_signposts when supported from LLDB's timer class. A vast amount
of performance sensitive places in LLDB are already instrumented with
the Timer class.

By emitting signposts we can examine this information in Instruments. I
recommend looking at Daniel's differential for why this is so powerful:
https://reviews.llvm.org/D52954.

Differential revision: https://reviews.llvm.org/D93657
The file was modifiedlldb/source/Utility/Timer.cpp
The file was modifiedlldb/include/lldb/Utility/Timer.h
Commit 781c476ce09ed983477885e33b8acbb2220ad3a1 by arthur.j.odwyer
[libc++] ADL-proof vector<bool> by adding _VSTD:: qualification on calls.

This affects only vectors with weird/malicious allocators,
the same corner case covered in D91708, but for `vector<bool>` this time.

Also ADL-proof <__tree>, which affects only sets and maps with weird/malicious
allocators where the ADL trap is in the *fancy pointer type*.

Also drive-by _VSTD:: qualification in the guts of std::bind,
std::packaged_task, std::condition_variable.

Differential Revision: https://reviews.llvm.org/D93424
The file was modifiedlibcxx/include/__mutex_base
The file was modifiedlibcxx/include/__bit_reference
The file was modifiedlibcxx/include/functional
The file was modifiedlibcxx/include/iomanip
The file was modifiedlibcxx/include/future
The file was modifiedlibcxx/test/libcxx/containers/sequences/vector/robust_against_adl.pass.cpp
The file was modifiedlibcxx/include/__tree
The file was modifiedlibcxx/include/array
The file was modifiedlibcxx/include/bitset
The file was modifiedlibcxx/include/mutex
Commit 4bdab5482667784247aa4fc72d2f6f810ad44260 by kbarton
[PPC] Remove old PPCSubTarget variable.

The PPCSubTarget variable has been replaced with the Subtarget variable. This
removes the remaining instances of PPCSubTarget as they are no longer necessary.
The file was modifiedllvm/lib/Target/PowerPC/PPCFastISel.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp