Revert "[Clang][OpenMP] Allow array shaping as the base of array sections in target update" (#246790)
Reverts llvm/llvm-project#244591
asserts on test case attached in :
https://github.com/llvm/llvm-project/pull/244591
[SystemZ] Use VFTCI*/WFTCIXB for llvm.is.fpclass on vector and f128 types
Lower ISD::IS_FPCLASS on <2 x double> and <4 x float> to VFTCIDB/VFTCISB
(one instruction) instead of the 3-instruction comparison sequence currently
produced by generic expansion. Lower IS_FPCLASS on fp128 on z14+ to WFTCIXB
instead of TCXB, keeping the value in a single VR128 and avoiding the vrepg
split and the GroupAlone dispatch restriction of TCXB.
For vectors, register IS_FPCLASS as Custom for v2f64 (z13+) and v4f32 (z14+),
emit SystemZISD::VFTCI with the TDC 12-bit mask as a TargetConstant, and
return the all-ones/all-zeros element result directly as the boolean mask.
For f128 on z14+, add a new SystemZISD::WFTCIXB node and wire it to the
existing WFTCIXB instruction. Extract the boolean from the i128 result
with vlgvg + srlg 63.
Assisted by: IBM Bob
Refer to the recorded callbr outputs through SmallVectorImpl
The code that records them doesn't depend on the inline size.
Assisted-by: Claude Opus 5.5
Move a callbr output's operand info and registers into its record
Nothing reads them after the output is recorded, so they don't need to be
copied.
Assisted-by: Claude Opus 5.5
Merge tag 'io_uring-7.4-20261127' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux
Pull io_uring fixes from Jens Axboe:
"io_uring fixes for this week - bigger than I'd like at this point, but
that's mostly looking at the commit count. The fixes are all pretty
small and isolated. This contains:
- Don't charge the whole folio offset to the skb truesize for managed
frags, as a registered buffer backed by huge pages otherwise looked
like a full socket long before any real memory was used.
- recvmsg retry fixes: don't copy msg_name again on a retry, and
restore the cmsg buffer before a retry.
- Clear REQ_F_BL_NO_RECYCLE when the buffers it was set for are put,
fixing a NULL pointer dereference in bundle receive with
MSG_WAITALL.
- Free the ring from an RCU work, fixing a use-after-free of the ctx
[33 lines not shown]
Merge tag 'hwmon-for-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull hwmon fixes from Guenter Roeck:
- Fix a v7.4-rc2 regression in aquacomputer_d5next that rejected
single-collection Aquaero sensor interfaces during probe by only
checking collection[1].type when maxcollection > 1.
- Fix peak value tracking for IEEE-754 half-precision chips
(LT7170/LT7171) in pmbus/ltc2978: compare binary16 values as
sign-magnitude integers instead of decoding them as LINEAR11, and use
-infinity/+infinity for peak initialization and reset values.
- Fix ACPI fan paths for the Lenovo Yoga Pro 7 14IAH10 in yogafan by
using the dual-fan FA1S/FA2S configuration instead of the nonexistent
FANS path, and update the driver documentation table to match.
- Add the missing platform:cgbc-hwmon module alias to cgbc-hwmon so the
driver autoloads when built as a module.
[6 lines not shown]
[SystemZ] Use VMSLG for i128 multiply-accumulate of 64-bit products
Add a DAG combine that turns
(add (add (mul x0, y0), (mul x1, y1)), c)
on i128, where all x and y have their upper 64 bits known zero, into
a single VECTOR MULTIPLY SUM LOGICAL (VMSLG) instead of two MLG(R)
plus two VAQ. Requires vector-enhancements-1 (z14).
Assisted by: IBM Bob
[NVPTX] Avoid double rounding in integer to bf16 conversions (#244801)
Below sm_90, int to bf16 is lowered through f32, which rounds twice and can
be off by one ulp, e.g. `uitofp i32 16842753` gives 0x4B80 instead of 0x4B81.
Convert to f32 rounding towards zero and set the lowest bit if inexact
(round to odd), so the final rounding to bf16 is correct. Operands known to
fit in 24 bits keep the direct conversion. The first commit adds the tests.
Fixes #244593
Assisted-by: Claude Code (Claude Opus 5.5)