Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
807 commits
Select commit Hold shift + click to select a range
1597fad
[Clang] Rename elementwise builtins to `clzg` and `ctzg` (#157128)
jhuber6 Sep 19, 2025
13605ab
[LLVM] Specialize test suites for `TableGen` and `FileCheck` to use s…
jurahul Sep 19, 2025
eed99d5
[AMDGPU] Fix the magic number RegisterClass for SReg_32 in test (#159…
mariusz-sikora-at-amd Sep 19, 2025
b7e4edc
[LLVM][CodeGen] Update PPCFastISel::SelectRet for ConstantInt based v…
paulwalker-arm Sep 19, 2025
68c9ddb
[clang][bytecode] Typecheck called function pointers more thorougly (…
tbaederr Sep 19, 2025
9113592
SPARC: Use RegClassByHwMode instead of PointerLikeRegClass (#158271)
arsenm Sep 19, 2025
cc680fc
X86: Avoid using isArch64Bit for 64-bit checks (#157412)
arsenm Sep 19, 2025
188c7ed
[X86] Add test coverage for #159670 (#159767)
RKSimon Sep 19, 2025
ba49062
[Clang][AST] Fix printing for `atomic_test_and_set` and `atomic_clear…
devajithvs Sep 19, 2025
5621464
[CodeGen][NewPM] Port `ReachingDefAnalysis` to new pass manager. (#15…
mgudim Sep 19, 2025
2654b51
X86: Switch to RegClassByHwMode (#158274)
arsenm Sep 19, 2025
584af2f
reapply "[clang-tidy] support query based custom check" (#159547)
HerrCai0907 Sep 19, 2025
084872a
Mips: Switch to RegClassByHwMode (#158273)
arsenm Sep 19, 2025
be6c4d9
[PowerPC] using milicode call for strlen instead of lib call (#153600)
diggerlin Sep 19, 2025
e2467cb
[flang][OpenMP] Remove no longer used OmpLoopDirective, NFC (#159576)
kparzysz Sep 19, 2025
cd0f191
[mlir][rocdl] Add gfx1250+ cvt scale intrinsics (#159649)
amd-eochoalo Sep 19, 2025
c7054d9
[gn] port 584af2f89e95 (clang-tidy custom)
nico Sep 19, 2025
ac8f3cd
[AMDGPU] Precommit test for memory intrinics CGP handling
jrbyrnes Sep 18, 2025
1eb575d
[PowerPC] Fix vector extend result types in BUILD_VECTOR lowering (#1…
RolandF77 Sep 19, 2025
bce48c8
[lldb] Don't call FixDataAddress when reading fp in ReadGPRValue (#15…
felipepiovezan Sep 19, 2025
acc156d
PPC: Replace PointerLikeRegClass with RegClassByHwMode (#158777)
arsenm Sep 19, 2025
00333ed
[libc++] Add a utility to visualize historical benchmark data locally
ldionne Sep 19, 2025
815b164
[libc++] Disable atomic_wait benchmarks outside of dry-run mode (#158…
ldionne Sep 19, 2025
50ef746
Fix perf-helper.py (#159745)
kwk Sep 19, 2025
b21dd44
[lldb][test] Enable non-address bit WritePointerToMemory test on Linu…
DavidSpickett Sep 19, 2025
80fa3bd
[flang] Implement FNUM() (#159433)
klausler Sep 19, 2025
8109c3a
[LLVM] Exclude specialized lit test suites from check-all (#159781)
jurahul Sep 19, 2025
19bc0d6
Revert "RISCV unwinding enable" (#159790)
DavidSpickett Sep 19, 2025
75dba8e
[lit] Add readfile substitution
boomanaiden154 Sep 19, 2025
69465eb
[llvm-readobj][NFC] Format ElfMachineType array definition (#159793)
sarnex Sep 19, 2025
74bea4c
[IR] enable attaching metadata on ifuncs (#158732)
w2yehia Sep 19, 2025
74a0d91
[clang-tidy] Fix `bugprone-sizeof-expression` crash on arrays of depe…
localspook Sep 19, 2025
8c18932
[flang][OpenMP] Use OmpDirectiveSpecification in SECTIONS (#159580)
kparzysz Sep 19, 2025
7f2dcaa
[NFC][RISCV] Move Zvfbf* relative stuffs to RISCVInstrInfoZvfbf.td (#…
4vtomat Sep 19, 2025
1522354
[lldb] Add a static_assert that g_core_definitions matches the Core e…
JDevlieghere Sep 19, 2025
ffb70b0
[RISCV] Fix build after e747223c03e16d02cd0dc6f8eedb5c825a7366c1
darkbuck Sep 19, 2025
24b03d3
[flang][OpenMP] Move helper functions further up the file, NFC (#159803)
kparzysz Sep 19, 2025
6119d1f
[RISCV] Re-work how VWADD_W_VL and similar _W_VL nodes are handled in…
topperc Sep 19, 2025
cbb60a3
[ELF] Add --print-gc-sections=<file> (#159706)
MaskRay Sep 19, 2025
5f86d0b
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in TosaValidati…
joker-eph Aug 21, 2025
a513b70
[clang-tidy][custom-check][NFC] fix test when `CLANG_TIDY_ENABLE_QUER…
HerrCai0907 Sep 19, 2025
250a92f
[LifetimeSafety] Avoid adding already present items in sets/maps (#15…
usx95 Sep 19, 2025
c256966
[AMDGPU]: Unpack packed instructions overlapped by MFMAs post-RA sche…
akadutta Sep 19, 2025
8009a5b
[MC] Add support for -mcpu=native. (#159414)
mcinally Sep 19, 2025
e151e84
[MLIR] Apply clang-tidy fixes for bugprone-argument-comment in Linalg…
joker-eph Aug 21, 2025
cac54a8
[WebAssembly] Require tags for Wasm EH and Wasm SJLJ to be defined ex…
sbc100 Sep 19, 2025
bf83516
[AArch64] Remove post-decoding instruction mutations (#156364)
s-barannikov Sep 19, 2025
51e3c3d
[Offload] Implement 'olIsValidBinary' in offload and clean up (#159658)
jhuber6 Sep 19, 2025
90d03a0
[RISCV] Use MutableArrayRef instead of SmallVectorImpl&. NFC (#159651)
topperc Sep 19, 2025
21f5f32
[PassBuilder] Add callback invoking to PassBuilder string API (#157153)
gbaraldi Sep 19, 2025
bedfee0
[CIR] Upstream TypeInfo attribute (#159426)
AmrDeveloper Sep 19, 2025
2998c74
[mlir][xegpu] Add SIMT distribution support for GEMM transpose B case…
charithaintc Sep 19, 2025
4c7ebf8
[HLSL] Add deprecation warnings to compatability overloads (#159208)
spall Sep 19, 2025
4cace1f
[ARM] Verify that disassembled instruction is correct (#157360)
s-barannikov Sep 19, 2025
2e34188
[PowerPC] clean unused PPC target feature FeatureBPERMD (#159782)
diggerlin Sep 19, 2025
21821f5
[libc] Update floating testing infra for MSVC compatibility. (#159810)
lntue Sep 19, 2025
0ce6052
[lldb] install lldb-tblgen by default to ease cross-compilation (one-…
jthackray Sep 19, 2025
8fcb712
[AMDGPU] gfx1250 runlines for global-atomicrmw-fadd.ll. NFC (#159817)
rampitec Sep 19, 2025
2d503b9
[LLVM] Simplify GPU runtimes flag handling (#159802)
jhuber6 Sep 19, 2025
bbf657d
[clang] fix expression classification for dependent binary operators …
mizvekov Sep 19, 2025
1688011
[lldb] Fix Linux build when LLDB_ENABLE_PYTHON is OFF (#159825)
AnthonyLatsis Sep 19, 2025
fc73ef4
[clang][Driver] Clean up UEFI linker argument handling (#159639)
frobtech Sep 19, 2025
9ba844e
[ELF][LLDB] Add an nvsass triple (#159459)
walter-erquinigo Sep 19, 2025
fcf2c46
[QualGroup] Update Slides Section, Add AI Transcription Policy, Clean…
uwendi Sep 19, 2025
6e977aa
[gn] port a513b701752b1
nico Sep 19, 2025
8afea0d
[OpenMP][MLIR] Preserve to/from flags in mapper base entry for mapper…
TIFitis Sep 19, 2025
733c1ad
[ARM] Replace ABS and tABS machine nodes with custom lowering (#156717)
AZero13 Sep 19, 2025
e229857
[AArch64] Clean up the formatting of some bitconvert patterns. NFC
davemgreen Sep 19, 2025
b28d2ea
[CIR] Implement Logical AND for VectorType (#158696)
AmrDeveloper Sep 19, 2025
580860e
[OpenMP][NFC] Clean up a bunch of warnings and clang-tidy messages (#…
jhuber6 Sep 19, 2025
dcce216
[bazel][AArch64] Port #156364: fix tablegen args (#159835)
rupprecht Sep 19, 2025
46ce6a0
[clang] diagnose invalid std::tuple_size sizes (#159677)
mizvekov Sep 19, 2025
57a593f
[libc++] Remove obsolete locale-specific regex tests (#159590)
ldionne Sep 19, 2025
19659ee
[LV] Add additional test for replicating store costs.
fhahn Sep 19, 2025
93f9ca2
[clang][analyzer] Load config through the proper VFS (#159164)
jansvoboda11 Sep 19, 2025
81c0c73
[LV] Pass operand info to getMemoryOpCost in getMemInstScalarizationC…
fhahn Sep 19, 2025
ef1372a
[KnownBits] Add setAllConflict to set all bits in Zero and One. NFC (…
topperc Sep 19, 2025
d38979d
Revert "[PowerPC] clean unused PPC target feature FeatureBPERMD" (#15…
s-barannikov Sep 19, 2025
d8a4c61
[CodeGenPrepare] Consider target memory intrinics as memory use (#159…
jrbyrnes Sep 19, 2025
67244da
[LLD][COFF] Add /nodbgdirmerge to control debug directory section (#1…
kkent030315 Sep 19, 2025
fadea8c
[AMDGPU] ds_read2/ds_write2 gfx1250 tests. NFC (#159824)
rampitec Sep 19, 2025
1250095
[vscode-lldb] Improve logging in Server Mode (#159672)
royitaqi Sep 19, 2025
7165cf3
[CIR] Fix structors for multidimensional arrrays (#159820)
mmha Sep 19, 2025
cfabbf0
[lit] Add support for readfile to external shell
boomanaiden154 Sep 19, 2025
b4a17b1
[DependenceAnalysis] Extending SIV to handle fusable loops (#128782)
1997alireza Sep 19, 2025
4bc9d29
[SROA] Use tree-structure merge to remove alloca (#152793)
Chengjunp Sep 19, 2025
f437309
[RISCV] Update comments in RISCVMatInt to reflect we don't always use…
topperc Sep 19, 2025
c91fa95
[SampleProfile] Always use FAM to get ORE
boomanaiden154 Sep 19, 2025
4a9fdda
[MCA] Enable customization of individual instructions (#155420)
r-belenov Sep 19, 2025
9542d0a
[libc] Fix libc build on NVPTX using wrong linker flag
jhuber6 Sep 19, 2025
a38794f
[Clang] Rewrite tests using subshells to set env variables
boomanaiden154 Sep 19, 2025
0a47e8c
Reland [BasicBlockUtils] Handle funclets when detaching EH pad blocks…
spaits Sep 20, 2025
386301c
[TableGen] Remove unused Target from InstructionEncoding methods (NFC…
s-barannikov Sep 20, 2025
07def27
[M68k] Remove STI from M68kAsmParser (#159827)
s-barannikov Sep 20, 2025
9b3e2f5
X86: Elide use of RegClassByHwMode in some ptr_rc_tailcall uses (#159…
arsenm Sep 20, 2025
4554cdf
[modules] Fix assert on Clang module import from the global module fr…
naveen-seth Sep 20, 2025
5d39b87
[flang][acc] Fix the indexing of the reduction initializer for multid…
khaki3 Sep 20, 2025
5b017e3
[MC] Make `-mcpu=native` test target specific (#159868)
mcinally Sep 20, 2025
0fa3061
Revert "[ELF][LLDB] Add an nvsass triple (#159459)" (#159879)
jhuber6 Sep 20, 2025
57b673b
[CodeGen] Untangle RegisterCoalescer from LRE's ScannedRemattable fla…
preames Sep 20, 2025
f6c711b
[clang][PAC] Don't try to diagnose use of pointer auth on dependent t…
ojhunt Sep 20, 2025
60bdf09
[TableGen][DecoderEmitter] Rework table construction/emission (#155889)
s-barannikov Sep 20, 2025
3baddef
[mlir][arith] Simplify inheriting constructors declarations. NFC. (#1…
kuhar Sep 20, 2025
5eebb58
PPC: Fix regression for 32-bit ppc with 64-bit support (#159893)
arsenm Sep 20, 2025
43e4757
[flang][semantic] update semantic checks for ansychronous and volatil…
akuhlens Sep 20, 2025
3e57a0d
[lldb][MachO] Local structs for larger VA offsets (#159849)
jasonmolenda Sep 20, 2025
2b937da
[libc][math] Refactor dsqrtl implementation to header-only in src/__s…
bassiounix Sep 20, 2025
7a3fa06
[lit] Make builtin cat work with stdin
boomanaiden154 Sep 20, 2025
8d6470f
[Clang] Make rewrite-includes-bom.c work with internal shell
boomanaiden154 Sep 20, 2025
8326823
[lit] Add support for deleting symlinks to directories without -r
boomanaiden154 Sep 20, 2025
25e218d
[Clang] Enable lit internal shell by default
boomanaiden154 Sep 20, 2025
43cfad6
[clang-format][NFC] Add is_sorted() assertion for binary_search()
owenca Sep 20, 2025
a4f89a7
[RISCV] Fix typo in comment. NFC
topperc Sep 20, 2025
354ad55
Revert "[Clang] Make rewrite-includes-bom.c work with internal shell"
boomanaiden154 Sep 20, 2025
5b13d99
Revert "[Clang] Enable lit internal shell by default"
boomanaiden154 Sep 20, 2025
4d7694a
[ValueTracking] a - b == NonZero -> a != b (#159792)
dtcxzyw Sep 20, 2025
a728f21
[Driver] [C++20] [Modules] Fix --precompile with -fmodule-output
ChuanqiXu9 Sep 20, 2025
d510a69
[CIR][NFC] Fix Missing Decl::OMPGroupPrivate warning (#159631)
AmrDeveloper Sep 20, 2025
6744919
[CIR] Add atomic exchange operation (#158089)
Lancern Sep 20, 2025
56a5619
[CIR] Implement Type promotion for VectorType (#158715)
AmrDeveloper Sep 20, 2025
47c1b65
[llvm][test][CGPluginTest] Fix plugin path (#159914)
tambry Sep 20, 2025
f205a2c
[OpenMP] Allow Fortran tests (#150722)
Meinersbur Sep 20, 2025
22a6417
[openmp][test] Don't use random Flang by default
Meinersbur Sep 20, 2025
5d39cae
[InstCombine] Generalise optimisation of redundant floating point com…
Rajveer100 Sep 20, 2025
18fa33f
[gn] port 60bdf0965441
nico Sep 20, 2025
576ac09
[gn] port bf835169a52b7
nico Sep 20, 2025
eff6b77
[clang-tidy][NFC] fix cmake issue (#159919)
HerrCai0907 Sep 20, 2025
db2a5a9
[llvm][test][CGPluginTest] Fix plugin path again (#159923)
tambry Sep 20, 2025
e4d7b89
[MemProf] Propagate function call assignments to newly cloned nodes (…
teresajohnson Sep 20, 2025
2dd0edf
[LLVM] Remove leftover unnecessary CMake for GPU runtimes
jhuber6 Sep 20, 2025
23efc67
[Offload] Remove non-blocking allocation type (#159851)
jhuber6 Sep 20, 2025
941ea28
[NFC][clang] Refactor no-stable-modtime.m test use split-file (#159924)
yicuixi Sep 20, 2025
cb78bf6
[ADT] Move IsSizeLessThanThresholdT into AdjustedParamTBase (NFC) (#1…
kazutakahirata Sep 20, 2025
a04c0f5
[IR] Modernize HasCachedHash (NFC) (#159902)
kazutakahirata Sep 20, 2025
b91de4c
[IR] Simplify dispatchRecalculateHash and dispatchResetHash (NFC) (#1…
kazutakahirata Sep 20, 2025
ef840d8
[llvm] Proofread GettingStarted.rst (#159904)
kazutakahirata Sep 20, 2025
507f394
[ELF] -r/--emit-relocs: Fix crash when processing .rela.text before .…
mykouHW Sep 20, 2025
b3c7d25
[ADT] Use a C++17 fold expression in hash_combine (NFC) (#159901)
kazutakahirata Sep 20, 2025
c1d838e
[libc] fix error: implicit conversion loses floating-point precision:…
makslevental Sep 20, 2025
012680f
[clang][Expr] Teach IgnoreUnlessSpelledInSource about implicit calls …
Michael137 Sep 20, 2025
f847c2a
[Object] Add a missing space to a diagnostic (#159826)
nico Sep 20, 2025
b529921
[lld-link] Do not assert when reporting error about non-thin archive …
nico Sep 20, 2025
8693ef1
[SCEV] Add tests that benefit from rewriting SCEVAddExpr with guards.
fhahn Sep 20, 2025
efd96af
[MLIR][Python] reland (narrower) type stub generation (#157930)
makslevental Sep 20, 2025
5c21b1b
[clang-tidy] Support find for string-like classes in readability-cont…
nicovank Sep 20, 2025
70529df
[LV] Regenerate check lines without dce/instcombine.
fhahn Sep 20, 2025
c506c28
[LV] Add additional tests for scalar load costs of addresses.
fhahn Sep 20, 2025
2ed7b9f
[GitHub][CI] Add clang-tidy premerge workflow (#154829)
vbvictor Sep 20, 2025
678dcf1
[IR] Fix a few implicit conversions from TypeSize to uint64_t. NFC (#…
topperc Sep 20, 2025
d263150
[clang-tidy][NFC] add comment in llvm-use-ranges for add_new_check.py…
HerrCai0907 Sep 21, 2025
a36a1ec
[ADT] Simplify hash_combine (NFC) (#159938)
kazutakahirata Sep 21, 2025
b5c6588
[ADT] Simplify enable_if_struct_deref_supported (NFC) (#159939)
kazutakahirata Sep 21, 2025
1cb8afb
[Testing] Use is_detected for StringMapEntry ostream check (NFC) (#15…
kazutakahirata Sep 21, 2025
a997e91
[llvm] Proofread DeveloperPolicy.rst (#159955)
kazutakahirata Sep 21, 2025
e8e0108
[BPF] Avoid generating .comment section (#159958)
yonghong-song Sep 21, 2025
7d748a9
[InstCombine][nfc] Fix assert failure with function entry count equal…
alanzhao1 Sep 21, 2025
22e17a6
[Github] Test pr-code-lint workflow on changes to workflow (#159968)
boomanaiden154 Sep 21, 2025
906f934
[ProfCheck] Add three new tests to XFail List (#159969)
boomanaiden154 Sep 21, 2025
5466211
Revert "[ADT] Use a C++17 fold expression in hash_combine (NFC) (#159…
nikic Sep 21, 2025
7dd9b3d
[LV] Also handle non-uniform scalarized loads when processing AddrDefs.
fhahn Sep 21, 2025
4cabd1e
Reland "[clangd] Add feature modules registry" (#154836)
ArcsinX Sep 21, 2025
26192f0
[gn build] Port 4cabd1efb9cb
llvmgnsyncbot Sep 21, 2025
a46edff
[GlobalISel] Add G_ABS computeKnownBits (#154413)
r41k0u Sep 21, 2025
b716d35
[VPlanPatternMatch] Introduce m_ConstantInt (#159558)
artagnon Sep 21, 2025
90a6b00
[Clang] Fix an error-recovery crash after d1a80dea (#159976)
zyn0217 Sep 21, 2025
addfdb5
[LV] Skip select cost for invariant divisors in legacy cost model.
fhahn Sep 21, 2025
69affe7
[llvm][Analysis] Silence warning when building with MSVC
aganea Sep 21, 2025
105fc90
[LLD][MachO] Silence warning when building with MSVC
aganea Sep 21, 2025
6f18805
[ARM] ha-alignstack-call.ll - regenerate test checks (#159988)
RKSimon Sep 21, 2025
398f6c2
[clang] ast-dump: use template pattern for `instantiated_from` (#159952)
mizvekov Sep 21, 2025
49605a4
[LV] Set correct costs for interleave group members.
fhahn Sep 21, 2025
8b52d62
[mlir] Expose optional `PatternBenefit` to `func` populate functions …
matthias-springer Sep 21, 2025
f65d5a7
[DAG] Skip `mstore` combine for `<1 x ty>` vectors (#159915)
abhishek-kaushik22 Sep 21, 2025
290f5b5
[clang] fix using enum redecl in template regression (#159996)
mizvekov Sep 21, 2025
e764e19
[Github] Remove separate tools checkout from pr-code workflows (#159967)
boomanaiden154 Sep 21, 2025
370e007
[NFC] [IndVarSimplify] Add non-overflowing usub test (#159683)
fmayer Sep 21, 2025
c12f08f
Reapply "[compiler-rt] Remove %T from shared object substitutions (#1…
boomanaiden154 Sep 21, 2025
d8b84be
[MLIR][Transform][SMT] Introduce transform.smt.constrain_params (#159…
rolfmorel Sep 21, 2025
87a4e1c
Document Policy on supporting newer C++ standard in LLVM codebase (#1…
joker-eph Sep 21, 2025
81f83a8
[RISCV][NFC] Parsed Immediates are Expressions (#159888)
lenary Sep 21, 2025
096c62c
[clang-tidy] Rename 'cert-err58-cpp' to 'bugprone-throwing-static-ini…
vbvictor Sep 21, 2025
2bcccdd
[clang-tidy] Rename 'cert-dcl50-cpp' to 'modernize-avoid-variadic-fun…
vbvictor Sep 21, 2025
4916bd7
[gn build] Port 096c62cf21ad
llvmgnsyncbot Sep 21, 2025
6ac2db2
[gn build] Port 2bcccdddc8cb
llvmgnsyncbot Sep 21, 2025
722b251
[Github][CI] fix invalid path in clang-tidy helper (#160014)
vbvictor Sep 21, 2025
cafc064
[clang] NFC: small formatting and stray whitespace cleanup
mizvekov Sep 21, 2025
591e60b
[ADT] Use "inline static" to initialize CallbacksHolder (NFC) (#160003)
kazutakahirata Sep 22, 2025
7bf39a5
[ADT] Refactor SmallVector::assertSafeToAddRange with "constexpr if" …
kazutakahirata Sep 22, 2025
3e6ee89
[AMDGPU] Simplify template metaprogramming in IsMCExpr##member (NFC) …
kazutakahirata Sep 22, 2025
c25d7a8
[llvm] Proofread FAQ.rst (#160006)
kazutakahirata Sep 22, 2025
84a796d
[ExecutionEngine] Use std::tie for a lexicographical comparison (NFC)…
kazutakahirata Sep 22, 2025
4efbbe1
[Clang] Make env.c test use proper file substitutions
boomanaiden154 Sep 22, 2025
092bc04
[Driver][Hurd] Add AArch64 and RISCV64 support (#157212)
brad0 Sep 22, 2025
03cf9ba
[CodeGen] Use MCRegister::id() to avoid implicit conversions to unsig…
topperc Sep 22, 2025
e396dab
[RISCV] Use SignExtend64<32> instead of ORing in 32 1s into upper bit…
topperc Sep 22, 2025
383bd69
[clang][bytecode][test] Enable a few tests in const-eval.c (#160034)
tbaederr Sep 22, 2025
cc6b81c
[Coroutines] Take byval param alignment into account when spilling to…
zmodem Sep 22, 2025
1d3bd57
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in VectorLegali…
joker-eph Aug 21, 2025
8245fb6
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in GreedyPatter…
joker-eph Aug 21, 2025
322b990
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in CompositePas…
joker-eph Aug 21, 2025
583256d
[clang-format] Add AllowBreakBeforeQtProperty option (#159909)
owenca Sep 22, 2025
8323ff0
Default stack alignment of X86 Hurd to 16 bytes (#158454)
brad0 Sep 22, 2025
7d1952a
[LoongArch] Fix assertion failure when vec-args are not fully passed …
heiher Sep 22, 2025
7d1adab
[libclc] Fix ctest failures after 7f3661128b1e: adjust external check…
wenju-he Sep 22, 2025
add9079
[LoongArch] Broadcast repeated subsequence in build_vector instead of…
zhaoqi5 Sep 22, 2025
370ea51
[mlir][tosa] Robustify Tosa_IfOp against null dereference and wrong a…
badumbatish Sep 22, 2025
4839cc1
[AArch64] Remove unnecessary extloadi32 -> i32 pattern. NFCI (#159527)
davemgreen Sep 22, 2025
44e71c9
[Headers][X86] Allow SSE2/AVX2/AVX512F/AVX512BW/AVX512DQ integer arit…
donneypr Sep 22, 2025
b280cf5
[LoongArch] Split 256-bit build_vector to avoid using LASX element in…
zhaoqi5 Sep 22, 2025
019913e
[VPlan] Add WidenGEP::getSourceElementType (NFC) (#159029)
artagnon Sep 22, 2025
cca769a
[mlir][test] Add e2e test for linalg.mmt4d + SVE (#157815)
banach-space Sep 22, 2025
0b1318f
[DAG] Fold rem(rem(A, BCst), Op1Cst) -> rem(A, Op1Cst) (#159517)
kper Sep 22, 2025
66c35eb
[VPlan] Avoid branching around State.get (NFC) (#159042)
artagnon Sep 22, 2025
953013a
[AArch64][GlobalISel] Prevented llvm.aarch64.sisd.fcvtxn fallback (#1…
JoshdRod Sep 22, 2025
47d5f9d
[MLIR][Transform] Add rolfmorel as codeowner for Transform dialect (#…
rolfmorel Sep 22, 2025
13228b2
[MLIR][DLTI] Update codeowners for DLTI dialect (#159461)
rolfmorel Sep 22, 2025
dc6a915
[X86] X86TargetLowering::computeKnownBitsForTargetNode - add X86ISD::…
houngkoungting Sep 22, 2025
34dfbb0
[Clang]: prevent assertion on empty filename arg in __has_embed (#159…
a-tarasyuk Sep 22, 2025
d46998b
[DAG] Add ISD::VECTOR_COMPRESS handling in computeKnownBits/ComputeNu…
KavinTheG Sep 22, 2025
f9b080c
[LoongArch] Custom legalizing ConstantFP to avoid float loads (#158050)
zhaoqi5 Sep 22, 2025
1ed1537
[NVPTX] Disable relative lookup tables (#159748)
nikic Sep 22, 2025
e8e678c
[SCEV] Add additional test with guards for 3-op AddRec.
fhahn Sep 22, 2025
6884cc7
[clang-tidy][NFC] let multi-line string first line does not wrap (#16…
HerrCai0907 Sep 22, 2025
ab76686
[X86] Baseline test for "invalid operand order for fp16 vector compar…
azwolski Sep 22, 2025
cecdff9
Greedy: Simplify collectHintInfo using MachineOperands. NFCI. (#159724)
jayfoad Sep 22, 2025
c077822
Regalloc: Add operator >= to EvictionCost (#160070)
arsenm Sep 22, 2025
2ab5186
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in NormalizeQua…
joker-eph Aug 21, 2025
7c8b3f3
[mlir] Fix bazel after d8b84be. (#160078)
bartchr808 Sep 22, 2025
ec5460b
[docs][OpenMP] Claim compound directive handling (#160077)
kparzysz Sep 22, 2025
96a3a58
[mlir][Transforms] Simplify `ConversionPatternRewriter::replaceOp` im…
matthias-springer Sep 22, 2025
47211c4
[Driver] Enable __float128 support on X86 on Hurd (#160045)
brad0 Sep 22, 2025
e9db38c
[mlir] Fix bazel after `2bcccdd`. (#160081)
bartchr808 Sep 22, 2025
da55134
[Support] Fix some warnings in LSP Transport (#160010)
aganea Sep 22, 2025
e52792e
[Support] Fix memory leak in `Timer.cpp` on shutdown (#159983)
aganea Sep 22, 2025
ac69f9d
[clang-tidy] Rename 'cert-err52-cpp' to 'modernize-avoid-setjmp-longj…
zeyi2 Sep 22, 2025
f91e0bf
[SPIRV] Add support for the SPIR-V extension SPV_KHR_bfloat16 (#155645)
YixingZhang007 Sep 22, 2025
bb79448
Add missing #include <cstdlib> (#157840)
georgthegreat Sep 22, 2025
0dc2148
[NVPTX] Add 3-operand fmin/fmax DAGCombines (#159729)
LewisCrawford Sep 22, 2025
00ad9ec
[SPIRV][HLSL] Implement CBuffer access lowering pass (#159136)
s-perron Sep 22, 2025
dfd50f9
[mlir][nvgpu] Delete nvgpu dialect unused variable kMaxTMALastdimByt…
linuxlonelyeagle Sep 22, 2025
32b1f16
[mlir][spirv] Rework type extension queries (#160020)
kuhar Sep 22, 2025
f8a7f36
[IndVars,LV] Add tests with pointer-based loop guards.
fhahn Sep 22, 2025
45a0843
[gn build] Port ac69f9d9bba4
llvmgnsyncbot Sep 22, 2025
2c6adc9
[Clang] Add vector gather / scatter builtins to clang (#157895)
jhuber6 Sep 22, 2025
e40bbba
[libc++][NFC] Reformat some deduction guides (#160085)
philnik777 Sep 22, 2025
87129cf
[PowerPC] Exploit xxeval instruction for operations of the form terna…
tonykuttai Sep 22, 2025
3cb2174
[AMDGPU] Skip debug uses in SIPeepholeSDWA (#160092)
jayfoad Sep 22, 2025
b7a848e
[AMDGPU] Skip debug uses in SIInstrInfo::foldImmediate (#160102)
jayfoad Sep 22, 2025
4d78801
[InferAlignment] Fix updating alignment when larger than i32 (#160109)
jhuber6 Sep 22, 2025
218898e
Use CreateProcessW explicitly to improve compatibility (#160096)
georgthegreat Sep 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 7 additions & 3 deletions .ci/all_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ ml-dtypes==0.5.1 ; python_version < "3.13" \
--hash=sha256:d13755f8e8445b3870114e5b6240facaa7cb0c3361e54beba3e07fa912a6e12b \
--hash=sha256:fd918d4e6a4e0c110e2e05be7a7814d10dc1b95872accbf6512b80a109b71ae1
# via -r mlir/python/requirements.txt
nanobind==2.7.0 \
--hash=sha256:73b12d0e751d140d6c1bf4b215e18818a8debfdb374f08dc3776ad208d808e74 \
--hash=sha256:f9f1b160580c50dcf37b6495a0fd5ec61dc0d95dae5f8004f87dd9ad7eb46b34
nanobind==2.9.2 \
--hash=sha256:c37957ffd5eac7eda349cff3622ecd32e5ee1244ecc912c99b5bc8188bafd16e \
--hash=sha256:e7608472de99d375759814cab3e2c94aba3f9ec80e62cfef8ced495ca5c27d6e
# via -r mlir/python/requirements.txt
numpy==2.0.2 \
--hash=sha256:0123ffdaa88fa4ab64835dcbde75dcdf89c453c922f18dced6e27c90d1d0ec5a \
Expand Down Expand Up @@ -383,6 +383,10 @@ swig==4.3.1 \
--hash=sha256:efec16327029f682f649a26da726bb0305be8800bd0f1fa3e81bf0769cf5b476 \
--hash=sha256:fc496c0d600cf1bb2d91e28d3d6eae9c4301e5ea7a0dec5a4281b5efed4245a8
# via -r lldb/test/requirements.txt
typing-extensions==4.15.0 \
--hash=sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466 \
--hash=sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548
# via -r mlir/python/requirements.txt
urllib3==2.5.0 \
--hash=sha256:3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760 \
--hash=sha256:e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc
Expand Down
9 changes: 8 additions & 1 deletion .ci/compute_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"mlir": "check-mlir",
"openmp": "check-openmp",
"polly": "check-polly",
"lit": "check-lit",
}

RUNTIMES = {"libcxx", "libcxxabi", "libunwind", "compiler-rt", "libc", "flang-rt"}
Expand All @@ -166,8 +167,12 @@
("llvm", "utils", "gn"): "gn",
(".github", "workflows", "premerge.yaml"): ".ci",
("third-party",): ".ci",
("llvm", "utils", "lit"): "lit",
}

# Projects that should run tests but cannot be explicitly built.
SKIP_BUILD_PROJECTS = ["CIR", "lit"]

# Projects that should not run any tests. These need to be metaprojects.
SKIP_PROJECTS = ["docs", "gn"]

Expand Down Expand Up @@ -315,7 +320,9 @@ def get_env_variables(modified_files: list[str], platform: str) -> Set[str]:
# clang build, but it requires an explicit option to enable. We set that
# option here, and remove it from the projects_to_build list.
enable_cir = "ON" if "CIR" in projects_to_build else "OFF"
projects_to_build.discard("CIR")
# Remove any metaprojects from the list of projects to build.
for project in SKIP_BUILD_PROJECTS:
projects_to_build.discard(project)

# We use a semicolon to separate the projects/runtimes as they get passed
# to the CMake invocation and thus we need to use the CMake list separator
Expand Down
24 changes: 24 additions & 0 deletions .ci/compute_projects_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,30 @@ def test_third_party_benchmark(self):
"check-cxx check-cxxabi check-unwind",
)

def test_lit(self):
env_variables = compute_projects.get_env_variables(
["llvm/utils/lit/CMakeLists.txt"], "Linux"
)
self.assertEqual(
env_variables["projects_to_build"],
"bolt;clang;clang-tools-extra;flang;lld;lldb;llvm;mlir;polly",
)
self.assertEqual(
env_variables["project_check_targets"],
"check-bolt check-clang check-clang-tools check-flang check-lit check-lld check-lldb check-llvm check-mlir check-polly",
)
self.assertEqual(
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
)


if __name__ == "__main__":
unittest.main()
13 changes: 10 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
/mlir/**/BufferizableOpInterfaceImpl.* @matthias-springer
/mlir/Dialect/*/Transforms/Bufferize.cpp @matthias-springer

# DLTI Dialect in MLIR
/mlir/**/Dialect/DLTI @rolfmorel
/mlir/**/DataLayoutInterfaces.* @rolfmorel

# Linalg Dialect in MLIR.
/mlir/include/mlir/Dialect/Linalg @dcaballe @nicolasvasilache @rengolin
/mlir/lib/Dialect/Linalg @dcaballe @nicolasvasilache @rengolin
Expand Down Expand Up @@ -96,9 +100,9 @@
/mlir/lib/Dialect/Tensor/Transforms/* @hanhanW @nicolasvasilache

# Transform Dialect in MLIR.
/mlir/include/mlir/Dialect/Transform/* @ftynse @nicolasvasilache
/mlir/lib/Dialect/Transform/* @ftynse @nicolasvasilache
/mlir/**/*TransformOps* @ftynse @nicolasvasilache
/mlir/include/mlir/Dialect/Transform/* @ftynse @nicolasvasilache @rolfmorel
/mlir/lib/Dialect/Transform/* @ftynse @nicolasvasilache @rolfmorel
/mlir/**/*TransformOps* @ftynse @nicolasvasilache @rolfmorel

# SPIR-V Dialect in MLIR.
/mlir/**/SPIRV/ @antiagainst @kuhar
Expand Down Expand Up @@ -132,6 +136,9 @@
/mlir/**/Transforms/Mem2Reg.* @moxinilian
/mlir/**/Transforms/SROA.* @moxinilian

# MLIR IRDL-related
/mlir/**/*IRDL* @moxinilian

# BOLT
/bolt/ @aaupov @maksfb @rafaelauler @ayermolo @yota9 @paschalis-mpeis @yozhu

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/issue-write.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- "Check code formatting"
- "Check for private emails used in PRs"
- "PR Request Release Note"
- "Code lint"
types:
- completed

Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/pr-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,6 @@ jobs:
base_sha: 'HEAD~1'
sha: 'HEAD'

# We need to pull the script from the main branch, so that we ensure
# we get the latest version of this script.
- name: Fetch code formatting utils
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
repository: ${{ github.repository }}
ref: ${{ github.base_ref }}
sparse-checkout: |
llvm/utils/git/requirements_formatting.txt
llvm/utils/git/code-format-helper.py
sparse-checkout-cone-mode: false
path: code-format-tools

- name: "Listed files"
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
Expand All @@ -65,10 +52,10 @@ jobs:
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: 'code-format-tools/llvm/utils/git/requirements_formatting.txt'
cache-dependency-path: 'llvm/utils/git/requirements_formatting.txt'

- name: Install python dependencies
run: pip install -r code-format-tools/llvm/utils/git/requirements_formatting.txt
run: pip install -r llvm/utils/git/requirements_formatting.txt

- name: Run code formatter
env:
Expand All @@ -77,7 +64,7 @@ jobs:
# Create an empty comments file so the pr-write job doesn't fail.
run: |
echo "[]" > comments &&
python ./code-format-tools/llvm/utils/git/code-format-helper.py \
python ./llvm/utils/git/code-format-helper.py \
--write-comment-to-file \
--token ${{ secrets.GITHUB_TOKEN }} \
--issue-number $GITHUB_PR_NUMBER \
Expand Down
112 changes: 112 additions & 0 deletions .github/workflows/pr-code-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: "Code lint"

permissions:
contents: read

on:
pull_request:
branches:
- main
- 'users/**'
paths:
- 'clang-tools-extra/clang-tidy/**'
- '.github/workflows/pr-code-lint.yml'

jobs:
code_linter:
if: github.repository_owner == 'llvm'
runs-on: ubuntu-24.04
defaults:
run:
shell: bash
container:
image: 'ghcr.io/llvm/ci-ubuntu-24.04:latest'
timeout-minutes: 60
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Fetch LLVM sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 2

- name: Get changed files
id: changed-files
uses: step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1 # v45.0.1
with:
separator: ","
skip_initial_fetch: true
base_sha: 'HEAD~1'
sha: 'HEAD'

- name: Listed files
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
echo "Changed files:"
echo "$CHANGED_FILES"

- name: Install clang-tidy
uses: aminya/setup-cpp@17c11551771948abc5752bbf3183482567c7caf0 # v1.1.1
with:
clang-tidy: 20.1.8

- name: Setup Python env
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.12'

- name: Install Python dependencies
run: python3 -m pip install -r llvm/utils/git/requirements_linting.txt

# TODO: create special mapping for 'codegen' targets, for now build predefined set
# TODO: add entrypoint in 'compute_projects.py' that only adds a project and its direct dependencies
- name: Configure and CodeGen
run: |
git config --global --add safe.directory '*'

. <(git diff --name-only HEAD~1...HEAD | python3 .ci/compute_projects.py)

if [[ "${projects_to_build}" == "" ]]; then
echo "No projects to analyze"
exit 0
fi

cmake -G Ninja \
-B build \
-S llvm \
-DLLVM_ENABLE_ASSERTIONS=OFF \
-DLLVM_ENABLE_PROJECTS="${projects_to_build}" \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DLLVM_INCLUDE_TESTS=OFF \
-DCLANG_INCLUDE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release

ninja -C build \
clang-tablegen-targets \
genconfusable # for "ConfusableIdentifierCheck.h"

- name: Run code linter
env:
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
echo "[]" > comments &&
python3 llvm/utils/git/code-lint-helper.py \
--token ${{ secrets.GITHUB_TOKEN }} \
--issue-number $GITHUB_PR_NUMBER \
--start-rev HEAD~1 \
--end-rev HEAD \
--verbose \
--changed-files "$CHANGED_FILES"

- name: Upload results
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0
if: always()
with:
name: workflow-args
path: |
comments
2 changes: 2 additions & 0 deletions clang-tools-extra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ include(GNUInstallDirs)

option(CLANG_TIDY_ENABLE_STATIC_ANALYZER
"Include static analyzer checks in clang-tidy" ON)
option(CLANG_TIDY_ENABLE_QUERY_BASED_CUSTOM_CHECKS
"Enable query-based custom checks in clang-tidy" ON)

if(CLANG_INCLUDE_TESTS)
umbrella_lit_testsuite_begin(check-clang-tools)
Expand Down
3 changes: 1 addition & 2 deletions clang-tools-extra/clang-include-fixer/IncludeFixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ bool IncludeFixerActionFactory::runInvocation(

// Create the compiler's actual diagnostics engine. We want to drop all
// diagnostics here.
Compiler.createDiagnostics(Files->getVirtualFileSystem(),
new clang::IgnoringDiagConsumer,
Compiler.createDiagnostics(new clang::IgnoringDiagConsumer,
/*ShouldOwnClient=*/true);
Compiler.createSourceManager(*Files);

Expand Down
1 change: 0 additions & 1 deletion clang-tools-extra/clang-tidy/.clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Checks: >
-bugprone-branch-clone,
-bugprone-easily-swappable-parameters,
-bugprone-narrowing-conversions,
-bugprone-suspicious-stringview-data-usage,
-bugprone-unchecked-optional-access,
-bugprone-unused-return-value,
modernize-*,
Expand Down
5 changes: 5 additions & 0 deletions clang-tools-extra/clang-tidy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ add_subdirectory(bugprone)
add_subdirectory(cert)
add_subdirectory(concurrency)
add_subdirectory(cppcoreguidelines)
add_subdirectory(custom)
add_subdirectory(darwin)
add_subdirectory(fuchsia)
add_subdirectory(google)
Expand Down Expand Up @@ -101,6 +102,10 @@ set(ALL_CLANG_TIDY_CHECKS
clangTidyReadabilityModule
clangTidyZirconModule
)

if(CLANG_TIDY_ENABLE_QUERY_BASED_CUSTOM_CHECKS)
list(APPEND ALL_CLANG_TIDY_CHECKS clangTidyCustomModule)
endif()
if(CLANG_TIDY_ENABLE_STATIC_ANALYZER)
list(APPEND ALL_CLANG_TIDY_CHECKS clangTidyMPIModule)
endif()
Expand Down
Loading
Loading