[clang] Proofread *.rst (#166897)
This patch is limited to single-word replacements to fix spelling
and/or grammar to ease the review process. Punctuation and markdown
fixes are specifically excluded.
[libc++][test] Fix-up tests for `is_clock(_v)` (#166888)
This fixes incompleteness and inconsistency for test files added in
adc79324618f0e95914ac0fcb26fe0d942319cab, by
- renaming
`libcxx/test/std/time/time.traits.is.clock/trait.is.clock.compile.pass.cpp`
to `libcxx/test/std/time/time.traits/is.clock.compile.pass.cpp`,
- renaming
`libcxx/test/libcxx/time/time.traits.is.clock/trait.is.clock.compile.verify.cpp`
to `libcxx/test/libcxx/time/time.traits/is.clock.verify.cpp` , and
- adding comments clarifying what are being tested.
[flang][runtime] Allow some list-directed child output to advance (#166847)
List-directed child input is allowed to advance to new records in some
circumstances, and list-directed output should be as well so that e.g.
NAMELIST output via a defined WRITE(FORMATTED) generic doesn't get
truncated by FORT_FMT_RECL.
Fixes https://github.com/llvm/llvm-project/issues/166804.
[flang] Improve warning text (#166407)
When an overflow or other floating-point exception occurs at compilation
time while folding a conversion of a math library call to a smaller
type, don't confuse the user by mentioning the conversion; just note
that the exception was noted while folding the intrinsic function.
[flang] Explicit interface externals are constant expressions (#166181)
... but the constant expression test didn't allow for them, so they
weren't working in initializers.
[CAS] Fix wrong usage of `llvm::sort()` in UnifiedOnDiskCache (#166963)
Fix compare function in getAllDBDirs(). The compare function in sort
should be strictly less than operator.
[Flang][OpenMP] Unify MapInfoFinalization's BoxChar handling with other Box types (#165954)
Currently we handle BoxChars separately and a little differently to the
other BoxType's, however realistically they can be handled the same and
should be to simplify the pass as much as we can.
Add HLASM output and external references
Adds HLASM output and tests for it, per reviewer comment.
Also adds external references, because it fits very well
into the implementation.
[mlir] Remove redundant declarations (NFC) (#166896)
In C++17, static constexpr members are implicitly inline, so they no
longer require an out-of-line definition.
The comments for these variables are also present in:
mlir/include/mlir/Dialect/Bufferization/IR/BufferizationBase.td
Identified with readability-redundant-declaration.
[Demangle] Remove redundant declarations (NFC) (#166895)
In C++17, static constexpr members are implicitly inline, so they no
longer require an out-of-line definition.
Identified with readability-redundant-declaration.
[clang-tools-extra] Remove redundant declarations (NFC) (#166894)
In C++17, static constexpr members are implicitly inline, so they no
longer require an out-of-line definition.
Identified with readability-redundant-declaration.
[BOLT] Remove redundant declarations (NFC) (#166893)
In C++17, static constexpr members are implicitly inline, so they no
longer require an out-of-line definition.
Identified with readability-redundant-declaration.
[AMDGPU][clang] Fix clang driver check for multiple sanitizer arguments
`-fsanitize=address,fuzzer` should be rejected like
`-fsanitize=fuzzer,address`.
The address sanitizer enables the device sanitizer pipeline. The fuzzer
implicitly turns on LLVMs SanitizerCoverage, which the driver then
forwards to the device cc1. SanitizerCoverage is not supported on
amdgcn.
Add `llvm.vector.partial.reduce.fadd` intrinsic (#159776)
With this intrinsic, and supporting SelectionDAG nodes, we can better
make use of instructions such as AArch64's `FDOT`.
[PowerPC] Lowering support for EVL type VP_LOAD/VP_STORE (#165910)
Map EVL type VP_LOAD/VP_STORE for fixed length vectors to PPC load/store
with length.
[AMDGPU] Delete redundant s_or_b32 (#165261)
Transform sequences like:
```
s_cselect_b64 s[12:13], -1, 0
s_or_b32 s6, s12, s13
```
where s6 is dead to:
`s_cselect_b64 s[12:13], -1, 0`
---------
Signed-off-by: John Lu <John.Lu at amd.com>
[AArch64][llvm] Add support for Neon vmmlaq_{f16,f32}_mf8_fpm intrinsics (#165431)
Add support for the following new AArch64 Neon intrinsics:
```
float16x8_t vmmlaq_f16_mf8_fpm(float16x8_t, mfloat8x16_t, mfloat8x16_t, fpm_t);
float32x4_t vmmlaq_f32_mf8_fpm(float32x4_t, mfloat8x16_t, mfloat8x16_t, fpm_t);
```