Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2264 commits
Select commit Hold shift + click to select a range
3e3e362
Reapply "[compiler-rt]: fix CodeQL format-string warnings via explici…
ampandey-1995 Aug 22, 2025
d807beb
[MLIR] Apply clang-tidy fixes for readability-identifier-naming in Ma…
joker-eph Aug 21, 2025
2a83cf5
[libc++] Add tests for the ABI break introduced by switching to _LIBC…
philnik777 Aug 22, 2025
3768ec3
[flang][OpenMP] Semantic checks for GROUPPRIVATE (#154779)
kparzysz Aug 22, 2025
0b18d2d
[Offload] Implement olMemFill (#154102)
callumfare Aug 22, 2025
77c5a65
[Offload] Fix definition of olMemFill (#154947)
callumfare Aug 22, 2025
37664cd
[Clang] Implement diagnostics for why is_final is false (#154863)
snarang181 Aug 22, 2025
7dfd5ba
[AMDGPU] Update codegen tests for PR #154069 (#154862)
gandhi56 Aug 22, 2025
6372651
[NFC][MC][Sparc] Minor code cleanup in Sparc disassembler (#154823)
jurahul Aug 22, 2025
ee7826b
[NVPTX] Add sparse MMA intrinsics (#150950)
kvederni Aug 22, 2025
b31ee8e
[mlir] Use default RemarkOpts constructor for c++20 compat (#154887)
rupprecht Aug 22, 2025
4a7fdb0
[flang][OpenMP] Fix typos in diagnostic messages, NFC (#154953)
kparzysz Aug 22, 2025
db63c57
[flang][NFC] Fix copy-and-paste error in atand testcase. (#154956)
c8ef Aug 22, 2025
a23f737
[clang][bytecode][NFC] Move local into closest scope (#154969)
tbaederr Aug 22, 2025
f9bd187
[clang][DebugInfo] Disable objective-C tests on AIX and z/OS (#154951)
daltenty Aug 22, 2025
c984132
[Driver][HIP][HIPSTDPAR][Windows] Link the HIP RT even when `-nostdli…
AlexVlx Aug 22, 2025
538e9e8
[clang][Modules] Reporting Errors for Duplicating Link Declarations i…
qiongsiwu Aug 22, 2025
533ddcd
[mlir][gpu] Warp execute terminator getter (#154729)
adam-smnk Aug 22, 2025
ecd8754
[mlir] Fix a warning
kazutakahirata Aug 22, 2025
eac19d4
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions…
krishna2803 Aug 22, 2025
729701b
[NVPTX] Constant fold NVVM add/mul/div/fma (#152544)
LewisCrawford Aug 22, 2025
63f1008
[lldb-dap] Migrating 'completions' to structured types. (#153317)
ashgti Aug 22, 2025
e12689e
MCSymbol: Move isExported/setExported to MCSymbol{COFF,MachO,Wasm}
MaskRay Aug 22, 2025
7fcee5f
[WebAssembly] Add support for avgr_u in loops (#153252)
badumbatish Aug 22, 2025
6f9bce9
[docs] Fix debug and strict aliasing typo (#140071) (#154861)
Arghnews Aug 22, 2025
c11f91a
[clang] Fix ignoring converted first arg of elementwise_fma (#154941)
tbaederr Aug 22, 2025
3158aef
[Sema] Remove an unnecessary cast (NFC) (#154889)
kazutakahirata Aug 22, 2025
3248fba
[ExecutionEngine] Remove an unnecessary cast (NFC) (#154890)
kazutakahirata Aug 22, 2025
4b9c828
[llvm] Proofread CodingStandards.rst (#154892)
kazutakahirata Aug 22, 2025
11b4f11
[llvm] Remove unused includes of SmallSet.h (NFC) (#154893)
kazutakahirata Aug 22, 2025
9dbc133
[MLIR] Improve debug output by avoiding pointer values (NFC)
joker-eph Aug 22, 2025
d747f70
[OpenACC] Add reduction recipe helper to ACC Dialect (#154566)
erichkeane Aug 22, 2025
6896725
Support nice logging for `ProgramPoint*` in dataflow log (#154839)
pchen7e2 Aug 22, 2025
1c7f140
[libc++] Optimize multi{map,set}::insert(InputIterator, InputIterator…
philnik777 Aug 22, 2025
839d0aa
[Sanitizers][Test] XFAIL fuzzer-ubsan on darwin arm (#154860)
wrotki Aug 22, 2025
efa99ec
[LoopDist] Add metadata for checking post process state of distribute…
mcberg2021 Aug 22, 2025
3888595
[SFrames] Add FDEs for functions with .cfi_startproc (#154213)
Sterling-Augustine Aug 22, 2025
5da9fde
[NFC] `sort` llvm/utils/profcheck-xfail.txt (#155005)
mtrofin Aug 22, 2025
e146855
[OpenMP][omptest] Enforce test case order for 'standalone' build (#15…
mhalk Aug 22, 2025
1eac656
[NFC][lldb] Add a null check, actually use new SharedModuleList class…
augusto2112 Aug 22, 2025
bcc27dc
[profcheck] Patch exclude list after `ba5d487` (#155007)
mtrofin Aug 22, 2025
3c609f3
[RISCV] Merge int_riscv_masked_atomicrmw_*_i32/i64 intrinsics using l…
topperc Aug 22, 2025
f6071e9
[FIR][OpenACC] fix loop order with generatePrivateInit (#155002)
rscottmanley Aug 22, 2025
f84037e
[Driver] Fix out of place comment (#155001)
melver Aug 22, 2025
34d2e68
[NFC][MC][RISCV] Rearrange decoder functions for RISCV disassembler (…
jurahul Aug 22, 2025
f06b7f2
[RISCV] Mark More Fatal Errors as Usage/Internal (#154876)
lenary Aug 22, 2025
2ca0526
[lldb] More windows fixes TestSettings.py (#154983)
kastiglione Aug 22, 2025
9919301
[Offload][Conformance] Add randomized tests for double-precision math…
leandrolcampos Aug 22, 2025
d49353c
[cmake] Add config.guess for RISC-V BE (#154903)
djtodoro Aug 22, 2025
0f07235
[Asan] Make fuse-lld-globals.cpp require lld (#155010)
boomanaiden154 Aug 22, 2025
533cc9a
[NVPTX] Limit a sparsity selector in sparse MMA intrinsics. (#154984)
kvederni Aug 22, 2025
23a7fbb
[bazel][libc] Port #153993: nextafter (#155018)
rupprecht Aug 22, 2025
de6bd15
[libc][math][c++23] Add {get,set}payloadbf16 and setpayloadsigbf16 ma…
krishna2803 Aug 22, 2025
0bbb794
[lldb][ClangASTImporter] Don't ASTImport LambdaExpr nodes (#154962)
Michael137 Aug 22, 2025
0810505
[OpenMP][omptest] Skip omptest build if LLVM_INCLUDE_TESTS=OFF (#155020)
mhalk Aug 22, 2025
438c099
[AMDGPU] gfx1250 kernel descriptor update (#155008)
rampitec Aug 22, 2025
13e674e
[compiler-rt] Add some missing dependencies on Windows (#155019)
boomanaiden154 Aug 22, 2025
0368e76
[rtsan] Fix ioctl args in interceptor test (#154959)
davidtrevelyan Aug 22, 2025
97716d2
Revert "CodeGen: Respect function align attribute if less than prefer…
pcc Aug 22, 2025
b998750
[fuzzer][Fuchsia] Prevent deadlock from suspending threads (#154854)
PiJoules Aug 22, 2025
ffe3768
[CIR] Add support for emitting vtables (#154808)
andykaylor Aug 22, 2025
ea8994b
[flang][cuda] Remove TODO for descriptor with addendum (#155012)
clementval Aug 22, 2025
0c28482
[RISCV] Add test coverage for upcoming change to zicond select lowering
preames Aug 22, 2025
78ed417
[AMDGPU] More gfx12/gfx1250 MC tests. NFC. (#155016)
rampitec Aug 22, 2025
3e39820
[sanitizer][NFCI] Add ASan/HWASan regression tests for @llvm.coro.id …
thurstond Aug 22, 2025
1bf31c3
[MLIR][XeGPU] Update XeGPU create_tdesc, update_offset, load, store a…
silee2 Aug 22, 2025
d439c9e
Revert "[NVPTX] Legalize aext-load to zext-load to expose more DAG co…
jhuber6 Aug 22, 2025
c87a29f
Revert "[RISCV] Add test coverage for upcoming change to zicond selec…
boomanaiden154 Aug 22, 2025
67740d3
[RISCV][NFC] Cleanup Negative Predicate Names (#155017)
lenary Aug 22, 2025
0d6ca2f
[TableGen][DecoderEmitter] Fix decoder reading bytes past instruction…
s-barannikov Aug 22, 2025
480d528
[CIR][NFC] Fix build warning in getCIRSourceLanguage (#155029)
andykaylor Aug 22, 2025
085d0b0
[CIR] Add verifier for vtable initializer (#155031)
andykaylor Aug 22, 2025
a43c49f
[InstCombine] Fold `(x == A) || (x & -Pow2) == A + 1` into range chec…
pedroclobo Aug 22, 2025
a22e966
[Clang] disallow # operators in attribute argument lists (#147308)
a-tarasyuk Aug 22, 2025
4028896
[TableGen][DecoderEmitter] Move a function to InstructionEncoding (NF…
s-barannikov Aug 22, 2025
781a4db
Revert "[fuzzer][Fuchsia] Prevent deadlock from suspending threads" (…
gulfemsavrun Aug 22, 2025
539259d
[TableGen][DecoderEmitter] Remove unused move constructor (NFC)
s-barannikov Aug 22, 2025
6d7b4b2
[MLIR] Apply clang-tidy fixes for readability-identifier-naming in Qu…
joker-eph Aug 21, 2025
202356d
[MLIR] Apply clang-tidy fixes for readability-identifier-naming in Si…
joker-eph Aug 21, 2025
bffa11b
[MLIR] Apply clang-tidy fixes for llvm-include-order in DialectGPU.cp…
joker-eph Aug 21, 2025
51d9f31
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param…
joker-eph Aug 21, 2025
8aba413
[TableGen][DecoderEmitter] Extract a couple of methods (NFC) (#155044)
s-barannikov Aug 22, 2025
43f05fb
[llvm][CI] Add metrics collection for libc++ premerge testing. (#152801)
cmtice Aug 22, 2025
c9e5b6a
[RISCV] Rename VALUrVV/VALUrVX/VALUrVF tablegen clases. NFC (#154989)
topperc Aug 22, 2025
fd330de
[DAG] Constant fold ISD::FSHL/FSHR nodes (#154480)
XChy Aug 23, 2025
65d1262
RuntimeLibcalls: Add entries for stackprotector globals (#154930)
arsenm Aug 23, 2025
4325a07
[orc-rt] Fix deleted copy operations in move_only_function. (#155056)
lhames Aug 23, 2025
52ed03d
AMDGPU: Simplify foldImmediate with register class based checks (#154…
arsenm Aug 23, 2025
0b1d353
[clang-format] Fix a bug in SkipMacroDefinitionBody (#154787)
owenca Aug 23, 2025
9697b3c
[orc-rt] Fix file comment in RTTI.cpp. NFC. (#155059)
lhames Aug 23, 2025
98262e5
[TableGen][DecoderEmitter] Fix broken AdditionalEncoding support (#15…
s-barannikov Aug 23, 2025
9dc66a6
[libc] Add half-precision math functions to the math header (#155060)
leandrolcampos Aug 23, 2025
01bbbb5
[ADT] Deprecate the redirection from SmallSet to SmallPtrSet (#154891)
kazutakahirata Aug 23, 2025
68964f5
[TableGen][DecoderEmitter] Small refactoring (NFC)
s-barannikov Aug 23, 2025
da99853
[orc-rt] Add ExecutorAddress.h: ExecutorAddr and ExecutorAddrRange. (…
lhames Aug 23, 2025
e4552c6
[ORC-RT] Add IntervalMap and IntervalSet collections. (#155073)
lhames Aug 23, 2025
5631ca6
[orc-rt] Fix test names in Math.h unit tests.
lhames Aug 22, 2025
16deba3
Revert "[ADT] Deprecate the redirection from SmallSet to SmallPtrSet"…
rupprecht Aug 23, 2025
efed984
Add option to allow pre/post increment/decrement operator in cppcoreg…
carlosgalvezp Aug 23, 2025
6d29419
[SandboxVec][SeedCollector] Implement collection of seeds with differ…
vporpo Aug 23, 2025
f5e687d
[libc++] Fix ABI break introduced by switching to _LIBCPP_COMPRESSED_…
philnik777 Aug 23, 2025
ee55efc
[TableGen][DecoderEmitter] Repurpose Filter class (#155065)
s-barannikov Aug 23, 2025
8b3d4bd
[clang] Remove hasValue() check in `RecordExprEvaluator::VisitCXXCons…
tbaederr Aug 23, 2025
428ffbd
Re-land LLDB dap module symbol tables (#155021)
eronnen Aug 23, 2025
c7bbf1f
[gn build] Port 428ffbd506d1
llvmgnsyncbot Aug 23, 2025
c44c325
[LivePhysRegs] Make use of `MBB.liveouts()` (semi-NFC) (#154728)
MacDue Aug 23, 2025
304ef65
[CIR] Upstream DivOp for ComplexType (#153796)
AmrDeveloper Aug 23, 2025
4676242
AMDGPU/GFX12: Do not wait unnecessarily before barriers (#154970)
nhaehnle Aug 23, 2025
ed742f8
[SimplifyCFG] Handle that first matched eq cond in if chain can be Ex…
andjo403 Aug 23, 2025
294ae1e
[AArch64][GlobalISel] Mark G_TRAP, G_DEBUGTRAP and G_UBSANTRAP as leg…
davemgreen Aug 23, 2025
74b19ef
[ProfileData] Fix typo in profile overlap message (NFC)
kongy Aug 23, 2025
b12e47c
[llvm-profdata] Fix tests for the typo fix
kongy Aug 23, 2025
d9a192c
[libc++] Add tag types to all the __tuple_impl constructors (#154517)
philnik777 Aug 23, 2025
5b5a8cd
[clang-tidy] Fix `modernize-use-constraints` crash on uses of nonstan…
localspook Aug 23, 2025
8b5503d
[Clang] Add diagnostic when scoped enumeration requires an explicit c…
tinnamchoi Aug 23, 2025
699f154
[libc][math][c++23] Add nanbf16 math function (#153995)
krishna2803 Aug 23, 2025
230b9b2
[clang-tidy] Add `-std` argument in `check_clang_tidy.py` for C files…
localspook Aug 23, 2025
16b044e
[clang] Diagnose misplaced array bounds with non-identifier declarato…
keinflue Aug 23, 2025
ee8c14b
[LivePhysRegs] Use .asMCReg() rather than cast (NFC) (#155084)
MacDue Aug 23, 2025
3c01ac6
[MLIR] Fixup the LDBG() logging in dataflow/deadcodeanalysis (NFC) (#…
joker-eph Aug 23, 2025
0736778
[MLIR] Apply clang-tidy fixes for llvm-include-order in DialectLLVM.c…
joker-eph Aug 21, 2025
35e7336
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in Dialec…
joker-eph Aug 21, 2025
7cb2ace
[MLIR] Use LDBG() debugging macro in InliningUtils.cpp (NFC)
joker-eph Aug 23, 2025
03d9dae
[MLIR] Adopt LDBG() debugging in SCFToGPU.cpp (NFC)
joker-eph Aug 23, 2025
abb25fb
[clang-tidy] Mark bunch of checks as C++-only (#155083)
localspook Aug 23, 2025
0915bb9
[MLIR] Adopt LDBG() macro debugging in SymbolDCE.cpp (NFC) (#155090)
joker-eph Aug 23, 2025
25ef609
[MLIR] Add missing include to SCFToGPU.cpp (NFC)
joker-eph Aug 23, 2025
93bc9f5
[MLIR] Adopt LDBG() in lib/Dialect/LLVMIR/ (NFC)
joker-eph Aug 23, 2025
30c26dc
[VPlan] Create extracts for live-outs early (NFC).
fhahn Aug 23, 2025
a325391
[MLIR] Adopt LDBG() in IntegerRangeAnalysis.cpp (NFC) (#155094)
joker-eph Aug 23, 2025
66eaa80
[Clang] Remove redundant check for scoped enums in shift operators (#…
tinnamchoi Aug 23, 2025
b147644
[ADT] Simplify SmallDenseMap::swap (NFC) (#155067)
kazutakahirata Aug 23, 2025
93942f5
[ADT] Merge ConstIterator and Iterator of DenseSet into one class (NF…
kazutakahirata Aug 23, 2025
356be1a
[CodeGen] Remove an obsolete macro test (NFC) (#155069)
kazutakahirata Aug 23, 2025
cb11420
[Support] Simplify macro conditions involving __GNUC__ (NFC) (#155070)
kazutakahirata Aug 23, 2025
4b23606
[clang] Proofread AutomaticReferenceCounting.rst (#155071)
kazutakahirata Aug 23, 2025
9b493dc
[ADT] Deprecate the redirection from SmallSet to SmallPtrSet (Take 2)…
kazutakahirata Aug 23, 2025
d13f40f
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param…
joker-eph Aug 21, 2025
524665f
[LV] Auto-generate check lines for tail-fold-uniform-memops.ll. (NFC)
fhahn Aug 23, 2025
b12e033
[MLIR][GPU] Truncate temp filename path size to avoid linux limitatio…
wsmoses Aug 23, 2025
03a23f0
[VPlan] Store LoopRegion in variable in calculateRegisterUsage... (NFC)
fhahn Aug 23, 2025
aa4bc2e
[rtsan] Support legacy pthread_cond variables (#152947)
cjappl Aug 23, 2025
37d57b3
[MLIR] Apply clang-tidy fixes for llvm-include-order in DialectNVGPU.…
joker-eph Aug 21, 2025
fe7fb3e
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param…
joker-eph Aug 21, 2025
3ca1ca4
[ADT] Fix redirection of SmallSet to SmallPtrSet (#155117)
benlangmuir Aug 23, 2025
d7390be
[clang-tidy] Skip system macros in readability-identifier-naming chec…
carlosgalvezp Aug 23, 2025
d9adf25
[MLIR] Apply clang-tidy fixes for llvm-include-order in DialectPDL.cp…
joker-eph Aug 21, 2025
513c52c
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in Dialec…
joker-eph Aug 21, 2025
9fbf752
[MLIR] Adopt LDBG() macro in ControlFlowSinkUtils.cpp (NFC)
joker-eph Aug 23, 2025
f05b1a2
[mlir][arith][nfc] Cleanup whitespace in td files (#155109)
Hardcode84 Aug 23, 2025
b77f845
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param…
joker-eph Aug 21, 2025
5cd0d3c
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param…
joker-eph Aug 21, 2025
a74cf81
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in Dialec…
joker-eph Aug 21, 2025
a19b634
[MLIR] Apply clang-tidy fixes for llvm-include-order in DialectSparse…
joker-eph Aug 21, 2025
8100099
[MLIR] Adopt LDBG() macro in mlir/lib/Transforms/... (NFC)
joker-eph Aug 23, 2025
fac1984
[MLIR] Adopt LDBG() macro in PDLToPDLInterp/PredicateTree.cpp (NFC)
joker-eph Aug 23, 2025
9f87cd6
[VPlan] Add m_ExtractLastElement matcher. (NFC)
fhahn Aug 23, 2025
e7908b9
[MLIR] Adopt LDBG() debug macro in Affine/Transforms/LoopFusion.cpp (…
joker-eph Aug 23, 2025
2511b14
[LV] Add additional SCEV expansion test with nested loops.
fhahn Aug 23, 2025
217968f
[MLIR] Adopt LDBG() debug macros in Affine/Utils/Loop(Fusion)Utils.cp…
joker-eph Aug 23, 2025
63f2bf4
[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param…
joker-eph Aug 21, 2025
61c7295
[MLIR] Apply clang-tidy fixes for llvm-include-order in DialectTransf…
joker-eph Aug 21, 2025
8afde84
[MLIR] Adopt LDBG() debug macro in Linalg/Transforms.cpp (NFC)
joker-eph Aug 23, 2025
954097d
[VPlan] Use SCEV to check subtract in getOptimizableIVOf.
fhahn Aug 23, 2025
cda317a
[AMDGPU] Disallow null for tensor load/store resource operands (#155074)
changpeng Aug 23, 2025
52b0e3f
[NFC][SampleFDO] In text sample prof reader, report dreport more conc…
mingmingl-llvm Aug 23, 2025
ebac9f4
Revert "[NFC][SampleFDO] In text sample prof reader, report dreport m…
mingmingl-llvm Aug 23, 2025
9274200
[mlir] Fix the build in the release mode
kazutakahirata Aug 23, 2025
c987950
[NFC][SampleFDO] Re-apply "In text sample prof reader, report more co…
mingmingl-llvm Aug 24, 2025
36cadb6
MCAssembler: Simplify getSectionAddressSize
MaskRay Aug 24, 2025
eadf0eb
[Clang][Codegen][NFC] Add nullptr check in fillOutputFields (#154623)
shafik Aug 24, 2025
b1d58f0
MCAssembler: Simplify fragment relaxation
MaskRay Aug 24, 2025
58d16db
MCAssembler: Simplify relaxation of FT_Fill and FT_Org
MaskRay Aug 24, 2025
1ab3042
[TableGen][DecoderEmitter] Fix indentation in generated code (NFC)
s-barannikov Aug 24, 2025
711134f
[AArch64] Remove an unnecessary cast (NFC) (#155134)
kazutakahirata Aug 24, 2025
c1bc55e
[Vectorize] Remove an unnecessary cast (NFC) (#155135)
kazutakahirata Aug 24, 2025
8483bf4
[SPIRV] Use llvm::is_contained (NFC) (#155136)
kazutakahirata Aug 24, 2025
970516d
[clang] Remove redundant control flow statements (NFC) (#155138)
kazutakahirata Aug 24, 2025
6ae0d95
[TableGen][DecoderEmitter] Print the size of the decoder tables (#155…
s-barannikov Aug 24, 2025
49144f7
[InstCombine] Improve range computation in `foldICmpAddConstant` (#15…
dtcxzyw Aug 24, 2025
3054e06
[LV] Add early-exit tests with VF=1 IC=2.
fhahn Aug 24, 2025
93c9684
[VectorCombine] New folding pattern for extract/binop/shuffle chains …
Rajveer100 Aug 24, 2025
4ce5506
[Post-Commit] Add missing `break`
Rajveer100 Aug 24, 2025
ec860d1
[TableGen][DecoderEmitter] Refactor emitTableEntries (NFCI) (#155100)
s-barannikov Aug 24, 2025
003cbbd
[mlir][amdgpu] Promote gpu.shuffle to amdgpu.permlane_swap (#154933)
tgymnich Aug 24, 2025
feac561
[NFC][SimplifyCFG] Fix a return value in `ConstantComparesGatherer` (…
dtcxzyw Aug 24, 2025
66be00d
[VPlan] Introduce m_Cmp; match more compares (#154771)
artagnon Aug 24, 2025
c9106c8
[TableGen][DecoderEmitter] Add a couple of helper methods (NFC) (#155…
s-barannikov Aug 24, 2025
7b22660
[lldb][test][NFC] Re-arrange ifdefs in compressed_pair.h
Michael137 Aug 24, 2025
704dee2
[LV] Update test after 66be00d (#155165)
artagnon Aug 24, 2025
11c6158
[NFCI][MC][DecoderEmitter] Fix BitWidth for fixed length inst encodin…
jurahul Aug 24, 2025
5ef4120
[Offload][Conformance] Add exhaustive tests for half-precision math f…
leandrolcampos Aug 24, 2025
134cd79
[Reland][PatternMatch] Add `m_[Shift]OrSelf` matchers. NFC. (#154375)
dtcxzyw Aug 24, 2025
bc278d0
[clang-tidy] Add check to replace operator[] with at() Enforce SL.con…
paulhdk Aug 24, 2025
a7a1781
[gn build] Port bc278d00726f
llvmgnsyncbot Aug 24, 2025
6074335
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}b…
krishna2803 Aug 24, 2025
e10b619
[ADT] Add a helper function to create iterators in DenseMap (NFC) (#1…
kazutakahirata Aug 24, 2025
ca6b539
[llvm] Proofread AArch64SME.rst (#155137)
kazutakahirata Aug 24, 2025
285fd29
[WebAssembly] Implement the `.reloc` directive for WASM (#146952)
SingleAccretion Aug 24, 2025
0723e81
[bazel] Add missing dependency for 003cbbd4ca10a79604f55eaa9ba144c614…
d0k Aug 24, 2025
56ecaf4
[clang-tidy][NFC] clean up some matchers in `modernize-type-traits` (…
localspook Aug 24, 2025
9ec771b
[compiler-rt] Avoid depending on the libnvmm header for NetBSD (#153534)
alexrp Aug 24, 2025
d84be8a
[VPlan] Get Cmp cost via getCostForRecipeWithOp for VPReplicateR (NFCI).
fhahn Aug 24, 2025
a5cf82c
Remove SDNPSideEffect from ARMcallseq_start and ARMcallseq_end (NFC) …
AZero13 Aug 24, 2025
13bccde
[ADT] Use brace initialization in Set/Map (NFC) (#155182)
kazutakahirata Aug 24, 2025
5abec20
[compiler-rt] Remove leftovers of FreeBSD md5/sha2 interceptors (#153…
alexrp Aug 24, 2025
45f3263
[APFloat] Properly implement DoubleAPFloat::convertFromAPInt
majnemer Aug 13, 2025
af0f85c
[libc][math] Do not use float16 basic operations in hypotf16. (#155177)
lntue Aug 25, 2025
95a4c9c
[LoongArch] Custom lower vecreduce_add. (#154304)
tangaac Aug 25, 2025
b54628f
[M68k] Fix encoding of CAS instructions (#154481)
s-barannikov Aug 25, 2025
3408868
[orc-rt] Replace size_t with std::size_t in Math.h. (Fixes unit test …
lhames Aug 25, 2025
6f760dc
[orc-rt] Include <type_traits> in span.h. (Fixes unit test on Linux)
lhames Aug 25, 2025
b121cdf
[orc-rt] #include <variant> for std::monostate. (Fixes unit test on L…
lhames Aug 25, 2025
1c1ec48
[RISCV] Add more common check prefixes to reduce the lines in half-co…
tclin914 Aug 25, 2025
6b200e2
DAG: Avoid comparing Register to unsigned 0 (#155164)
arsenm Aug 25, 2025
0437f08
[LoongArch] Support PreserveMost calling convention (#154898)
heiher Aug 25, 2025
c11acac
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math funct…
krishna2803 Aug 25, 2025
36627e1
[orc-rt] Add bit.h -- substitute for not yet available STL <bit> APIs…
lhames Aug 25, 2025
8d2e06e
[orc-rt] Add SimplePackedSerialization. (#155212)
lhames Aug 25, 2025
691238e
[orc-rt] Add missing SimplePackedSerialization.h entry to CMakeLists.…
lhames Aug 25, 2025
8c65591
[orc-rt] Fix typo in header file name in CMakeLists.txt.
lhames Aug 25, 2025
7681855
[OpenMP] Add workdistribute construct in openMP dialect and in llvm f…
skc7 Aug 25, 2025
a6e47d1
[MLIR][Affine] Fix affine loop permute validity check for iter_args l…
meshtag Aug 25, 2025
f93f6e5
[NFC][Clang][analyzer] Const-correct CheckerContext API (#154741)
necto Aug 25, 2025
0263c15
[MLIR][NVVM] Add globaltimer_lo support in NVVM Dialect and NVPTX bac…
DharuniRAcharya Aug 25, 2025
db02476
AMDGPU: Fix not diagnosing unaligned VGPRs for vsrc operands (#155104)
arsenm Aug 25, 2025
296163f
[RISCV] Add missing check lines for vwmulu_v64i32 in fixed-vectors-vw…
tclin914 Aug 25, 2025
c535fc9
[InstCombine] Regenerate test checks (NFC)
nikic Aug 25, 2025
a579278
[mlir][nvgpu] Fix nvgpu integration test (#154748)
linuxlonelyeagle Aug 25, 2025
df69dfe
[LoopPeel] Address followup comments on #121104 (#155221)
kasuga-fj Aug 25, 2025
19a4f52
[Coroutines] Add llvm.coro.is_in_ramp and drop return value of llvm.c…
NewSigma Aug 25, 2025
23c7ad9
Revert "[Coroutines] Add llvm.coro.is_in_ramp and drop return value o…
ChuanqiXu9 Aug 25, 2025
abf9144
[libcxx][test] Fix typos (#155217)
StephanTLavavej Aug 25, 2025
2d5a3c8
[TableGen] Implement getOperandIdxName (#154944)
ro-i Aug 25, 2025
437d15a
[clang][bytecode][NFC] Remove double initializer (#155150)
tbaederr Aug 25, 2025
c540678
[clang][bytecode] Fix OptionScope initializer (#155149)
tbaederr Aug 25, 2025
f8f6965
[InstCombine] Allow freezing multiple operands (#154336)
nikic Aug 25, 2025
58edd27
[BOLT] Gadget scanner: account for BRK when searching for auth oracle…
atrosinenko Aug 25, 2025
c6bcc74
[Clang]Throw frontend error for target feature mismatch when using fl…
abhishek-kaushik22 Aug 25, 2025
58953b8
Revert "[MLIR] Fix duplicated attribute nodes in MLIR bytecode deseri…
Dinistro Aug 25, 2025
41aba9e
RuntimeLibcalls: Fix building hash table with duplicate entries (#153…
arsenm Aug 25, 2025
5569bf2
[Clang][CodeGen] Preserve alignment information for pointer arithmeti…
dtcxzyw Aug 25, 2025
0f4db1a
[clang][bytecode] Fix incorrect offset in elem() (#155157)
tbaederr Aug 25, 2025
c58e22e
[AggressiveInstCombine] Refactor `foldLoadsRecursive` to use `m_ShlOr…
dtcxzyw Aug 25, 2025
7c9c331
[NFC][AMDGPU] Remove redundant code in `AMDGPUSubtarget::getWavesPerE…
shiltian Aug 25, 2025
704a10c
[AMDGPU] Fix unittest sign-compare (#155235)
ro-i Aug 25, 2025
3db6011
[mlir][Transforms] Tighten `replaceUsesOfBlockArgument` (#155227)
matthias-springer Aug 25, 2025
9642aad
Revert "[clang][bytecode] Fix incorrect offset in elem() (#155157)"
tbaederr Aug 25, 2025
374db67
[flang][openmp] Add parser and semantic support for workdistribute (#…
skc7 Aug 25, 2025
7b467bc
[mlir][vector] Add alignment attribute to vector operations. (#152507)
amd-eochoalo Aug 25, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 8 additions & 2 deletions .ci/compute_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
"flang",
},
"lld": {"bolt", "cross-project-tests"},
# TODO(issues/132795): LLDB should be enabled on clang changes.
"clang": {"clang-tools-extra", "cross-project-tests"},
"clang": {"clang-tools-extra", "cross-project-tests", "lldb"},
"mlir": {"flang"},
# Test everything if ci scripts are changed.
".ci": {
Expand Down Expand Up @@ -80,6 +79,7 @@
"clang": {"compiler-rt"},
"clang-tools-extra": {"libc"},
"libc": {"libc"},
"compiler-rt": {"compiler-rt"},
".ci": {"compiler-rt", "libc"},
}
DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG = {
Expand All @@ -100,6 +100,9 @@
"libc", # No Windows Support.
"lldb", # TODO(issues/132800): Needs environment setup.
"bolt", # No Windows Support.
"libcxx",
"libcxxabi",
"libunwind",
}

# These are projects that we should test if the project itself is changed but
Expand All @@ -118,6 +121,9 @@
"lldb",
"openmp",
"polly",
"libcxx",
"libcxxabi",
"libunwind",
}

PROJECT_CHECK_TARGETS = {
Expand Down
59 changes: 38 additions & 21 deletions .ci/compute_projects_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ def test_llvm_windows(self):
env_variables["project_check_targets"],
"check-clang check-clang-tools check-lld check-llvm check-mlir check-polly",
)
self.assertEqual(
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
"",
)

def test_llvm_mac(self):
Expand All @@ -69,16 +67,14 @@ def test_llvm_mac(self):
env_variables["project_check_targets"],
"check-clang check-clang-tools check-lld check-llvm check-mlir",
)
self.assertEqual(
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
"",
)

def test_clang(self):
Expand All @@ -87,11 +83,11 @@ def test_clang(self):
)
self.assertEqual(
env_variables["projects_to_build"],
"clang;clang-tools-extra;lld;llvm",
"clang;clang-tools-extra;lld;lldb;llvm",
)
self.assertEqual(
env_variables["project_check_targets"],
"check-clang check-clang-tools",
"check-clang check-clang-tools check-lldb",
)
self.assertEqual(
env_variables["runtimes_to_build"], "compiler-rt;libcxx;libcxxabi;libunwind"
Expand Down Expand Up @@ -119,30 +115,54 @@ def test_clang_windows(self):
self.assertEqual(
env_variables["project_check_targets"], "check-clang check-clang-tools"
)
self.assertEqual(
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
"",
)
self.assertEqual(env_variables["enable_cir"], "OFF")

def test_compiler_rt(self):
env_variables = compute_projects.get_env_variables(
["compiler-rt/lib/asan/asan_allocator.cpp"], "Linux"
)
self.assertEqual(
env_variables["projects_to_build"],
"clang;lld",
)
self.assertEqual(
env_variables["project_check_targets"],
"",
)
self.assertEqual(env_variables["runtimes_to_build"], "compiler-rt")
self.assertEqual(
env_variables["runtimes_check_targets"],
"check-compiler-rt",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"",
)
self.assertEqual(
env_variables["enable_cir"],
"OFF",
)

def test_cir(self):
env_variables = compute_projects.get_env_variables(
["clang/lib/CIR/CMakeLists.txt"], "Linux"
)
self.assertEqual(
env_variables["projects_to_build"],
"clang;clang-tools-extra;lld;llvm;mlir",
"clang;clang-tools-extra;lld;lldb;llvm;mlir",
)
self.assertEqual(
env_variables["project_check_targets"],
"check-clang check-clang-cir check-clang-tools",
"check-clang check-clang-cir check-clang-tools check-lldb",
)
self.assertEqual(
env_variables["runtimes_to_build"], "compiler-rt;libcxx;libcxxabi;libunwind"
Expand Down Expand Up @@ -298,18 +318,15 @@ def test_windows_ci(self):
)
self.assertEqual(
env_variables["runtimes_to_build"],
"libcxx;libcxxabi;libunwind",
"",
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
# TODO(boomanaiden154): We should not be emitting these on Windows.
# It does not currently impact anything because we do not build the
# runtimes on Windows though.
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
"",
)

def test_lldb(self):
Expand Down
13 changes: 9 additions & 4 deletions .ci/generate_test_report_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,25 @@
"""Script to generate a build report for Github."""

import argparse
import platform

import generate_test_report_lib

PLATFORM_TITLES = {
"Windows": ":window: Windows x64 Test Results",
"Linux": ":penguin: Linux x64 Test Results",
}

if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("return_code", help="The build's return code.", type=int)
parser.add_argument(
"title", help="Title of the test report, without Markdown formatting."
"build_test_logs", help="Paths to JUnit report files and ninja logs.", nargs="*"
)
parser.add_argument("return_code", help="The build's return code.", type=int)
parser.add_argument("junit_files", help="Paths to JUnit report files.", nargs="*")
args = parser.parse_args()

report = generate_test_report_lib.generate_report_from_files(
args.title, args.return_code, args.junit_files
PLATFORM_TITLES[platform.system()], args.return_code, args.build_test_logs
)

print(report)
164 changes: 143 additions & 21 deletions .ci/generate_test_report_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,84 @@
"https://github.com/llvm/llvm-project/issues and add the "
"`infrastructure` label."
)
# The maximum number of lines to pull from a ninja failure.
NINJA_LOG_SIZE_THRESHOLD = 500


def _parse_ninja_log(ninja_log: list[str]) -> list[tuple[str, str]]:
"""Parses an individual ninja log."""
failures = []
index = 0
while index < len(ninja_log):
while index < len(ninja_log) and not ninja_log[index].startswith("FAILED:"):
index += 1
if index == len(ninja_log):
# We hit the end of the log without finding a build failure, go to
# the next log.
return failures
# We are trying to parse cases like the following:
#
# [4/5] test/4.stamp
# FAILED: touch test/4.stamp
# touch test/4.stamp
#
# index will point to the line that starts with Failed:. The progress
# indicator is the line before this ([4/5] test/4.stamp) and contains a pretty
# printed version of the target being built (test/4.stamp). We use this line
# and remove the progress information to get a succinct name for the target.
failing_action = ninja_log[index - 1].split("] ")[1]
failure_log = []
while (
index < len(ninja_log)
and not ninja_log[index].startswith("[")
and not ninja_log[index].startswith("ninja: build stopped:")
and len(failure_log) < NINJA_LOG_SIZE_THRESHOLD
):
failure_log.append(ninja_log[index])
index += 1
failures.append((failing_action, "\n".join(failure_log)))
return failures


def find_failure_in_ninja_logs(ninja_logs: list[list[str]]) -> list[tuple[str, str]]:
"""Extracts failure messages from ninja output.

This function takes stdout/stderr from ninja in the form of a list of files
represented as a list of lines. This function then returns tuples containing
the name of the target and the error message.

Args:
ninja_logs: A list of files in the form of a list of lines representing the log
files captured from ninja.

Returns:
A list of tuples. The first string is the name of the target that failed. The
second string is the error message.
"""
failures = []
for ninja_log in ninja_logs:
log_failures = _parse_ninja_log(ninja_log)
failures.extend(log_failures)
return failures


def _format_ninja_failures(ninja_failures: list[tuple[str, str]]) -> list[str]:
"""Formats ninja failures into summary views for the report."""
output = []
for build_failure in ninja_failures:
failed_action, failure_message = build_failure
output.extend(
[
"<details>",
f"<summary>{failed_action}</summary>",
"",
"```",
failure_message,
"```",
"</details>",
]
)
return output


# Set size_limit to limit the byte size of the report. The default is 1MB as this
Expand All @@ -24,6 +102,7 @@ def generate_report(
title,
return_code,
junit_objects,
ninja_logs: list[list[str]],
size_limit=1024 * 1024,
list_failures=True,
):
Expand Down Expand Up @@ -61,15 +140,34 @@ def generate_report(
]
)
else:
report.extend(
[
"The build failed before running any tests.",
"",
SEE_BUILD_FILE_STR,
"",
UNRELATED_FAILURES_STR,
]
)
ninja_failures = find_failure_in_ninja_logs(ninja_logs)
if not ninja_failures:
report.extend(
[
"The build failed before running any tests. Detailed "
"information about the build failure could not be "
"automatically obtained.",
"",
SEE_BUILD_FILE_STR,
"",
UNRELATED_FAILURES_STR,
]
)
else:
report.extend(
[
"The build failed before running any tests. Click on a "
"failure below to see the details.",
"",
]
)
report.extend(_format_ninja_failures(ninja_failures))
report.extend(
[
"",
UNRELATED_FAILURES_STR,
]
)
return "\n".join(report)

tests_passed = tests_run - tests_skipped - tests_failed
Expand Down Expand Up @@ -114,14 +212,28 @@ def plural(num_tests):
elif return_code != 0:
# No tests failed but the build was in a failed state. Bring this to the user's
# attention.
report.extend(
[
"",
"All tests passed but another part of the build **failed**.",
"",
SEE_BUILD_FILE_STR,
]
)
ninja_failures = find_failure_in_ninja_logs(ninja_logs)
if not ninja_failures:
report.extend(
[
"",
"All tests passed but another part of the build **failed**. "
"Information about the build failure could not be automatically "
"obtained.",
"",
SEE_BUILD_FILE_STR,
]
)
else:
report.extend(
[
"",
"All tests passed but another part of the build **failed**. Click on "
"a failure below to see the details.",
"",
]
)
report.extend(_format_ninja_failures(ninja_failures))

if failures or return_code != 0:
report.extend(["", UNRELATED_FAILURES_STR])
Expand All @@ -139,9 +251,19 @@ def plural(num_tests):
return report


def generate_report_from_files(title, return_code, junit_files):
def generate_report_from_files(title, return_code, build_log_files):
junit_files = [
junit_file for junit_file in build_log_files if junit_file.endswith(".xml")
]
ninja_log_files = [
ninja_log for ninja_log in build_log_files if ninja_log.endswith(".log")
]
ninja_logs = []
for ninja_log_file in ninja_log_files:
with open(ninja_log_file, "r") as ninja_log_file_handle:
ninja_logs.append(
[log_line.strip() for log_line in ninja_log_file_handle.readlines()]
)
return generate_report(
title,
return_code,
[JUnitXml.fromfile(p) for p in junit_files],
title, return_code, [JUnitXml.fromfile(p) for p in junit_files], ninja_logs
)
Loading