[DataLayout] Add a specifier for element-aligned vectors (#180617)
This adds the "ve" specifier to Data Layout, which says that vectors are
element-aligned by default for a target.
Note that we also remove the default vector specs for 64 and 128 bit
vectors - these match the natural alignment of those vectors, so they
didn't actually have any functional effect.
[bazel][mlir] Remove non-existent file mlir/run_lit.sh (#185729)
This file does not exist. Surprisingly, it's not a fatal error to have
it in the list, as long as you don't explicitly reference it.
[DirectX] Split long vectors in DXILResourceAccess (#184732)
If a vector has more than 4 elements, the `resource.load` and
`resource.store`
intrinsics aren't able to handle it. Split these into multiple calls.
Fixes #167542
[Metal][HLSL] Add support for dumping reflection (#185444)
The Metal Shader converter can output shader reflection information into
a JSON file. This connects the -Fre flag (DXC's flag for reflection) to
the Metal Shader Converter tool step to produce the JSON file. As a
temporary state the -Fre flag will error when used without the -metal
flag.
This is required to address
https://github.com/llvm/offload-test-suite/issues/452
Re-land #181258
[Dexter] Add missing calls to SBDebugger::{Initialize,Terminate} (#185535)
When using LLDB, the first and last call should be
SBDebugger::Initialize and SBDebugger::Terminate respectively.
While we're resilient against mistakes, I'm adding an assert (#185162)
to debug builds to catch those mistakes in-tree as they have the
potential to leak resources. The assert was tripped by Dexter.
This PR adds the missing calls to SBDebugger::{Initialize,Terminate},
and while I was at it, I also added a missing call to
SBDebugger::Destroy. With that, the Dexter tests pass locally with the
assert enabled.
interfaces: multi-dhcp6c support #7647
This splits off rtsold and dhcp6c into separate processes.
I'm not entirely sure why we settled for a single deamon of
dhcp6c back in the day, but there are certianly downsides to
it and I don't see something that wasn't fixed in the meantime
that makes this not work.
[Clang-doc] Display enum comments in HTML (#183085)
Currently comments of enum variables are not displayed in HTML.
Add support to display the comments.
[AArch64][GlobalISel] Fix matchUseVectorTruncate to check element order before folding (#185834)
matchUseVectorTruncate incorrectly folded a
G_UNMERGE_VALUES + G_TRUNC + G_BUILD_VECTOR sequence into a single
vector G_TRUNC even when the BUILD_VECTOR operand order did not match
the UNMERGE_VALUES result order. This silently dropped element
reordering, producing a miscompile.
Add an element-ordering check: BUILD_VECTOR position I must use
UNMERGE_VALUES result I, otherwise the fold is rejected.
InstCombine: Support basic phis in SimplifyDemandedFPClass
Some complex function edge case epilogs are only handled under
some control flow paths (e.g. lgamma and erfcinv).
[Hexagon] Disable implicit system include paths (#185456)
Hexagon toolchains are almost always cross-compiling and using system
include paths is virtually always an error. In general, adding implicit
paths is confusing as they are not shown in the `-###` output. The
comment in `InitHeaderSearch::AddDefaultIncludePaths()` suggests that
"this code path is going away" and the proper place for path selection
is in the driver. The current logic for adding implicit paths in the
preprocessor is on the opt-out basis, but it looks like almost all
majors OSes are explictly excluded.
Disable implicit system include paths for Hexagon targets.
Disable implicit system include paths for Hexagon targets.
[mlir][spirv] Add first 7 elementwise unary ops in TOSA Ext Inst Set (#185885)
This patch introduces the following elementwise unary operators:
spirv.Tosa.Abs
spirv.Tosa.BitwiseNot
spirv.Tosa.Ceil
spirv.Tosa.Clz
spirv.Tosa.Cos
spirv.Tosa.Exp
spirv.Tosa.Floor
Also dialect and serialization round-trip tests have been added.
Signed-off-by: Davide Grohmann <davide.grohmann at arm.com>
www/php-ja-wordpress: distfile change
Upstream changed distfile without changing its name. It happened last year,
sigh.
Add DIST_SUBDIR and bump PKGREVISION since it contains some translation
updates.
[libc] Implement iswgraph entrypoint (#185339)
part of https://github.com/llvm/llvm-project/issues/185136;
This PR adds public entrypoints for the wide character classification
function iswgraph in LLVM libc, using the same pattern as the existing
iswalpha entrypoint.
using bellow cmd to test:
```shell
ninja libc.test.src.wctype.iswgraph_test.__unit__
```