NAKAMURA Takumi
5f254eb055
[Bazel] Fixup for #76163
...
This also reverts 7c9c807fa433 and 476812a74260.
2023-12-23 00:08:39 +09:00
Christian Sigg
7c8787511b
[mlir][bazel] Fix build after acaff70841f59a1aec2a3c417e9f3a0f14eb47ad
2023-12-21 13:24:11 +01:00
Christian Sigg
591fc4f524
[bazel] Fix build after b4e7ae883f8d75b7a464d030e14bfeca2b796d49f797bdd0674cbf13977d0b65
2023-12-21 08:20:10 +01:00
NAKAMURA Takumi
7c9c807fa4
[Bazel] Update llvm/Config, fixup for 476812a74260
2023-12-21 08:52:43 +09:00
Christian Sigg
476812a742
[bazel] Update config.h.cmake after e86a02ce89c33f3fa4061fb4c67c3b05c69a72ab.
2023-12-20 16:07:46 +01:00
Christian Sigg
7153fa3daa
[mlir][bazel] Fix build after d9803841f2d539f6a740c07ebd0f3cb176812dbf
2023-12-20 15:20:43 +01:00
James Y Knight
394274965a
[bazel] Port 35b366ace73d0ede3cdeeb4d09150a9945750b7f
2023-12-19 18:13:58 -05:00
Christian Sigg
99045b60b5
[mlir][bazel] Fix build after c0d2ea9d4202
2023-12-19 21:03:33 +01:00
Christian Sigg
4c887fed40
[mlir][bazel] Fix build after 5caae72d1a4f58c9525977a93d86c3c833da4b34
2023-12-19 12:29:53 +01:00
James Y Knight
cdda08bb9a
[bazel] Port e3627e2690aba0128c502b340b9a392cfae13651
2023-12-18 22:20:58 -05:00
James Y Knight
d23188d5c8
[bazel] Port a0a3c793d212ffc70fdba4c94b024114d11532af
2023-12-18 15:17:21 -05:00
Benjamin Kramer
8f5628eaef
Reapply "[bazel] Port 2e45326b088b3b2f5c8327f6d5e61bdd2845bbbe"
...
This reverts commit 0911f237737839dd90e77c93dd865756275aba69. The
corresponding Clang change re-landed in 945c645acb9670b7b866a4abd94bcc9b0ae5d87d
2023-12-18 13:26:38 +01:00
Benjamin Chetioui
810b5bc59f
[MLIR][bazel] Fix build files for 5e29112719df91b1c80916386e230252d56… ( #75617 )
...
…b052e.
2023-12-15 16:59:19 +01:00
Benjamin Chetioui
306bd23e50
[MLIR][bazel] Fix build files for 681eacc1b670fd7137d8677fef6fc76c6e3… ( #75615 )
...
…7dca9
2023-12-15 16:24:25 +01:00
Guillaume Chatelet
b4fa7f4c94
[libc][NFC] Split str_to_float tests and reduce type clutter ( #75471 )
...
This is a follow up on #75353 .
2023-12-15 09:44:10 +01:00
Yinying Li
7bc6c4abe8
[mlir][print]Add functions for printing memref f16/bf16/i16 ( #75094 )
...
1. Added functions for printMemrefI16/f16/bf16.
2. Added a new integration test for all the printMemref functions.
2023-12-14 13:06:25 -05:00
Adrian Kuegel
0911f23773
Revert "[bazel] Port 2e45326b088b3b2f5c8327f6d5e61bdd2845bbbe"
...
This reverts commit eb05d7a05a3648cb49ed24c31928de28d697ba1a.
2023-12-14 10:01:39 +00:00
Adrian Kuegel
d22dad9f76
[llvm][Bazel] Add missing library to linkopts on Windows.
2023-12-14 10:00:10 +00:00
NAKAMURA Takumi
e0ca12a145
[Bazel] Add arm_vector_types.h (fixup #73258 )
2023-12-14 10:51:51 +09:00
Aiden Grossman
67d7903262
[Bazel] Define BUILTIN_THREAD_POINTER where appropriate on x86-64 linux ( #74574 )
...
This patch defines BUILTIN_THREAD_POINTER in config.bzl when appropriate
on x86-64 linux only. This is needed to build exegesis properly as
certain functionality breaks if this is not enabled. This option is only
supported on relatively recent compiler versions, but given most people
using the bazel build are using very recent toolchains, this shouldn't
be an issue.
2023-12-13 16:53:38 -08:00
Fangrui Song
eb05d7a05a
[bazel] Port 2e45326b088b3b2f5c8327f6d5e61bdd2845bbbe
2023-12-13 16:47:44 -08:00
Nick Desaulniers
1f6427a2d5
[libc] add mempcpy to bazel overlay ( #75383 )
...
We'd like to begin overlaying mempcpy.
2023-12-13 13:23:42 -08:00
Benjamin Kramer
c2d3188d5d
[bazel] Port ab380c287a42c0701cd86ae2932c0cb125b9a294
2023-12-13 14:00:20 +01:00
Fangrui Song
aee93cfe7f
[bazel] Port 27259f17e9d273147c648331e92000a48677f489
2023-12-13 00:02:41 -08:00
Aart Bik
365777ecbe
[mlir][sparse] refactor utilities into transform/utils dir ( #75250 )
...
Separates actual transformation files from supporting utility files in
the transforms directory. Includes a bazel overlay fix for the build (as
well as a bit of cleanup of that file to be less verbose and more
flexible).
2023-12-12 15:34:31 -08:00
Fangrui Song
cd9a641613
[bazel] Port 4b3446771f745bb5169354ad9027c0a1c9fca394
2023-12-12 13:24:38 -08:00
Fangrui Song
fa131ae3bd
[bazel,unittest] Export llvm_orc_registerJITLoaderGDBWrapper
2023-12-12 10:27:38 -08:00
Guillaume Chatelet
dd85e67dc4
[libc] Add mask functions to math_extras ( #75169 )
2023-12-12 13:23:21 +01:00
Adrian Kuegel
4204b94264
[mlir][Bazel] Adjust for d5fb4c0f118b47db74233af2d99ae075e1dbe148
2023-12-12 08:56:04 +00:00
Fangrui Song
6e761f3a04
[bazel] Port #73257 54397f9ac128568838f2ac7bfc8e1f94b3eb264d
2023-12-11 13:45:57 -08:00
Fangrui Song
13ef4fec26
[bazel] Port #73257 54397f9ac128568838f2ac7bfc8e1f94b3eb264d
2023-12-11 13:26:25 -08:00
Benjamin Kramer
2a988a38a0
[bazel] Port 2460bf2facd1c0208ecda68c427a256710246dbb
2023-12-11 13:57:05 +01:00
Benjamin Kramer
fa981f57dd
[bazel] Port 46708a5bcba28955b2ddeddf5c0e64398223642b
2023-12-09 11:39:34 +01:00
Guillaume Chatelet
05420a1754
Revert "[libc] Make BigInt bit_cast-able to compatible types" ( #74887 )
...
This reverts the following commits:
- a539a090009378ecfcfbfaaa280eeac8f5b9d695
- 31316b3f8511d659cc14ebc72fb2b226f78478a9
Rationale for revert:
https://github.com/llvm/llvm-project/issues/74258#issuecomment-1847836861
2023-12-08 22:10:57 +01:00
Guillaume Chatelet
31316b3f85
[reland][libc] Make BigInt bit_cast-able to compatible types ( #74862 )
...
Fix #74258
This is a reland of #74837 , the error went unnoticed because it compiles
fine on
clang-16 but not on clang-12 which is the version used on the buildbots.
The fix was to explicitly initialize `BigInt` variables in `constexpr`
operations: `BigInt<Bits, Signed> result(0);` instead of `BigInt<Bits,
Signed> result;`
2023-12-08 18:03:24 +01:00
Guillaume Chatelet
d5199b43be
Revert "[libc] Make BigInt bit_cast-able to compatible types" ( #74856 )
...
Reverts llvm/llvm-project#74837
Some build bot are failing because of missing constexpr.
https://lab.llvm.org/buildbot/#/builders/138/builds/56468/steps/7/logs/stdio
2023-12-08 17:15:10 +01:00
Guillaume Chatelet
a2b7ded40c
[libc] Make BigInt bit_cast-able to compatible types ( #74837 )
...
Fix #74258
2023-12-08 17:11:05 +01:00
Matthias Springer
77f5b33c46
[mlir][SCF] Retire SCF-specific to_memref/to_tensor canonicalization patterns ( #74551 )
...
The partial bufferization framework has been replaced with One-Shot
Bufferize. SCF-specific canonicalization patterns for
`to_memref`/`to_tensor` are no longer needed.
2023-12-07 08:24:17 +09:00
Adrian Kuegel
b3f0fa8bb4
[mlir][Bazel] Add missing dependency after 641e05decc64c541aa5fd5ce253020178ffe094a
2023-12-06 10:06:08 +00:00
NAKAMURA Takumi
9fa34555af
[Bazel] Quick fix for #74469 CLANG_VERSION
2023-12-06 12:32:21 +09:00
Benjamin Kramer
16c61cad19
[bazel] Port 7fc792cba7663b2aa54f259515319d74a5625be0
2023-12-06 00:03:04 +01:00
Jordan Rupprecht
11ba327e69
[bazel][libc] Add missing UInt.h -> CPP/bit.h dep
2023-12-05 14:26:00 -08:00
Guillaume Chatelet
1d89478830
[reland][libc][NFC] Remove __support/bit.h and use __support/CPP/bit.h instead ( #73939 ) ( #74446 )
...
Same as #73939 but also fix `libc/src/string/memory_utils/op_aarch64.h`
that was still using `deferred_static_assert`.
2023-12-05 11:35:13 +01:00
Guillaume Chatelet
de7fdc5b54
Revert "[libc][NFC] Remove __support/bit.h and use __support/CPP/bit.h instead" ( #74444 )
...
Reverts llvm/llvm-project#73939
This broke libc-aarch64-ubuntu build bot
https://lab.llvm.org/buildbot/#/builders/138/builds/56186
2023-12-05 11:25:39 +01:00
Guillaume Chatelet
b140948850
[libc][NFC] Remove __support/bit.h and use __support/CPP/bit.h instead ( #73939 )
2023-12-05 11:21:07 +01:00
Mikhail Goncharov
43455a2f0d
[bazel] port c33e5d59e5dd4f54c3f4cc00d1bedaf644fdb694
2023-12-05 09:48:30 +01:00
Benjamin Kramer
c4cebe5b44
[bazel] Add missing dependency for dff2f59be39765c8d6814c9a06155f76a5393673
2023-12-04 20:16:47 +01:00
Benjamin Kramer
b935f1a7ed
[bazel] Add missing dependency for 3a03da37a3c1e146ce7af1a1bbf8a2d3a0bf53df
2023-12-04 17:40:35 +01:00
Peter Hawkins
1c6a6ba43b
[bazel] Remove :CAPIGPU as a dependency of :MLIRPythonBindingsCore. ( #74133 )
...
This dependency appears unused and it bloats the size of the Python
bindings for non-GPU users.
2023-12-02 07:41:52 -08:00
Guillaume Chatelet
bb98227db1
[libc][NFC] Remove named_pair ( #73952 )
...
`named_pair` does not provide enough value to deserve its own header.
2023-12-01 10:30:15 +01:00