Guillaume Chatelet
c65ed96465
Revert "[reland][libc][bazel] Enable software prefetching for memcpy" ( #127189 )
...
Reverts llvm/llvm-project#113886
We suspect this has caused internal performance regressions, reverting
while root causing it more thoroughly.
2025-02-14 11:19:26 +01:00
Mikhail Goncharov
21811818d6
[bazel] port aecb764cc2e026ecb5c418dd56f2722c6f263e8b
2025-02-13 17:05:33 +01:00
Oleg Shyshkov
95bb61bba9
[mlir][bazel] Port 1935f84856a9297e725770e6f4b9c50fbcec365c
2025-02-13 14:36:02 +00:00
Christian Sigg
cd21e0f08b
[mlir][bazel] Port a472147af4ad
2025-02-13 09:52:36 +01:00
Christian Sigg
ec056f5458
[llvm][bazel] Adjust to HAVE_SYS_AUXV_H > HAVE_GETAUXVAL in 89d636ba91
2025-02-13 08:08:52 +01:00
NAKAMURA Takumi
9bd836adbb
[bazel] Introduce HAVE_SYS_AUXV_H for #126863
2025-02-13 13:07:19 +09:00
Pavel Labath
d200caa521
Revert "[bazel] Temporarily disable a broken LookupAddressRangeWithSt… ( #126944 )
...
…mtSequenceOffset debug info test"
This reverts commit 247430e9c41c61b66e2ee95c29a05de3e24c19b9.
The breakage has been fixed by 343bbda140d5a15cd7d7fbfc6041a7506da5cdae.
2025-02-12 19:31:12 +01:00
Mikhail Goncharov
2dd2608105
[bazel] port fc4d87100a01f08dbdf78b68e1a6a5c2584d840d
2025-02-12 16:39:47 +01:00
Christian Sigg
f3a1d55811
[mlir][bazel] Fix after 0fd50ec9a3
...
Second attempt.
2025-02-12 14:28:37 +01:00
Christian Sigg
238563653f
[mlir][bazel] Fix after 0fd50ec9a3
2025-02-12 14:25:23 +01:00
Mikhail Goncharov
d51750dba1
[bazel] port c03325cead2244ef0a89bb1cf365bddf16021daf
2025-02-12 11:33:49 +01:00
Kevin Gleason
2cf6663d3c
[MLIR] Make generated markdown doc more consistent ( #119926 )
...
A few changes to doc generation:
- All summaries are in italics.
- In general each optional block starts and ends with a newline.
- All table elements are enclosed in `|`'s
- Overall reduce the number of >2newlines in a row
Rationale for this change is that our markdown to docs generator
requires a newline before all headers, otherwise it gets inlined into
the line before it, see `### sdy-op-priority-propagate` in the image
below.
<img width="883" alt="image"
src="https://github.com/user-attachments/assets/b795c424-cecb-48df-abbe-aee2030f4491 "
/>
That said overall I feel this formatting is more consistent now, here's
a before and after:
- Dialect documentation diff: https://www.diffchecker.com/OVMHoXeL/
- Pass documentation diff: https://www.diffchecker.com/XEJRmW3k/
2025-02-11 14:13:01 -06:00
David Blaikie
b969726901
Rough attempt to fix lldb bazel BUILD file
2025-02-10 21:56:20 +00:00
Benjamin Kramer
4df287a171
[bazel] Add missing dependency for 5a0075adbb623c8661862b9af1272b8f430d9e5c
2025-02-07 20:09:10 +01:00
Haojian Wu
247430e9c4
[bazel] Temporarily disable a broken LookupAddressRangeWithStmtSequenceOffset debug info test
2025-02-07 17:13:37 +01:00
Haojian Wu
e40610d762
[bazel] Port for f497fe464bad8743b8a87ba04a5c53579a03711a
2025-02-06 20:15:13 +01:00
Haojian Wu
17952b3d16
[bazel] Port for f7b3559ce07c83625bbe81a30a4da8ccef9ab53f
2025-02-06 17:34:26 +01:00
Alexander Belyaev
7ebacf3a99
[mlir][tensor] Fix bazel build after 80fd902573f860001af08d75f15d8f92005bae90.
2025-02-06 11:54:59 +01:00
Haojian Wu
ceaec56fbc
[bazel] Port for eb8901bda11fd55deeecd067fc4c9dcc0fb89984
2025-02-06 11:40:05 +01:00
Jordan Rupprecht
e51435c2eb
[bazel][mlir][vector] Extra dep for 6e52a12811a17e5871f403f04fd4082d43160bf3 ( #125945 )
...
Missed this one in https://github.com/llvm/llvm-project/pull/125936
2025-02-05 16:03:13 -06:00
Jordan Rupprecht
db9caf69ee
[bazel][mlir][vector] Port 6e52a12811a17e5871f403f04fd4082d43160bf3 ( #125936 )
...
https://github.com/llvm/llvm-project/pull/121440
2025-02-05 15:33:07 -06:00
Haojian Wu
7945a33a10
[bazel] Port for baf27862ddb23c3854cb6782a3f1675da4722a50
2025-02-05 13:14:11 +01:00
Haojian Wu
dcb7a69500
[bazel] Remove a duplicated dep
2025-02-04 09:42:57 +01:00
Alexander Belyaev
eaf34eed0b
Fix BAZEL build after 93fcef3048b453161d462ed7defd480fb448c228
2025-02-04 09:06:52 +01:00
Haojian Wu
5ed5ada398
[bazel] Port for 93fcef3, part 2
2025-02-04 08:57:01 +01:00
Haojian Wu
e78074ef52
[bazel] Port for 93fcef3
2025-02-04 08:34:02 +01:00
Keith Smiley
fa6b7ec894
[bazel] Replace strip_include_prefix in lldb with includes ( #125293 )
...
These both have the same result that the relevant include paths are
propagated to all dependents, but includes is dedup'd where
strip_include_prefix is not. So this reduces >100 include paths for all
transitive dependents.
2025-01-31 13:16:31 -08:00
Jorge Gorbe Moya
0ff49a745a
[bazel] add missing dep after 5fbb8dd7da5cd8b76127e780d418fe780d3337a4
2025-01-31 10:43:27 -08:00
Jordan Rupprecht
a643e44974
[bazel] Replace gentbl with gentbl_cc_library ( #124996 )
...
LLVM has two tablegen generators: one in llvm/tblgen.bzl (`gentbl`,
macro-based) and one in mlir/tblgen.bzl (`gentbl_cc_library`,
rule-based). The `gentbl_cc_library` generator in MLIR has some
advantages to being a rule, and at any rate, it seems better to just use
the same tablegen rule everywhere instead of competing implementations.
2025-01-30 11:00:19 -06:00
NAKAMURA Takumi
b8d4ba674b
[bazel] Disable CLANG_ENABLE_OBJC_REWRITER (for #119269 )
2025-01-30 17:11:37 +09:00
Jordan Rupprecht
31fa4e0b32
[bazel] Port cdc09a118a7107b8e13ba5a254d3d794f51f9818 ( #125030 )
2025-01-29 23:43:42 -06:00
Jordan Rupprecht
f50ca2e8a6
[bazel] Remove more references to ARCMigrate ( #125027 )
...
c4a019747c98ad9326a675d3cb5a70311ba170a2 removed arc_migrate targets but
accidentally left a few references to the now deleted target. Remove
those.
2025-01-29 23:25:48 -06:00
Sirraide
c4a019747c
[Clang] Remove ARCMigrate ( #119269 )
...
In the discussion around #116792 , @rjmccall mentioned that ARCMigrate
has been obsoleted and that we could go ahead and remove it from Clang,
so this patch does just that.
2025-01-30 05:32:25 +01:00
Benjamin Kramer
d444558f51
[bazel] Port 25ae1a266d50f24a8fffc57152d7f3c3fcb65517
2025-01-29 18:14:51 +01:00
NAKAMURA Takumi
267e293510
[bazel] Introduce MAX_CLANG_ABI_COMPAT_VERSION (for #123998 )
2025-01-29 16:46:33 +09:00
Jorge Gorbe Moya
3a1e157454
[bazel] More fixes for 35df525fd00c2037ef144189ee818b7d612241ff
...
I missed a couple spots in my previous attempt to fix the build
(4eb7c349a616827a3ec9bea57718516409103caa).
2025-01-28 14:49:24 -08:00
Jorge Gorbe Moya
4eb7c349a6
[bazel] Fix build after 35df525fd00c2037ef144189ee818b7d612241ff
2025-01-28 14:33:07 -08:00
Jorge Gorbe Moya
b108fbe6ea
[bazel] Fixes for 7f37b34, 0165e33 and 3c64f86
2025-01-28 10:42:46 -08:00
Jordan Rupprecht
431024506c
[bazel] Remove DebugInfo files covered by more specific targets ( #124138 )
...
For example, `include/llvm/DebugInfo/DWARF/DWARFContext.h` is included
as part of both the generic "DebugInfo" target as well as the specific
"DebugInfoDWARF" target. It should only be in one. Tooling that manages
build dependencies should be more accurate now.
2025-01-28 06:07:31 -06:00
NAKAMURA Takumi
d69b785733
[bazel] Add Builtins for #122873(NVPTX) and #123460(Hexagon)
2025-01-28 18:58:00 +09:00
Jorge Gorbe Moya
d606f68a2e
[bazel] Fix build after e0c7f081f1582d49f81ec4c6cdbf5d6ef13c58ba
2025-01-27 21:42:40 -08:00
Benjamin Kramer
658f8500c8
[bazel] Remove obsolete mlir-cpu-runner alias
2025-01-27 18:38:12 +01:00
Benjamin Kramer
77c780d64b
[bazel] Port eb206e9ea84eff0a0596fed2de8316d924f946d1
...
Leave around an alias so users can move at their own pace.
2025-01-24 15:11:54 +01:00
Karlo Basioli
0510d4ea59
[bazel]Fix bazel build after 631a6e0004e57ca85569b99ea411418627925697
2025-01-24 10:40:48 +01:00
Benjamin Kramer
3ed28bbf19
[bazel] Generate CXX11AttributeInfo.inc for 4018317407006b2c632fbb75729de624a2426439
2025-01-23 22:13:46 +01:00
Jordan Rupprecht
d17e4ca7e0
[bazel][NFC] Add td_library for downstream use ( #124156 )
...
This will allow td_library/gentbl_cc_library in other packages to use
these td files.
2025-01-23 13:23:51 -06:00
Oleksandr T.
4018317407
[Clang] restrict use of attribute names reserved by the C++ standard ( #106036 )
...
Fixes #92196
https://eel.is/c++draft/macro.names#2
> A translation unit shall not #define or #undef names lexically
identical to keywords, to the identifiers listed in Table
[4](https://eel.is/c++draft/lex.name#tab:lex.name.special ), or to the
[attribute-token](https://eel.is/c++draft/dcl.attr.grammar#nt:attribute-token )s
described in [[dcl.attr]](https://eel.is/c++draft/dcl.attr ), except that
the names likely and unlikely may be defined as function-like macros
([[cpp.replace]](https://eel.is/c++draft/cpp.replace ))[.](https://eel.is/c++draft/macro.names#2.sentence-1 )
2025-01-23 21:16:59 +02:00
Danial Klimkin
4d3a530924
[bazel]Fix(2) bazel build past 2e6cc79f816d942ab09d6a310cd925c1da148aa9 ( #124118 )
...
Fix caused link errors downstream.
2025-01-23 15:21:33 +01:00
Danial Klimkin
0c66644270
[bazel]Fix bazel build past 2e6cc79f816d942ab09d6a310cd925c1da148aa9 ( #124112 )
...
Split target under LLVMIR/Transforms to avoid deps loop.
2025-01-23 14:20:11 +01:00
Fangrui Song
58c6d440f8
[CMake] Remove HAVE_DLFCN_H and HAVE_DLADDR ( #123879 )
...
It is sufficient to just use `HAVE_DLOPEN`.
2025-01-22 08:15:10 -08:00