Reland "[Driver][HIP/SPIRV] Fix crash when llvm-link is executed" (#196131)
Originally reverted due to possible regression detected by buildbot.
This PR relands https://github.com/llvm/llvm-project/pull/196074.
Failures were due to flaky tests.
Pull up following revision(s) (requested by nia in ticket #1253):
external/mit/ctwm/libexec/ctwm_app_menu: revision 1.7
ctwm_app_menu: Rewrite largely in awk for ~20-100x speedup.
Previously took ~2.5sec on my laptop, now 0.03sec.
Previously took ~10sec on a wiiu, now ~0.5sec.
Output is meant to be byte-for-byte identical, except possibly in
cases that could have screwed up ctwm by quoting shenanigans which
are now escaped. (I hope the escape sequences work, didn't actually
check how ctwm interprets them.) Can maybe support Exec line with
`"' in them by deleting some code (marked XXX) but I didn't test that
it actually works that way.
PR bin/59958: ctwm: long delay during ctwm_app_menu
[SLP] Add test to demonstrate ordering changes in vectorizeStores() refactor (#196018)
Test is for #193616. Because this test has two overlapping chains with
different VFs, when the ordering that they are attempted to vectorize in
changes, the result will change since the smaller chain cannot vectorize
if the larger chain hasn't already vectorized due to the extract costs.
bhyve/virtio-scsi: Don't invoke iov_to_buf() in an assert() expression
If anyone would build bhyve with -DNDEBUG, any code in the expression
in assert() won't be executed. Instead put the return value in a
temporary variable to assert that it has the expected value.
Reviewed by: emaste, markj (earlier version)
Fixes: 2a514d377b37 ("bhyve/virtio-scsi: Preallocate all I/O requests")
Differential Revision: https://reviews.freebsd.org/D55803
Remove the __sync_val_compare_and_swap_[12] aliases from m68k and use
the new wrapper functions in
common/lib/libc/atomic/atomic_cas_{8,16}_cas.c
as all other that need these funcitions platforms do.
Pull up following revision(s) (requested by nia in ticket #256):
external/mit/ctwm/libexec/ctwm_app_menu: revision 1.7
ctwm_app_menu: Rewrite largely in awk for ~20-100x speedup.
Previously took ~2.5sec on my laptop, now 0.03sec.
Previously took ~10sec on a wiiu, now ~0.5sec.
Output is meant to be byte-for-byte identical, except possibly in
cases that could have screwed up ctwm by quoting shenanigans which
are now escaped. (I hope the escape sequences work, didn't actually
check how ctwm interprets them.) Can maybe support Exec line with
`"' in them by deleting some code (marked XXX) but I didn't test that
it actually works that way.
PR bin/59958: ctwm: long delay during ctwm_app_menu
Pull up following revision(s) (requested by nia in ticket #255):
distrib/notes/evbarm/install: revision 1.19
evbarm: Update install instructions.
Recommend using installboot to install u-boot.
[OpenMP][amdgpu] Use max teams for amdgpu-max-num-workgroups (#195203)
The min teams value was used to set the amdgpu-max-num-workgroups
attribute. This commit switches to max teams, as done for the nvptx's
attribute.
Pull up following revision(s) (requested by jmcneill in ticket #254):
libexec/ld.elf_so/map_object.c: revision 1.70
libexec/ld.elf_so/arch/powerpc/fixup.c: revision 1.1
libexec/ld.elf_so/arch/powerpc/fixup.c: revision 1.2
libexec/ld.elf_so/rtld.h: revision 1.152
libexec/ld.elf_so/arch/powerpc/Makefile.inc: revision 1.18
libexec/ld.elf_so/Makefile: revision 1.154
This change adds the userspace portion of the IBM Espresso SMP fixup to the
netbsd-11 branch. This enables SMP-safeness of a netbsd-11 userland running
under a -current kernel on Wii U systems. Useful for eg. bulk builds in
chroots.