[mlir][x86] Lower packed type vector.contract to AMX dot-product (online-packing) (#188192)
A transform pass to lower flat layout `vector.contract` operation to (a)
amx.tile_mulf for BF16, or (b) amx.tile_muli for Int8 packed types via
`online` packing.
TODOs: On an another `patch` planned to re-factor this pass + retiring
`convert-vector-to-amx` pass.
[TargetLowering] Support larger divisors in expandDIVREMByConstant. (#191119)
Instead of bailing out if the original divisor exceeds HBitWidth,
allow divisors that fit in HBitWidth after removing trailing zeros.
PartialRem now needs a low and high part. Shifting RemL left
now needs to handle shifting into RemH.
Assisted-by: Claude Sonnet 4.5
Address review comments
- Revert a lot of mnemonic renames caused by a brute-force sed.
- Add -filetype=null to unsupported test RUN lines
- Regenerate CHECK lines in codegen tests
Assisted-By: Claude Opus 4.6 (1M context)
cross-build: Define __*int*_t and include sys/cdefs.h
FreeBSD assumes that sys/types.h includes sys/cdefs.h, so add it here.
FreeBSD also needs __*int*_t defined for software we bootstrap (a lot of
it). GLIBC defines these, but musl does not, so we have to define them
here, even though it looks backwards. There's no good #define to key off
of, so use !defined GLIBC since on Linux defacto there's only two libc
implementations.
Co-authored-by: Val Packett <val at packett.cool>
Sponsored by: Netflix
Pull Request: https://github.com/freebsd/freebsd-src/pull/1066
Reviewed by: val_packett.cool
Differential Revision: https://reviews.freebsd.org/D45354
(cherry picked from commit 3c5f0da5106bee21ab3726f608b5c377da92a733)
Skip type check for metadata operands in addTypeCheckPredicate
Metadata is trivially always metadata. So we don't actually need the predicate
introduced in #191389.