[X86] Check useBWIRegs() instead of hasBWI() before creating x86_avx512_psad_bw_512 intrinsic. (#201167)
Need to check that 512-bit vectors are enabled before using a 512-bit
intrinsic.
[SelectionDAG] Split vector types for atomic store (#197860)
Vector types that aren't widened are split so that a single ATOMIC_STORE
is issued for the entire vector at once. This enables SelectionDAG to
translate vectors with type bfloat,half.
Store-side counterpart to #165818. Stacked on top of #197619; and below
of #197861.
[docs] Rewrite SphinxQuickstartTemplate.md in MyST Markdown (#198896)
Converts SphinxQuickstartTemplate.md from reStructuredText syntax to
MyST Markdown. Updates the overview to mention that MyST is now
preferred for new LLVM documentation, modernizes the authoring
guidelines, and replaces all RST markup constructs with their Markdown
equivalents.
The renamd landed as PR #198899.
See RFC:
https://discourse.llvm.org/t/rfc-make-myst-markdown-the-llvm-docs-format-rip-rest/90840
An LLM was used to assist with the rewrite.
---------
Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>
[AArch64][llvm] Restrict luti6 (4 regs, 8-bit) to 0 <= Zn <= 7
The `luti6` instruction (table, four registers, 8-bit) should only
allow `0 <= Zn <= 7`, since there's only 3 bits. It actually allows:
```
luti6 { z0.b - z3.b }, zt0, { z8 - z10 }
```
which produces a duplicate encoding to the following:
```
luti6 { z0.b - z3.b }, zt0, { z0 - z2 }
```
Fix tablegen to ensure Zn is only allowed in correct range of 0 to 7.
[SystemZ][GOFF] Implement reset() for GOFFObjectWriter
The reset() methods is used to free memory before the object is
destructed or reused. This change adds this functionality to the
GOFF writer.
[docs] Rename SphinxQuickstartTemplate.{rst|md} for blame (#198899)
Renames SphinxQuickstartTemplate.rst to SphinxQuickstartTemplate.md as
an isolated commit to preserve blame history. The file content is not
yet valid Markdown; the rewrite follows in a stacked PR.
Cross-references in MarkdownQuickstartTemplate.md, README.txt, and
openmp/docs/README.txt are updated accordingly.
See RFC:
https://discourse.llvm.org/t/rfc-make-myst-markdown-the-llvm-docs-format-rip-rest/90840
Fix a warning and an uninitialized variable in benchmark (#200927)
After #198964 I see a -Wcovered-switch-default warning in sysinfo.cc,
but it looks like it's uncovering something a bit worse.
Back in #147357 and #149159 it looks like we tried to fix an MSVC
warning for an uncovered `CacheUnknown` case in this switch, and removed
the initialization of the variable before the switch. The update to
Google Benchmark v1.9.5 has a different fix for this - it's handling
that specific case guarded by some MSVC version macros, but this depends
on the initialization we removed!
Add the initialization back and remove the default case, effectively
reverting #149159 and #147357.
[SLP] Scale extract cost of external uses with nullptr user
The NCD pre-pass from #199962 only records extract blocks for external
uses that have a real user, so uses with a nullptr user were left
unscaled, making the loop in the report look profitable and get wrongly
vectorized. For a nullptr user vectorizeTree() places the extract right
after the vectorized instruction (entry block) and RAUWs the scalar, so
scale those extracts by the entry block frequency, restoring the
pre-#199962 behavior for that case.
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/201193
sys/uvideo: fix UVIDEO_FLAG_VENDOR_CLASS attach
UVIDEO_FLAG_VENDOR_CLASS has been broken since r1.147: attach selected
only UICLASS_VIDEO interfaces, even after match accepted a device whose
video control interface incorrectly reports UICLASS_VENDOR.
Restore the vendor class path in attach, and add the remaining Logitech
vendor class UVC devices listed by Linux for which usbdevs already has
product IDs.
Issue reported and tested by "requiem." on Logitech QuickCam Pro5000
OK: mglocker@
security/hashcat: on arm64 add build dependency on sse2neon
An attempt to fix the build on arm64, not tested since the build
is not possible in poudriere testport in arm64 emulation on my
amd64 system (the build dependency rust cannot be built with
qemu-user-static).
sysutils/conky: Update to 0.124.0
ChangeLog: https://github.com/brndnmtthws/conky/releases/tag/v1.24.0
Remove patch merged upstream.
Features
* feat(text): add sysfs monitoring bar variables
* ci: consolidate required checks
* Added a new width argument to 'hr' and 'stippled_hr' variables
Bug fixes
* Remove mouse-events.h include guard from display-x11.cc
* fix(core): align update schedule to wall-clock seconds
* Fix crash when XDG_SESSION_TYPE is empty
* Fix BUILD_LUA_CAIRO not adding cairo to conky_libs
* Fix event propagation
[9 lines not shown]