14999 Commits

Author SHA1 Message Date
LLVM GN Syncbot
a22a646eaa [gn build] Port a1b14dbc4740 2025-03-08 17:11:25 +00:00
LLVM GN Syncbot
e86c5a7b9d [gn build] Port 6d9dfd75e4df 2025-03-08 14:21:29 +00:00
Craig Topper
f2607df291 [TableGen] Use uint8_t for bit_value_t enum. NFC
This reduces the amount of space needed for vectors of bit_value_t
and allows the user of memset.

Also reorder the enum values so BIT_FALSE is 0 and BIT_TRUE is 1.
2025-03-07 23:22:45 -08:00
Craig Topper
d65719fab3 [TableGen] Use isUInt to simplify some asserts. NFC 2025-03-07 22:51:43 -08:00
Craig Topper
8370ac88af [TableGen] Remove push_back from loop. NFC
We can initialize the vector to the right size and then assign
over some entries in the loop.
2025-03-07 22:01:15 -08:00
Craig Topper
f578982490 [TableGen] Remove unnecessary const_cast. NFC 2025-03-07 21:52:29 -08:00
Craig Topper
ff033d1f28 [TableGen] Use reference instead of pointer for FilterChooser in Filter. NFC 2025-03-07 19:11:31 -08:00
Craig Topper
6a42dc694c
[TableGen] Simplify emitULEB128 in DecoderEmitter.cpp. NFC (#130214)
Instead of returning the number of bytes emitted, just take the iterator
by reference so the increments in emitULEB128 will update the copy in
the caller.

Also pass the iterator by reference to emitNumToSkip so we don't need a
separate I += 3 in the caller.
2025-03-07 11:09:34 -08:00
LLVM GN Syncbot
c59713c2d8 [gn build] Port ce9e1d3c15ed 2025-03-07 18:23:23 +00:00
LLVM GN Syncbot
951353de62 [gn build] Port 5048a0858beb 2025-03-07 08:22:01 +00:00
LLVM GN Syncbot
2e53856bda [gn build] Port 6c4febee2992 2025-03-07 02:09:56 +00:00
Nico Weber
e5c5e621e6 [gn] Make sync script sync .mm files too
Motivated by #129332, which added a new .mm file that didn't get
autosynced.
2025-03-06 21:09:10 -05:00
Evgenii Kudriashov
5b9e1a5758
[X86][AsmParser] Improve rel8 validation (#126073)
* Check the size of immediate operand of rel8
* Rename AbsMem16 related names to AbsMemMode16 to disambiguate mem size
and mode checks.
2025-03-06 21:45:16 +01:00
Daniel Paoliello
16e051f0b9
[win] NFC: Rename EHCatchret to EHCont to allow for EH Continuation targets that aren't catchret instructions (#129953)
This change splits out the renaming and comment updates from #129612 as a non-functional change.
2025-03-06 09:28:44 -08:00
Craig Topper
58670aa79a [FastISel] Use Register. NFC
This focuses on the common interfaces and tablegen. More changes
are needed to individual targets.
2025-03-05 09:13:02 -08:00
LLVM GN Syncbot
f39e81e4db [gn build] Port 6c4febee2992 2025-03-05 16:50:21 +00:00
LLVM GN Syncbot
736205d860 [gn build] Port 3f121558705a 2025-03-05 05:46:05 +00:00
LLVM GN Syncbot
1506f2e0ef [gn build] Port 9ee4883c61c7 2025-03-05 04:43:26 +00:00
Kazu Hirata
9372d1d72a
[TableGen] Avoid repeated hash lookups (NFC) (#129655) 2025-03-04 01:50:30 -08:00
Matt Arsenault
12b38c3e39 TableGen: Fix comment typo 2025-03-04 10:30:14 +07:00
JaydeepChauhan14
cf05b6e25a
[X86] Added support for 8 and 16bit LEA instructions (#122102) 2025-03-04 08:12:17 +08:00
Craig Topper
efb880de11 [TableGen] Fix incorrect comment. NFC 2025-03-03 14:37:37 -08:00
Craig Topper
3ce67a81fa [TableGen] Remove unnecessary use of utostr to print a byte. NFC
We can cast to unsigned instead.
2025-03-03 14:37:37 -08:00
LLVM GN Syncbot
9f879dea2e [gn build] Port b971d4d7c808 2025-03-03 20:44:45 +00:00
LLVM GN Syncbot
fc81e264f9 [gn build] Port 5d7d66ba0d1a 2025-03-03 17:31:14 +00:00
Nico Weber
86fc248ff6 [gn] port 50317ca13f6ad9 2025-03-03 12:02:55 -05:00
chrisPyr
71f4c7dabe
[NFC]Make file-local cl::opt global variables static (#126486)
#125983
2025-03-03 13:46:33 +07:00
Craig Topper
6d847b1aad [FastISel] Use Register. NFC 2025-03-02 10:24:53 -08:00
LLVM GN Syncbot
9421e1785b [gn build] Port 006534315972 2025-03-01 02:17:22 +00:00
Nico Weber
0a0775e795 [gn] port 32dffdce0511 (more RISCV depedency things)
Looks like RISCV is picking up AMDGPU's bad habits wrt generated files.
2025-02-28 21:16:40 -05:00
Nico Weber
4ab9c13ba2 [gn] port c253e5c9917b (RISCV llvm-exegesis)
See here for the additional tblgen deps:
https://github.com/llvm/llvm-project/pull/128767#issuecomment-2691834320
2025-02-28 21:01:22 -05:00
LLVM GN Syncbot
3f63e1c834 [gn build] Port 7e33bebe7c8c 2025-02-28 16:12:33 +00:00
Nico Weber
2639dea7d8 [gn build] Port 15c49b9db3f6 2025-02-28 10:30:43 -05:00
LLVM GN Syncbot
c630de934c [gn build] Port dc764f5c689f 2025-02-27 15:38:46 +00:00
LLVM GN Syncbot
9c26e34fce [gn build] Port 56762b7ace05 2025-02-27 12:31:22 +00:00
LLVM GN Syncbot
effd7f04b6 [gn build] Port 8fb88f568011 2025-02-26 22:51:08 +00:00
Nico Weber
cfdeca394e [gn build] Port 8dd8e5f7d692 (BuiltinTemplates.td) 2025-02-26 14:08:43 -05:00
Craig Topper
4059faf613 [TableGen] Update comment for size of NumToSkip field in DecoderEmitter. NFC
NumToSkip is 24 bits. It used to be 16 bits.
2025-02-26 10:12:38 -08:00
Vy Nguyen
159b872b37
[llvm][telemetry]Change Telemetry-disabling mechanism. (#128534)
Details:
- Previously, we used the LLVM_BUILD_TELEMETRY flag to control whether
any Telemetry code will be built. This has proven to cause more nuisance
to both users of the Telemetry and any further extension of it. (Eg., we
needed to put #ifdef around caller/user code)

- So the new approach is to:
+ Remove this flag and introduce LLVM_ENABLE_TELEMETRY which would be
true by default.
+ If LLVM_ENABLE_TELEMETRY is set to FALSE (at buildtime), the library
would still be built BUT Telemetry cannot be enabled. And no data can be
collected.

The benefit of this is that it simplifies user (and extension) code
since we just need to put the check on Config::EnableTelemetry. Besides,
the Telemetry library itself is very small, hence the additional code to
be built would not cause any difference in build performance.

---------

Co-authored-by: Pavel Labath <pavel@labath.sk>
2025-02-26 13:01:53 -05:00
Justin Bogner
870b376f00
[DirectX] Support the CBufferLoadLegacy operation (#128699)
Fixes #112992
2025-02-26 09:43:30 -08:00
LLVM GN Syncbot
7c266756ad [gn build] Port 66af4923ce24 2025-02-25 19:00:57 +00:00
LLVM GN Syncbot
275eeb56dd [gn build] Port 5114b9b386ca 2025-02-25 09:19:06 +00:00
LLVM GN Syncbot
2c7780a96d [gn build] Port 253e11695ba8 2025-02-25 03:21:21 +00:00
Ali Raeisdanaei
fc09550bf4
[MLGO] Refactored verbosity flag in mlgo-utils to common location (#128541)
add common lib file to setup arguments for parser #107898

This is my first pull request to LLVM, so I would appreciate your
feedback :)

Fixes #107898.

---------

Co-authored-by: Aiden Grossman <agrossman154@yahoo.com>
2025-02-24 15:39:13 -08:00
LLVM GN Syncbot
b248817ad6 [gn build] Port 38d7cf1a8143 2025-02-24 21:56:31 +00:00
LLVM GN Syncbot
a018788687 [gn build] Port d36231940444 2025-02-24 21:40:45 +00:00
LLVM GN Syncbot
b335d5a830 [gn build] Port 988480323d5e 2025-02-24 20:29:41 +00:00
LLVM GN Syncbot
0182b23fe1 [gn build] Port 82264d23a1cc 2025-02-24 19:50:47 +00:00
LLVM GN Syncbot
41cd6d2b1d [gn build] Port 850b49297615 2025-02-24 18:26:10 +00:00
LLVM GN Syncbot
d9b0571b5c [gn build] Port 363bfd6090b0 2025-02-24 18:26:09 +00:00