aboutsummaryrefslogtreecommitdiff
path: root/utils/bazel/llvm-project-overlay
AgeCommit message (Collapse)AuthorFilesLines
12 hours[bazel] Port 64972834c193632cbc47e54c0f0c721636b077e6Benjamin Kramer1-0/+1
21 hours[bazel] Split linux time targets to avoid dependency cyclesBenjamin Kramer1-17/+57
clock_gettime is much heavier than the others as it depends on vdso.
21 hours[libc][bazel] Enable software prefetching for memset (#108860)Guillaume Chatelet1-1/+1
This will affect only Bazel configuration for now.
44 hours[bazel] port 2ae968a0d9fb61606b020e898d884c82dd0ed8b5Mikhail Goncharov1-1/+1
2 days[bazel] Port f4763b3d24546808720ff457761159b4e1605876Benjamin Kramer1-0/+1
2 days[bazel] Port a205a854e06d36c1d0def3e3bc3743defdb6abc1Benjamin Kramer1-1/+6
4 days[bazel] Add missing dependency for ca4973972bf1306b49413a76f2d0c25c3df711aaBenjamin Kramer1-0/+1
4 days[bazel][NFC] Use globs to make `Vectorize` less brittle (#108644)Jordan Rupprecht1-7/+3
This avoids needing to update the rule every time there's a new directory, e.g. SandboxVectorizer packages.
4 days[bazel] Port a953982cb7dee0678bb5f7c2febe4c3b8b718c7a (#108651)Keith Smiley1-0/+1
4 days[bazel] add vdso dependency to time_linux lib (#108647)Pranav Kant1-0/+56
This is a quick fix to unbreak Bazel build. The right solution would probably add vdso.cpp in the support library which includes circular dependency and needs more restructuring.
4 days[Bazel] Fix build break for SandboxVectorizer (#108638)Pranav Kant1-1/+3
Fixes https://github.com/llvm/llvm-project/commit/39f2d2f156ba8af31a15f6df223d3cb57c7a4906
6 days[MLIR][ROCDL] Add dynamically legal ops to LowerGpuOpsToROCDLOpsPass (#108302)Nirvedh Meshram1-0/+1
Similar to https://github.com/llvm/llvm-project/pull/108266 After https://github.com/llvm/llvm-project/pull/102971 It is legal to generate `LLVM::ExpOp` and `LLVM::LogOp` if the type is is a float16 or float32
6 days[bazel] port ded080152acceca5d68014d63f5027a6d8266cbbMikhail Goncharov5-1/+6
6 days[libc][bazel] Enable epoll_pwait2 on bazel (#108254)Michael Jones2-40/+36
The wrapper for epoll_pwait2 has been difficult to enable since it requires a very new version of the linux kernel (5.11). On cmake we still need to create a mechanism to check if we can build it, but our current bazel users are all on a new enough kernel version we can just enable it.
6 days[libc] Fix undefined behavior for nan functions. (#106468)lntue1-0/+11
Currently the nan* functions use nullptr dereferencing to crash with SIGSEGV if the input is nullptr. Both `nan(nullptr)` and `nullptr` dereferencing are undefined behaviors according to the C standard. Employing `nullptr` dereference in the `nan` function implementation is ok if users only linked against the pre-built library, but it might be completely removed by the compilers' optimizations if it is built from source together with the users' code. See for instance: https://godbolt.org/z/fd8KcM9bx This PR uses volatile load to prevent the undefined behavior if libc is built without sanitizers, and leave the current undefined behavior if libc is built with sanitizers, so that the undefined behavior can be caught for users' codes.
7 days[bazel] port 2f3d061918ece414d6db544a34b2e44a9950bc23Mikhail Goncharov1-0/+4
7 days[bazel] Add missing dependency for a8f3d303122d049e65b699870615d464b77b489fBenjamin Kramer1-0/+1
7 days[bazel] Port bc152fbf43157659f8b6817e8510e1fbe6e175b5Benjamin Kramer2-3/+23
7 days[bazel] Add CGData targets/deps (#108070)Jordan Rupprecht3-0/+72
This is newly used as of 0f525452896771cc8c579eb362dc7645e38fd0b9. The bulk of the targets were added earlier in 9bb555688caf6ae4ba89fee5baa3dc29fec6a9b1.
8 days[libc][bazel] fix accidental renameMikhail Goncharov1-1/+1
for 277371943fa48f2550df02870951f5e5a77efef5
8 days[bazel] Port 69f8923efa61034b57805a8d6d859e9c1ca976ebBenjamin Kramer1-0/+1
8 days[bazel][libc][NFC] Add missing dep for standalone compile (#107957)Jordan Rupprecht1-2/+1
One more after 277371943fa48f2550df02870951f5e5a77efef5
8 days[bazel][libc][NFC] Add missing layering deps (#107947)Jordan Rupprecht3-13/+37
After 277371943fa48f2550df02870951f5e5a77efef5 e.g. ``` external/llvm-project/libc/test/src/math/smoke/NextTowardTest.h:12:10: error: module llvm-project//libc/test/src/math/smoke:nexttowardf_test does not depend on a module exporting 'src/__support/CPP/bit.h' ```
8 days[libc][bazel] Update bazel overlay for math functions and their tests. (#107862)lntue4-991/+2127
9 days[bazel] Add missing dependencies for 345cc47ba7a28811ae4ec7d113059ccb39c500a3Benjamin Kramer1-0/+3
10 days[bazel] Update deps (#107339) for AMDGPU/InstCombineTableGenNAKAMURA Takumi1-4/+2
FIXME: Move this to the relevant block.
11 days[bazel] add missing dependenciesJorge Gorbe Moya1-2/+4
12 days[bazel] Add missing dependencies for b8d6885ff67efbc3142a2b49506ed0cc2b95e054Benjamin Kramer2-0/+2
12 days[bazel] port 1f70fcefa981e6e2bBenjamin Kramer1-0/+36
12 days[SandboxIR] Add bazel support (#107486)Sterling-Augustine1-0/+17
2024-08-30Fix bazel build past 89e6a288674c (#106685)Danial Klimkin1-0/+2
2024-08-29Update BUILD.bazel after e37d6d2a74d7JoelWee1-0/+1
2024-08-28Revert "[mlir][spirv] Add an argmax integration test with ↵Jakub Kuderski1-1/+0
`mlir-vulkan-runner`" (#106457) Reverts llvm/llvm-project#106426. This caused failures on nvidia: https://lab.llvm.org/buildbot/#/builders/138/builds/2853
2024-08-28[mlir][spirv] Add an argmax integration test with `mlir-vulkan-runner` (#106426)Angel Zhang1-0/+1
This PR adds an integration test for an argmax kernel with `mlir-vulkan-runner`. This test exercises the `convert-to-spirv` pass (landed in #95942) and demonstrates that we can use SPIR-V ops as "intrinsics" among higher-level dialects. The support for `index` dialect in `mlir-vulkan-runner` is also added.
2024-08-28[mlir][amdgpu] Improve Chipset version utility (#106169)Jakub Kuderski1-0/+13
* Fix an OOB access * Add comparison operators * Add documentation * Add unit tests
2024-08-27[bazel][test] Add missing transforms test dep (#106323)Jordan Rupprecht1-0/+1
For 73c3b7337b0a3a8cb447f9801341d5648aebe9b2
2024-08-27[bazel][mlir] Add missing ROCDLTarget srcs/deps (#106322)Jordan Rupprecht1-1/+5
For 016e1eb9c86923bf6a9669697f6be8309d12b78c
2024-08-27[bazel][mlir] Add ConvertToSPIRV dep to mlir-vulkan-runner (#106285)Jordan Rupprecht1-5/+6
New dep needed for 2bf2468553f69c72680d138b91046d4c00d2c7a6
2024-08-27[mlir][spirv] Integrate `convert-to-spirv` into `mlir-vulkan-runner` (#106082)Angel Zhang1-0/+1
**Description** This PR adds a new option for `convert-to-spirv` pass to clone and convert only GPU kernel modules for integration testing. The reason for using pass options instead of two separate passes is that they both consist of `memref` types conversion and individual dialect patterns, except they run on different scopes. The PR also replaces the `gpu-to-spirv` pass with the `convert-to-spirv` pass (with the new option) in `mlir-vulkan-runner`. **Future Plan** Use nesting pass pipelines in `mlir-vulkan-runner` instead of adding this option. --------- Co-authored-by: Jakub Kuderski <kubakuderski@gmail.com>
2024-08-26[bazel] Port 1387ba48a312b6e9b174d850f8c9a1322f44c623Benjamin Kramer1-0/+4
2024-08-22[bazel] Move lldb-dap cc_binary to lldb/BUILD.bazel (#105733)Keith Smiley2-62/+48
On linux lldb-dap uses the location of the lldb-dap binary to search for lldb-server. Previously these were produced in different directories corresponding to the BUILD file paths. It's not ideal that the BUILD file location matters for the binary at runtime but it doesn't hurt to have this tool here too like the others.
2024-08-21[bazel] Fix mlir build broken by 681ae097. (#105552)Chenguang Wang1-20/+19
The cmake config creates two targets, `MLIRTensorMeshShardingExtensions` and `MLIRTensorAllExtensions`; but for bazel, with the `Func` dialect we only have a single `FuncExtensions`. Here I am following the `Func` dialect convension to only create a single `TensorExtensions`.
2024-08-21[bazel] Port a3d41879ecf5690a73f9226951d3856c7faa34a4Benjamin Kramer1-0/+8
2024-08-20[bazel] Add missing dependencies for c8a678b1e4863df2845b1305849534047f10caf1Benjamin Kramer1-0/+2
2024-08-20[mlir][spirv] Support `gpu` in `convert-to-spirv` pass (#105010)Angel Zhang1-0/+1
This PR adds conversion patterns for GPU to the `convert-to-spirv` pass, introduced in #95942. Now the pass is able to convert each `gpu.module` and its ops within a `builtin.module` into a `spirv.module`. **Future Plans** - Use `gpu.launch_func` to invoke kernel from host functions - Potentially integrate into the `mlir-vulkan-runner` for e2e testing
2024-08-20[bazel] Add missing deps in {Arith,DLTI}DialectTdFiles (#105091)Chenguang Wang1-1/+4
2024-08-20[bazel] Port bf68e9047f62c22ca87f9a4a7c59a46b3de06abb (#104907)Kunwar Grover1-0/+1
Add dep on ControlFlowInterfaces for arith td files
2024-08-20[CMake] Remove HAVE_LINK_HFangrui Song2-4/+0
We can remove the variable from https://reviews.llvm.org/D5610 since link.h is available on Linux (glibc/musl/Bionic), FreeBSD, and NetBSD. Use `__has_include(<link.h>)` before including it. Pull Request: https://github.com/llvm/llvm-project/pull/104893
2024-08-16[bazel] Fix cyclic dependencies for macos (#104528)Billy Zhu1-3/+3
Similar to https://github.com/llvm/llvm-project/pull/104481. Replace more "Utility" dependencies with "UtilityHeaders" to avoid cyclic dependency when building on macos.
2024-08-16[Bazel] Port AST/ByteCode #104552Fangrui Song1-9/+9