Fangrui Song
d1f04443b1
[Bazel] Port clangInstallAPI changes #82293 and #82552
2024-02-28 12:49:15 -08:00
Ingo Müller
9e14320695
[bazel] Fix breakage from 915fce040271c77df1ff9b2c8797c441cec0d18d.
...
That commit (from #82189 ) introduces a new dependency but does not
declare it in the BUILD files.
2024-02-28 13:59:04 +00:00
Ingo Müller
5f2097dbed
[mlir] Expose MLIR_CUDA_CONVERSIONS_ENABLED in mlir-config.h. ( #83004 )
...
That macro was not defined in some cases and thus yielded warnings if
compiled with `-Wundef`. In particular, they were not defined in the
BUILD files, so the GPU targets were broken when built with Bazel. This
commit exposes mentioned CMake variable through mlir-config.h and uses
the macro that is introduced with the same name. This replaces the macro
MLIR_CUDA_CONVERSIONS_ENABLED, which the CMake files previously defined
manually.
2024-02-28 14:48:40 +01:00
Mikhail Goncharov
a4fff36b6c
[bazel] Add "include/" for libc includes
...
for 04e8653f189bf3d65680c7fb3b3033ad82903ee9 #83199
2024-02-28 09:33:27 +01:00
Michael Jones
8e3b60540c
[libc] Add fixed point support to printf ( #82707 )
...
This patch adds the r, R, k, and K conversion specifiers to printf, with
accompanying tests. They are guarded behind the
LIBC_COPT_PRINTF_DISABLE_FIXED_POINT flag as well as automatic fixed
point support detection.
2024-02-27 11:03:20 -08:00
Aart Bik
1c2456d659
[mlir][sparse] remove very thin header file from sparse runtime support ( #82820 )
2024-02-23 12:37:36 -08:00
tsitdikov
e09e0d52a0
Users/tsitdikov ( #82757 )
...
Fix Test ARM SME library and build rule.
2024-02-23 12:54:15 +00:00
tsitdikov
6ac2c0488f
Add TestArmSME dependency to mlir-opt library.
...
TestArmSME was added in e132643474
, now we need to add dependency on it.
2024-02-23 11:57:14 +00:00
tsitdikov
e132643474
Add build rule for MLIRArmSMETestPasses
...
MLIRArmSMETestPasses was added in b39f5660a4
, we need to add a build rule for it as well.
2024-02-23 11:47:40 +00:00
Jorge Gorbe Moya
3b20fb336d
[bazel] add missing dep after 5b079af169cd04b457465fd7ca31714efeefe6d9
2024-02-22 11:43:34 -08:00
Adrian Kuegel
bc1c86b810
[mlir][Bazel] Also remove SerializeToCubin target.
2024-02-22 07:24:46 +00:00
Adrian Kuegel
6676f67e31
[mlir][Bazel] Remove stub target which is not needed anymore.
2024-02-22 07:20:47 +00:00
Oleksandr "Alex" Zinenko
91f1161133
[mlir] expose transform interpreter to Python ( #82365 )
...
Transform interpreter functionality can be used standalone without going
through the interpreter pass, make it available in Python.
2024-02-21 11:01:00 +01:00
Jorge Gorbe Moya
d39d5ccbc0
[bazel] fix build after 4c6043de0b837d23699424d875057d00956d80ac
2024-02-20 10:18:20 -08:00
Tomás Longeri
44436a9c6b
Update Bazel build after b334664 ( #82091 )
2024-02-17 09:14:44 +01:00
lntue
f01ed3bc88
[libc][stdfix] Add round functions for fixed point types. ( #81994 )
2024-02-16 12:45:26 -05:00
Guillaume Chatelet
a80a01fc25
[reland][libc][NFC] Use user defined literals to build 128 and 256 bit constants ( #81998 )
...
- #81835
- Fix for platforms where uint64_t is not available
2024-02-16 16:40:26 +01:00
Haojian Wu
9e5da05da7
[bazel] Add a missing dependency for __support_fixed_point lib
2024-02-16 13:50:50 +01:00
Haojian Wu
bfda580b08
[bazel] Port for 0eedc85baad495fa916d1da7b20db93a29b443e1 and 82a4a41614f4943e6b2e85bbc8cb8507d2236524
2024-02-16 13:29:13 +01:00
Boian Petkantchin
dc3258c617
[mlir][mesh] Add all-slice operation ( #81218 )
...
This op is the inverse of all-gather. It is useful to have an explicit
concise representation instead of having a blob of slicing logic.
Add lowering for the op that slices from the tensor based on the
in-group process index.
Make resharding generate an all-slice instead of inserting the slicing
logic directly.
2024-02-15 13:03:58 -08:00
Guillaume Chatelet
a1d4c69344
Revert "[reland][libc][NFC] Use user defined literals to build 128 and 256 bit constants" ( #81882 )
...
Reverts llvm/llvm-project#81835
This is breaking arm32 which does not support 64 bit types.
2024-02-15 18:31:46 +01:00
Guillaume Chatelet
513e4dc1af
[reland][libc][NFC] Use user defined literals to build 128 and 256 bit constants ( #81835 )
...
This is a reland of #81746
2024-02-15 14:36:58 +01:00
Christian Sigg
fcb5a98eb8
Revert "[bazel][mlir] Remove unused BUILD dependencies. ( #81836 )"
...
This reverts commit 32fcfcdc4cc1d68116438f761897953894d65fb1.
2024-02-15 14:14:07 +01:00
Christian Sigg
c448bd8b04
[bazel][mlir] Add missing dependencies to //mlir/unittests/... targets.
2024-02-15 13:56:16 +01:00
Christian Sigg
43b291cbec
[bazel][mlir] Add missing dependencies to toy BUILD targets.
2024-02-15 13:40:39 +01:00
Christian Sigg
32fcfcdc4c
[bazel][mlir] Remove unused BUILD dependencies. ( #81836 )
2024-02-15 13:18:38 +01:00
Christian Sigg
28d4385020
[bazel][libc] Fix BUILD after ff409d39ce4673c70f474c3fdb7120bab8f94eef.
2024-02-15 08:53:52 +01:00
Haojian Wu
f3b92fae13
[bazel] Port for 1301bc46aea14297478bd13bcacff429e2a18c04
2024-02-14 21:51:50 +01:00
lntue
1301bc46ae
[libc] Add is_fixed_point type trait. ( #81263 )
2024-02-14 14:44:09 -05:00
Guillaume Chatelet
78d401b02a
Revert "[libc][NFC] Use user defined literals to build 128 and 256 bit constants." ( #81771 )
...
Reverts llvm/llvm-project#81746
2024-02-14 18:52:56 +01:00
Guillaume Chatelet
411554a353
[libc][NFC] Use user defined literals to build 128 and 256 bit constants. ( #81746 )
2024-02-14 18:35:54 +01:00
Christian Sigg
995c9061ed
[bazel][mlir] Fix after 232cf9498f15626029bad1c2a7cdaebc4bb11d95
2024-02-14 16:35:26 +01:00
Alex Zinenko
232cf9498f
[mlir] update bazel for bd8fcf75df11406527de423daa63e21c3ec8609b
2024-02-14 15:06:46 +00:00
Guillaume Chatelet
0323235053
[libc] Add user defined literals to initialize BigInt
and __uint128_t
constants ( #81267 )
...
Adds user defined literal to construct unsigned integer constants. This
is useful when constructing constants for non native C++ types like
`__uint128_t` or our custom `BigInt` type.
2024-02-14 14:08:09 +01:00
Christian Sigg
8f0435febc
[bazel][mlir] Fix deps of //mlir:AMDGPUTransformOps
2024-02-14 10:46:52 +01:00
Haojian Wu
243f14d236
[bazel] Add missing dependencies for the newly-added install_api lib
2024-02-14 09:34:23 +01:00
Haojian Wu
bd2f7bbdb4
[bazel] Port for 09e98950bfcff7ad376922932efb2b56e4db9898
2024-02-14 09:19:35 +01:00
Adrian Kuegel
3537ccccfe
[mlir][Bazel] Add missing dependency after 29d1aca05caa06e30d7a76ee15fd166fa32e1043
2024-02-14 07:16:26 +00:00
erman-gurses
29d1aca05c
[AMDGPU][MLIR]Add shmem-optimization as an op using transform dialect ( #81550 )
...
This PR adds functionality to use shared memory optimization as an op
using transform dialect.
2024-02-13 17:42:04 -08:00
michaelrj-google
fac6d3d98b
[libc][bazel] mark epoll funcitons as weak ( #81327 )
...
Downstream there's a user that intercepts these functions and overlays
them. This causes symbol conflicts if neither function is marked weak.
In future the intent is to move to this to being a downstream
configuration
option.
2024-02-12 15:51:25 -08:00
michaelrj-google
11e5e22c41
[libc][bazel] mark read and write as weak ( #81330 )
...
Downstream there's a user that intercepts these functions and overlays
them. This causes symbol conflicts if neither function is marked weak.
In future the intent is to move to this to being a downstream
configuration
option.
2024-02-12 15:50:25 -08:00
Jordan Rupprecht
2fcfc9754a
[NFC] Reformat bzl files with buildifier
2024-02-12 11:35:18 -08:00
Haojian Wu
73ce0aed35
[bazel] Port for 9ecf4d20bbfabdcd11c9058363903f975a652e7b
2024-02-12 18:50:15 +01:00
Christian Sigg
356fdc31ed
[bazel][clang] Fix BUILD after a8d4a024e6bea3ae71d6187f0c040b2b25e4bf69.
2024-02-09 16:25:03 +01:00
NAKAMURA Takumi
a6f42adf9b
[Bazel] Update for SPIRV
2024-02-09 07:17:16 +09:00
quanwanandy
78b9dd6b20
Fix Bazel build ( #81064 )
2024-02-07 16:45:35 -08:00
Boian Petkantchin
adbf21f12b
[mlir][mesh] Add spmdization pass ( #80518 )
...
Add a pass that converts a function that has sharding annotations into
SPMD form.
2024-02-06 20:55:14 -08:00
Benjamin Kramer
cf94e0082e
[bazel] Add missing dependency for 0473e322f67228a9c2dbf462357e5b4a2b3799be
2024-02-06 12:38:58 +01:00
Adrian Kuegel
d53043fa8b
[mlir][Bazel] Adjust BUILD.bazel according to 0d091206dd656c2a9d31d6088a4aa6f9c2cc7156
2024-02-06 06:45:00 +00:00
Benjamin Kramer
8f4d894553
[bazel] Port d4ef4b818929732bcb68a536ef2c91891c0ad179
2024-02-05 18:27:11 +01:00