[bazel] Fix bazel test by specifying unroll-elements.mlir as data (#158158)
`mlir/test/Dialect/Vector/td/unroll-elements.mlir` is fed as a data
dependency
into`mlir/test/Dialect/Vector/vector-to-elements-lowering.mlir` added in
[#157142](https://github.com/llvm/llvm-project/pull/157142). The Bazel
rule here automatically picks up all mlir files as tests, which leads to
`vector-to-elements-lowering` failing.
[libc++] Install dependencies right before they're needed
This solves a tricky issue where we can't install the libc++ dependencies
until after we've checked out the monorepo.
afterstep: patch more ctype(3) issues
Noted to cause build failures on recent NetBSD (after ctype(3) changes
circa 10.99.14). There are probably more potential issues lurking here,
but this at least gets the package building again.
[clang] AST: remove DependentTemplateSpecializationType
A DependentTemplateSpecializationType (DTST) is basically just a
TemplateSpecializationType (TST) with a hardcoded DependentTemplateName (DTN)
as its TemplateName.
This removes the DTST and replaces all uses of it with a TST, removing
a lot of duplication in the implementation.
Technically the hardcoded DTN is an optimization for a most common case, but
the TST implementation is in better shape overall and with other optimizations,
so this patch ends up being an overall performance positive:
A DTST also didn't allow a template name representing a DependentTemplateName
that was substituted from an alias templates, while the TST does by the simple
fact it can hold an arbitrary TemplateName, so this patch also increases the
amount of sugar retained, while still being faster overall.
Example (from included test case):
[7 lines not shown]
Reapply "[llvm] Use lit internal shell by default"
This reverts commit 5125f476b2f90ccf157c78d73bc6fe14c4413a27.
This was reverted because it broke some debuginfod tests. Those have been fixed
now in #158141. Relanding now and hoping it sticks this time.
[llvm-debuginfod] Update tests to work with internal shell (#158141)
This patch updates the llvm-debuginfod tests to work with the lit
internal shell. One test was missing env before environment variables
and another was using a brace expansion.
[lldb][NFC] Mark API test skipIfRemote to avoid a bot
The lldb-remote-linux-ubuntu bot (and only this bot) is still failing
for TestCortexMExceptionUnwind.py because the Target triple is
somehow inheriting a non-Darwin OS. I marked this API test
skipUnlessDarwin but this bot can be identified more specifically
by a skipIfRemote test. There's no benefit to running this test
remotely anyway; it doesn't execute any code.
cxgbe tom: Send auxiliary TLS work requests as raw WR mbufs
In particular, the work request to update the TCB state when switching
from plain TCP to TLS is now queued on the connection's offload
transmit queue rather than over the per-port control queue.
This also handles an unlikely edge case that a connection does not
have sufficient credits to transmit other work requests synchronously
such as programming the key in on-card memory or altering TCB fields.
Reviewed by: np
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D47763
cxgbe tom: Export alloc_raw_mbuf for use in other TOE drivers
Reviewed by: np
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D47762
cxgbe tom: Support sending "raw" WR mbufs on plain TCP and TLS sockets
This is intended to support control work requests that manipulate
connection state but do not transmit data. Raw WRs are transmitted
immediately if possible, otherwise they are queued to an mbufq in the
toe pcb until sufficient credits are available. Raw WRs take
precendence over transmitting socket data.
Reviewed by: np
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D47761
cxgbe tom: Halve the size of offload transmit software descriptors
Use bitfields to pack tx_credits and plen into a single 32-bit word.
Reviewed by: np
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D47759
Revert "linux: fix reporting NL_RTM_DELLINK to Netlink sockets"
I received a report that certain Linux application would crash on a
message of a departure of an interface with FreeBSD name. Looks like
dropping NL_RTM_DELLINK is a lesser evil than relay them with FreeBSD
names.
This reverts commit 554907bac3b264863a051f75eedc35d180d3e18c.