if_stf: Free entire mbuf chain on failure
Reported by: Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM-5.1 from Z.ai
Reviewed by: markj, bz, kp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57476
Add _MM_FROUND_TO_NEAREST_TIES_EVEN to avx512fintrin.h (#99691)
Intrinsics such as `_mm512_add_round_ps` take a rounding mode argument
to specify the floating point rounding mode. This, and similar
instructions, do NOT round their result to an integer. Thus it is
inappropriate for user code to specify the existing
`_MM_FROUND_TO_NEAREST_INT` when desiring to round to the nearest
floating point number. This commit adds a suitable macro definition.
[InstCombine] Fix UB in align-assume check (#201985)
When we have a `NULL` pointer the `1ULL << computeKnownBits(RK.WasOn,
II).countMinTrailingZeros()` check becomes `1ULL << 64` which is UB.
We hit the following error in our downstream sanitizer builder:
> llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp: runtime error:
shift exponent 64 is too large for 64-bit type 'unsigned long long'
Tests were generated using an AI.