aboutsummaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2023-12-05[reland][libc][NFC] Remove __support/bit.h and use __support/CPP/bit.h ↵Guillaume Chatelet3-24/+2
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-05Revert "[libc][NFC] Remove __support/bit.h and use __support/CPP/bit.h ↵Guillaume Chatelet3-2/+24
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[libc][NFC] Remove __support/bit.h and use __support/CPP/bit.h instead (#73939)Guillaume Chatelet3-24/+2
2023-12-05[bazel] port c33e5d59e5dd4f54c3f4cc00d1bedaf644fdb694Mikhail Goncharov1-0/+1
2023-12-04[bazel] Add missing dependency for dff2f59be39765c8d6814c9a06155f76a5393673Benjamin Kramer1-0/+1
2023-12-04[bazel] Add missing dependency for 3a03da37a3c1e146ce7af1a1bbf8a2d3a0bf53dfBenjamin Kramer1-0/+1
2023-12-02[bazel] Remove :CAPIGPU as a dependency of :MLIRPythonBindingsCore. (#74133)Peter Hawkins1-3/+0
This dependency appears unused and it bloats the size of the Python bindings for non-GPU users.
2023-12-01[libc][NFC] Remove named_pair (#73952)Guillaume Chatelet1-7/+0
`named_pair` does not provide enough value to deserve its own header.
2023-12-01[libc] Fix _Float16 detection for x86 (#73947)Guillaume Chatelet1-0/+1
2023-12-01[libc] Fix lint message (#73956)Guillaume Chatelet1-2/+1
2023-11-30Fix bazel build (#73942)frgossen1-20/+41
2023-11-30[libc] Add more functions in CPP/bit.h (#73814)Guillaume Chatelet2-0/+10
Once this is submitted we can remove `include/__support/bit.h` that duplicates some of this functionality.
2023-11-30[libc] Add the digits property to numeric_limits (#73926)Guillaume Chatelet1-0/+1
2023-11-29[mlir] Add missing BUILD dependency for GPUToGPURuntimeTransformsLei Zhang1-0/+1
2023-11-29[mlir] Fix BUILD.bazel for CAPITargetLei Zhang1-2/+2
2023-11-29Fix bazel build (#73880)frgossen1-0/+18
2023-11-29[libc][NFC] Fix missing dep in bazel (#73854)michaelrj-google1-0/+1
Patch #73469 added a dependency from __support/bit.h to __support/CPP/type_traits.h, but didn't add a dependency in the bazel. This caused downstream build failures. This patch fixes the missing dependency.
2023-11-29[libc][NFC] Fix missing LIBC_INLINE + style (#73659)Guillaume Chatelet1-0/+6
2023-11-29Revert "Fix bazel build (#73741)"Adrian Kuegel1-18/+0
This reverts commit 4b8964dfd8b7ec989cd64a3606a364f2ddbbf285.
2023-11-28Fix bazel build (#73741)frgossen1-0/+18
2023-11-28Revert "[libc][bazel] Add copts to libc_support_library" (#73723)michaelrj-google1-4/+2
Reverts llvm/llvm-project#73591 Broke downstream builds. I will look into relanding tomorrow.
2023-11-28[mlir][Python] Add filegroup for files in mlir/extras.Adrian Kuegel1-14/+18
This is needed after 225648e91ccd951eab9a4ab3200248d5617df1cc
2023-11-28Revert "[Bazel] Fixes for c43c88501e3bc273a7c1074a19e86dc305ad7234"Adrian Kuegel1-18/+0
This reverts commit aaae104e282505add432ccc76a4adb674087190f.
2023-11-27Reland "[Bazel] Fix llvm-exegesis build post 12b0ab2"Aiden Grossman1-1/+1
This reverts commit 934efd2c9b9461bf79599cac3f57fc35cff978f7. This relands commit 1449b349ac4072adb1f593234c1d6f67986d3b6a. This build system fix was reverted as the underlying patch that required the fix got reverted due to test failures on Darwin. The test failures have since been fixed and the patch has relanded, so we need support in Bazel again.
2023-11-27[libc][bazel] Add copts to libc_support_library (#73591)michaelrj-google1-2/+4
Most libc_support_library calls are for header-only libraries, but there are a few that have .cpp files. This patch adds the same base copts to these that libc_function already has.
2023-11-27[Bazel] Fix for 7eccd5284290fea26df44fbc5a604b54e7b115a2Johannes Reifferscheid1-0/+1
2023-11-27Revert "[Bazel] Fix llvm-exegesis build post 12b0ab2"Dmitri Gribenko1-1/+1
This reverts commit 1449b349ac4072adb1f593234c1d6f67986d3b6a. The corresponding CMake commit (12b0ab2) was reverted.
2023-11-26[Bazel] Fix llvm-exegesis build post 12b0ab2Aiden Grossman1-1/+1
12b0ab2 switched llvm-exegesis from using MCJIT to OrcJIT, which is a different dep/library. This was ported over in the CMake build, but not in the bazel build. This patch adjusts the llvm-exegesis deps in the Bazel build to account for this change.
2023-11-24[libc][NFC] Move float macro into its own header / add target os detection ↵Guillaume Chatelet1-1/+17
(#73311) Floating point properties are a combination of target OS, target architecture and compiler support. - Adding target OS detection, - Moving floating point type detection to its own file. This is in preparation of adding support for `_Float16` which requires testing compiler **version** and target architecture.
2023-11-23[Bazel] Add Bazel build files for Python bindings of the GPU dialect (#73256)Adam Paszke1-0/+56
2023-11-23[Bazel] Fixes for c43c88501e3bc273a7c1074a19e86dc305ad7234Johannes Reifferscheid1-0/+18
2023-11-23[libc][NFC] Sink "PlatformDefs.h" into "FloatProperties.h" (#73226)Guillaume Chatelet4-16/+0
`PlatformDefs.h` does not bring a lot of value as a separate file. It is transitively included in `FloatProperties.h` and `FPBits.h`. This patch sinks it into `FloatProperties.h` and removes the associated build targets.
2023-11-23[libc][NFC] Split builtin_wrapper into bit and math_extras (#73113)Guillaume Chatelet4-12/+34
Split `builtin_wrapper.h` into `bit.h` and `math_extras.h` to mimic LLVM `llvm/ADT/Bit.h` and `llvm/Support/MathExtras.h`. Also added unittest place holders.
2023-11-22[libc][bazel] Enable __support tests (#73125)Guillaume Chatelet2-0/+115
2023-11-22[Bazel] Fixes for dff97c1e4c30183dbd056c6a648b17f2cc87c972Johannes Reifferscheid1-0/+21
2023-11-21[Bazel][clang] Fix build for e6ef315David Blaikie1-0/+1
2023-11-21[libc][math] Implement nexttoward functions (#72763)Nishant Mittal1-0/+6
Implements the `nexttoward`, `nexttowardf` and `nexttowardl` functions. Also, raise excepts required by the standard in `nextafter` functions. cc: @lntue
2023-11-18[bazel] Port dc4786b4877d67d73d3892c45baf6811af0e6f57Benjamin Kramer1-0/+1
2023-11-17[Bazel] fixes for 9c0e64999b23046d0b8987a48ddc41a4c6129f9dJorge Gorbe Moya1-0/+1
2023-11-15[bazel] Add @pybind11 deps (#72471)wenzhi-cui1-0/+2
Add @pybind11 deps to the _mlirDialectsSparseTensor.so target and to the _mlirDialectsQuant.so target
2023-11-16[bazel] Port ec64af5994213cf7933e961a2b7fe07193a77b61Benjamin Kramer1-0/+14
2023-11-15Fix Bazel build (#72419)quanwanandy1-1/+1
2023-11-14[bazel] Port 783ac3b6fb70ce88182a4dee1db0d3f5fb93953cBenjamin Kramer1-9/+22
2023-11-13[bazel] Add a dependency missing from 68ea8a674c76d25e5e52717aa8f78fb25679fdb0Benjamin Kramer1-0/+1
2023-11-13[bazel] Port a207e6307a589d482fd11c1aac17507c6eabc802Benjamin Kramer2-0/+16
2023-11-13Adds ":Support" to MLIRBindingsPythonCore deps (#72087)wenzhi-cui1-0/+1
Adds ":Support" to MLIRBindingsPythonCore deps
2023-11-11[mlir][bazel] Fix build for 00c3c731893ca88a3f8add63260751a9e36babb6Oleg Shyshkov1-0/+1
2023-11-10[libc][math] Add initial support for C23 float128 math functions, starting ↵lntue1-0/+3
with copysignf128. (#71731)
2023-11-10[TOSA] Add TosaToMLProgram conversion (#69787)Jerry-Ge1-0/+25
This patch adds a new pass to lower TOSA StatefulOps to corresponding ML Program ops (https://mlir.llvm.org/docs/Dialects/MLProgramOps/). Signed-off-by: Jerry Ge <jerry.ge@arm.com>
2023-11-10[libc] Adding a version of memset with software prefetching (#70857)doshimili1-0/+1
Software prefetching helps recover performance when hardware prefetching is disabled. The 'LIBC_COPT_MEMSET_X86_USE_SOFTWARE_PREFETCHING' compile time option allows users to use this patch.