[LV] InstCombine-simplify partial-reduce-sub dotp test (#189739)
The input IR shown in the partial-reduce-sub dotp test will never reach
the vectorizer, due to prior simplification by InstCombine. Change it
with this simplification. This is necessary for the simplification in
#187228, whose goal is to make #187589 possible.
[flang][NFC] remove ambiguous fir::unwrapInnerType helper (#191189)
`fir::unwrapInnerType` has the odd behavior of returning an empty type
for things like i32, causing BaseBoxType::unwrapInnerType to return a
null type for fir.box<i32> which was not intended.
Remove the helper, no user really needed the null type behavior, replace
its few usage by fir::getFortranElementType and update
BaseBoxType::unwrapInnerType to do the intended behavior.
[VPlan] Strip replicate-region-bail in udiv -> lshr simpl (NFC) (#190251)
Since 99aa33d ([VPlan] Explicitly unroll replicate-regions without
live-outs by VF, #188947), VPInstructions in replicate regions can be
handled. The change is non-functional because simplifyRecipes is run
after unrollByUF, which dissolves replicate regions.
[AArch64][clang][llvm] Add support for Armv9.7-A lookup table intrinsics
Add support for the following Armv9.7-A Lookup Table (lut)
instruction intrinsics:
SVE2.3
```c
// Variant is also available for: _u8 _mf8
svint8_t svluti6[_s8](svint8x2_t table, svuint8_t indices);
```
SVE2.3 and SME2.3
``` c
// Variants are also available for _u16_x2 and _f16_x2.
svint16_t svluti6_lane[_s16_x2](svint16x2_t table, svuint8_t indices, uint64_t imm_idx);
```
SME2.3
```c
[9 lines not shown]
[Clang] prevent constexpr crash on invalid overrides (#184048)
Fixes #183290
---
This PR fixes a crash during `constexpr` evaluation that occurred after
detecting an invalid override. It now marks the overriding method as
invalid when override checks fail.
[lldb][test] Fix call signature in TestAppleSimulatorOSType (#191185)
Commit 918e446ef28ac97df20d6ef2bd50c78e2fe903ac removed the
stderr_lines_to_read argument but didn't adjust the call site in
TestAppleSimulatorOSType. This patch just removes the extra arg here
too.
[Clang] Fix handling of references to variable templates with an empty argument list (#191154)
In some cases they were treated as having no argument list at all.
Fixes #191016.
[libc] Add cpio.h to Linux target public headers (#191177)
Added libc.include.cpio to TARGET_PUBLIC_HEADERS for all Linux
architectures: aarch64, arm, i386, riscv, and x86_64.
This enables generation of cpio.h when building with
LLVM_LIBC_FULL_BUILD.
[Clang] Fix Itanium mangling crash for local lambda in ctor/dtor (#181068)
Fixes #176395
Note: I need someone to help me merge this PR, since I don't have commit
access.
[AArch64][SVE] Use SUBR for unpredicated bitwise NOT. (#191155)
This relies on the identity NOT (x) = -1 - x, which can be lowered as
byte SUBR (x, 255). The recently added pseudos for SUBR (immediate)
should avoid cases where we would risk emitting a MOV.