Commit Graph

2544 Commits

Author SHA1 Message Date
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 247430e9c4.

The breakage has been fixed by 343bbda140.
2025-02-12 19:31:12 +01:00
Mikhail Goncharov
2dd2608105 [bazel] port fc4d87100a 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 c03325cead 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 5a0075adbb 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 f497fe464b 2025-02-06 20:15:13 +01:00
Haojian Wu
17952b3d16 [bazel] Port for f7b3559ce0 2025-02-06 17:34:26 +01:00
Alexander Belyaev
7ebacf3a99 [mlir][tensor] Fix bazel build after 80fd902573. 2025-02-06 11:54:59 +01:00
Haojian Wu
ceaec56fbc [bazel] Port for eb8901bda1 2025-02-06 11:40:05 +01:00
Jordan Rupprecht
e51435c2eb [bazel][mlir][vector] Extra dep for 6e52a12811 (#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 6e52a12811 (#125936)
https://github.com/llvm/llvm-project/pull/121440
2025-02-05 15:33:07 -06:00
Haojian Wu
7945a33a10 [bazel] Port for baf27862dd 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 93fcef3048 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 5fbb8dd7da 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 cdc09a118a (#125030) 2025-01-29 23:43:42 -06:00
Jordan Rupprecht
f50ca2e8a6 [bazel] Remove more references to ARCMigrate (#125027)
c4a019747c 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 25ae1a266d 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 35df525fd0
I missed a couple spots in my previous attempt to fix the build
(4eb7c349a6).
2025-01-28 14:49:24 -08:00
Jorge Gorbe Moya
4eb7c349a6 [bazel] Fix build after 35df525fd0 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 e0c7f081f1 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 eb206e9ea8
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 631a6e0004 2025-01-24 10:40:48 +01:00
Benjamin Kramer
3ed28bbf19 [bazel] Generate CXX11AttributeInfo.inc for 4018317407 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 2e6cc79f81 (#124118)
Fix caused link errors downstream.
2025-01-23 15:21:33 +01:00
Danial Klimkin
0c66644270 [bazel]Fix bazel build past 2e6cc79f81 (#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
NAKAMURA Takumi
ec0958c0b7 [bazel] Reorder targets 2025-01-22 09:03:46 +09:00
NAKAMURA Takumi
68fdc09eb5 [bazel] Add SPIRV 2025-01-22 09:03:45 +09:00
Danial Klimkin
b7abc510c5 [bazel]Fix bazel build past e7e3c45bc7 (#123780) 2025-01-21 18:00:59 +01:00
Benjamin Kramer
0f8297ae0b [bazel] Fix dependencies for 69d3ba3db9 2025-01-20 11:46:44 +01:00