Jeremy Kun
ddad7e3097
[mlir][amdgpu] Fix bazel build ( #78820 )
...
Broken by
b7360fbe8c
2024-01-19 16:31:08 -08:00
Jeremy Kun
76ffa8f63a
[mlir][transform]: fix broken bazel build for TensorTransformOps ( #78766 )
2024-01-19 20:33:36 +01:00
Jeremy Kun
2521e9785d
[mlir][transform]: fix broken bazel build ( #78757 )
...
Broken by
42b160356f
2024-01-19 19:55:43 +01:00
Guillaume Chatelet
508c6aa8f3
[libc][NFC] Fix "type qualifiers ignored on cast result type" GCC warning ( #78509 )
...
GCC complains about "type qualifiers ignored on cast result type".
Upon investigation the correct fix was to remove all `volatile` and use the `-frounding-math` option.
2024-01-19 09:27:03 +01:00
denglesberg-splunk
3b54337be5
Replace exec_tools with tools in bazel genrule. ( #77510 )
...
As of the Bazel 6.x series, there is no difference between the
`exec_tools` and `tools`. Bazel 7 removes the `exec_tools` attribute
entirely. This commit updates to use the cannonical attribute name to
allow building `clang-tidy``with bazel 7.0.0, though it does not change
the default bazel version which remains at 6.1.2.
See also https://github.com/bazelbuild/bazel/issues/19132 for more
information.
2024-01-19 09:12:54 +01:00
Guillaume Chatelet
5ddd7bc38c
[reland][libc][NFC] Refactor FPBits and remove LongDoubleBits specialization ( #78465 )
...
- [reland] #78192
- [reland] #78447
- Turn `as` static function into a `to_storage_type` member function.
2024-01-17 17:38:48 +01:00
Dmitry Chernenkov
58564ddf5c
[bazel]Sort loads in llvm/BUILD.bazel
2024-01-17 16:04:40 +00:00
Guillaume Chatelet
d8627cb138
Revert "[reland][libc][NFC] Refactor FPBits and remove LongDoubleBits specialization" ( #78457 )
...
Reverts llvm/llvm-project#78447
This broke the gcc buildbot.
2024-01-17 16:50:52 +01:00
Guillaume Chatelet
cab041fe63
[reland][libc][NFC] Refactor FPBits and remove LongDoubleBits specialization ( #78447 )
...
- [reland] #78192
- Make the implementation work when `__uint128_t` is not available on
the plaftorm.
2024-01-17 16:15:09 +01:00
Pranav Kant
8371cdca12
Disable ConstraintSystemTest for now
...
as it started failing after 8e514c572e
Above commit enables llvm::DebugFlag which is a global variable.
2024-01-17 04:04:16 +00:00
Nick Desaulniers
337b771592
Revert "[libc][NFC] Refactor FPBits and remove LongDoubleBits specialization ( #78192 )" ( #78329 )
...
This reverts commit fdbf255c96cb18bc1fb08fa7264446bcbbd5fbd0.
Causes build breakage on 32b arm (see reports:
https://github.com/llvm/llvm-project/pull/78192 ).
These are reproducible for the 32b arm baremetal target on x86 hosts as
well.
2024-01-16 12:09:58 -08:00
Dmitry Chernenkov
a63d7872f0
Revert "[bazel][llvm] Sort load statements"
...
This reverts commit a9bfad2b9b04772836827c351a9365a7cbddcba0.
2024-01-16 15:03:24 +00:00
Guillaume Chatelet
fdbf255c96
[libc][NFC] Refactor FPBits and remove LongDoubleBits specialization ( #78192 )
...
This patch removes the `FPBits` specialization for x86 Extended Precision by moving it up to `FPRep`.
It also introduces enums (`Exponent`, `BiasedExponent` and `Significand`) to represent the exponent and significant parts of the floating point numbers. These enums are used to construct and observe floating point representations.
Additionally, we remove `LongDoubleBits.h` that is now unnecessary.
2024-01-16 15:41:40 +01:00
Dmitry Chernenkov
a9bfad2b9b
[bazel][llvm] Sort load statements
2024-01-16 14:15:52 +00:00
Dmitry Chernenkov
076eb4c79e
[bazel] Add dependencies for 8e514c572e44eda237417236b4c92176dfce9cd9
2024-01-16 11:19:25 +00:00
Christian Sigg
af9f2dc7fd
[bazel] Fix build after 9fa9d9a7e1cd0a7fd8c35bdfc642793447bf70aa
2024-01-16 08:22:50 +01:00
Christian Sigg
2c2b27c0ea
[bazel] Fix build after 9fa9d9a7e1cd0a7fd8c35bdfc642793447bf70aa
2024-01-16 08:20:38 +01:00
Christian Sigg
5f24e77942
[bazel] Fix build after 9fa9d9a7e1cd0a7fd8c35bdfc642793447bf70aa
2024-01-16 08:03:34 +01:00
Benjamin Kramer
baba0a4cb4
[bazel] Port 8e7f073eb42c92aa7a2b651ca314d7fcebf296e3
2024-01-15 13:11:51 +01:00
Adrian Kuegel
e040252b54
[mlir][Bazel] Add missing dependency needed after a1eaed7a21e1cc750e78420f298514edee1cb1ad
2024-01-15 06:52:15 +00:00
Emilio Cota
85b7d54385
[bazel] fix for 5417a5fed6e1e026
2024-01-12 14:06:32 -05:00
Alex Zinenko
108bedee44
[mlir] fix bazel
2024-01-12 16:59:33 +00:00
Alex Zinenko
b32001a232
[mlir] update bazel for transform debug extension
2024-01-12 13:53:14 +00:00
Adrian Kuegel
528cd28de8
[mlir][Bazel] Adjust BUILD file for aa2a96a24ae3a8cc04635ab6ede474c5f2665053
2024-01-12 07:17:42 +00:00
Guillaume Chatelet
1ee93ac099
[libc] Add memcmp / bcmp fuzzers ( #77741 )
2024-01-11 11:06:46 +01:00
Benjamin Kramer
fb1523e712
[bazel] Port 79aa77626770c91badd7c9ba9d26e55a28d34416
2024-01-10 17:41:22 +01:00
Benjamin Kramer
c19995e965
[bazel] Fix compiler-rt build after 07c9189fcc063bdf6219d2733843c89cde3991e1
2024-01-09 17:53:25 +01:00
Matthias Springer
124efcaa97
[mlir][bufferization][NFC] Clean up Bazel build files ( #77429 )
...
`*OpsIncGen` should depend only on the respective `*OpsTdFiles`.
2024-01-09 11:27:48 +01:00
Mikhail Goncharov
243a5822f6
[bazel] update build for 2357e899cb11e05312c54b689ebd0355487be6bc
2024-01-09 10:24:32 +01:00
Adrian Kuegel
3d688d4e3d
[mlir][Bazel] Adjust BUILD.bazel file for b43c50490c5964b3b1aa1b95a9025a5b5942a46e
2024-01-09 07:45:55 +00:00
Haojian Wu
b2246cf73e
Bazel port for a5902a4d2425ac083f1530719e35b5c562cb1e60
2024-01-06 10:20:06 +01:00
NAKAMURA Takumi
241e4c7466
[Bazel] Fixup for #77008 (orc::SymbolMap)
2024-01-06 13:43:02 +09:00
Jordan Rupprecht
8d6784db04
[bazel][libc][math] Add missing nan(f|l) deps
...
After 0504e932880e0c4c333baeba9b8d674c5b9ae316
2024-01-05 11:07:42 -08:00
Nishant Mittal
0504e93288
[libc][math] Implement nan(f|l) functions ( #76690 )
...
Specification: https://en.cppreference.com/w/c/numeric/math/nan
2024-01-05 08:23:23 -05:00
Christian Sigg
202a4c0dfb
[mlir][bazel] Fix BUILD after 6ae7f66ff5169ddc5a7b9ab545707042c77e036c
2024-01-04 13:17:20 +01:00
Jacques Pienaar
6ae7f66ff5
[mlir] Add config for PDL ( #69927 )
...
Make it so that PDL in pattern rewrites can be optionally disabled.
PDL is still enabled by default and not optional bazel. So this should
be a NOP for most folks, while enabling other to disable.
This only works with tests disabled. With tests enabled this still
compiles but tests fail as there is no lit config to disable tests that
depend on PDL rewrites yet.
2024-01-03 20:37:20 -08:00
max
b49e0ebedf
Revert "[mlir] Add config for PDL ( #69927 )"
...
This reverts commit 5930725c891b60f5fb94058c6c08a55a2e03d83e.
2024-01-03 12:16:19 -06:00
Jacques Pienaar
5930725c89
[mlir] Add config for PDL ( #69927 )
...
Make it so that PDL in pattern rewrites can be optionally disabled.
PDL is still enabled by default and not optional bazel. So this should
be a NOP for most folks, while enabling other to disable.
This is piped through mlir-tblgen invocation and that could be
changed/avoided by splitting up the passes file instead.
This only works with tests disabled. With tests enabled this still
compiles but tests fail as there is no lit config to disable tests that
depend on PDL rewrites yet.
2024-01-03 09:43:22 -08:00
Jordan Rupprecht
a258544754
[bazel][mesh] Add deps for 1D device mesh resharding spmdization
...
Added in 1a8fb887197caf709710bedf88ce95ffb0605c56
2024-01-02 17:57:22 -08:00
Jordan Rupprecht
71bcef0b0b
[bazel] Add VectorDialect build dep
...
Added in c0345b4648608b44071bbb6b012b24bd07c3d29e
2024-01-02 14:04:56 -08:00
Oleg Shyshkov
289eb99580
[mlir][bazel] Add SPIRV python binding
2024-01-02 18:28:50 +01:00
Jacques Pienaar
3c99d25d05
[bazel] Fix clang-format build
...
Post #76327 the build rule required the header in lib as source too.
Tried to just do minimal change specific to build.
2024-01-01 14:47:49 -08:00
Benjamin Kramer
9e439a3539
[bazel] Fix build after 2af186f9bd13e2c3772e6fbc55eacb5bfdd4b5a9
2023-12-28 21:19:04 +01:00
Guillaume Chatelet
c23991478a
[libc][NFC] Integrate FloatProperties into FPBits ( #76506 )
...
`FloatProperties` is always included when `FPBits` is. This will help
further refactoring.
2023-12-28 15:42:47 +01:00
Balaji V. Iyer
410066a0fa
[Bazel] Added SCFDialect to mlir-vulkan-runner ( #76454 )
...
Added SCFDialect to mlir-vulkan-runner cc_binary.
2023-12-27 11:17:48 -06:00
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