Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
4b6e54a
[lldb-dap] Migrate variables request protocol types. (#147611)
ashgti Jul 10, 2025
ef24b4b
[Coroutines] Fix debug info scoping for nested structs in coroutine f…
grigorypas Jul 10, 2025
d93cc7a
[libc] WCS to integer internal function (#147857)
uzairnawaz Jul 10, 2025
ab0d11c
[Clang] Fix a crash when diagnosing wrong conversion to explicit obje…
cor3ntin Jul 10, 2025
ca888f0
[DirectX][NFC] Refactor `DXILRootSignature` to follow the same patter…
joaosaffran Jul 10, 2025
582cfb1
[libc++] Switch over to the LLVM-wide premerge test runners. (#147794)
cmtice Jul 10, 2025
8ad384b
[mlir][xevm] Fix dialect descriptions formatting (#147729)
adam-smnk Jul 10, 2025
dd1105b
[CIR] Implement AddOp for ComplexType (#147578)
AmrDeveloper Jul 10, 2025
c92d5da
[clang] Use a specific target when testing that `-fomit-frame-pointer…
dpaoliello Jul 10, 2025
49b87cd
DenseMapInfo: support std::optional<T> (#147851)
elijahkin Jul 10, 2025
d60da27
[HLSL][RootSignature] Implement diagnostic for missed comma (#147350)
inbelic Jul 10, 2025
ce571c9
Revert "[bazel] Update after 24475409e4eac6fd60e2111424a4bef3452c8f21"
jyknight Jul 10, 2025
25c3f64
Revert "[StructurizeCFG] Hoist and simplify zero-cost incoming else p…
VigneshwarJ Jul 10, 2025
8a7c973
[ci] premerge: upload artifacts even on failure (#147999)
mizvekov Jul 10, 2025
a709195
[APINotes] Add support for capturing all possible versioned APINotes …
artemcm Jul 10, 2025
9320d1d
[compiler-rt] Don't handle Linux-specific shmctl commands in sanitize…
jrtc27 Jul 10, 2025
03f6f48
[libc++] Move a few tests into more correct places (#147557)
philnik777 Jul 10, 2025
00dd666
Add back fallthrough annotations removed by 7f3afab (#148032)
slackito Jul 10, 2025
922fca5
[RISCV][VLOPT] Pre-commit tests for adding more instruction to vlopt
mikhailramalho Jul 10, 2025
682d6c4
[ADT] Fix a warning
kazutakahirata Jul 10, 2025
4b30bf0
[NFC] [docs] point users towards clang remark flags (#147820)
fmayer Jul 10, 2025
c452de1
Reapply "[VPlan] Allow derived IVs and scalar-steps in narrowing inte…
fhahn Jul 10, 2025
dd60663
[SLP] Emit reduction instead of 2 extracts + scalar op, when vectoriz…
alexey-bataev Jul 9, 2025
0736f33
[DAG] Handle truncated splat in isBoolConstant (#145473)
davemgreen Jul 10, 2025
0edc98c
[ARM] Copy SMAX(lhs, 0) and SMIN(lhs, 0) patterns from AArch64 to ARM…
AZero13 Jul 10, 2025
d8a2141
[NFC][LLVM][ADT] Simplify `StringRef` case insensitive compare (#147994)
jurahul Jul 10, 2025
3d08a40
[CIR] Upstream new SetBitfieldOp for handling C and C++ struct bitfie…
Andres-Salamanca Jul 10, 2025
0c0aa56
Revert "compiler-rt: Introduce runtime functions for emulated PAC."
pcc Jul 10, 2025
61004b7
[MLIR][GPU] Add xevm-attach-target transform pass. (#147372)
silee2 Jul 10, 2025
74a6e5c
[LLD][MinGW] Support machine:arm64x when invoked in MinGW mode. (#145…
WhatAmISupposedToPutHere Jul 10, 2025
838701a
MemProf: Add minimum count threshold for inlining of promoted calls (…
teresajohnson Jul 10, 2025
88ba06d
[libc] Addressed todo to make first_non_whitespace to return an idx i…
uzairnawaz Jul 10, 2025
7920dff
[AMDGPU] VOPD/VOPD3 changes for gfx1250 (#147602)
rampitec Jul 10, 2025
3076794
[LifetimeSafety] Introduce intra-procedural analysis in Clang (#142313)
usx95 Jul 10, 2025
b6a4621
[NFC][TableGen] Minor code cleanup in SearchableTableEmitter (#147856)
jurahul Jul 10, 2025
78eb92b
[gn build] Port 3076794e924f
llvmgnsyncbot Jul 10, 2025
4859b92
[flang][acc] Update FIR ref, heap, and pointer to be MappableType (#1…
razvanlupusoru Jul 10, 2025
f28a497
[lldb] Support specifying a language for breakpoint conditions (#147603)
JDevlieghere Jul 10, 2025
545b075
[bazel] Add missing dep after 61004b7eb5bf63d813118753727e02be13d1e9e0
slackito Jul 10, 2025
14b2d2c
RuntimeLibcalls: Add entries for objc runtime calls (#147920)
arsenm Jul 10, 2025
76eead1
[MLIR][Conversion] Add convert-xevm-to-llvm pass. (#147375)
silee2 Jul 10, 2025
78e0c76
[CIR][NFC] Add example for get_bitfield with volatile qualifier (#147…
Andres-Salamanca Jul 10, 2025
b415db0
[CIR] Add handlers for 'using enum' and namespace alias (#148011)
andykaylor Jul 10, 2025
eb97422
[AMDGPU] Disable DPP with v_mov_b64 on gfx1250 (#148054)
rampitec Jul 10, 2025
da60827
Revert "[MLIR][Conversion] Add convert-xevm-to-llvm pass." (#148081)
charithaintc Jul 10, 2025
6fc3b40
[msan] Model is_int_min_poison to avoid false negative in abs (#148069)
thurstond Jul 10, 2025
c0b82df
[MachinePipeliner] Add validation for missed loop-carried memory deps…
kasuga-fj Jul 11, 2025
7d510b7
[DA] Set Distance to zero when Direction is EQ (#147966)
kasuga-fj Jul 11, 2025
1f990f0
[AMDGPU] gfx1250 VOPD MC overflow tests. NFC. (#147826)
rampitec Jul 11, 2025
eba5130
AMDGPU: Add MC tests for s_barrier_signal and s_get_barrier_state for…
changpeng Jul 11, 2025
34a1daa
[Clang] Mark a concept as being invalid if the constraint is invalid …
ojhunt Jul 11, 2025
7704f81
[clang-format][NFC] Replace a function with StringRef::contains (#146…
owenca Jul 11, 2025
cb52efb
[clang-format] Split line comments separated by backslashes (#147648)
owenca Jul 11, 2025
aa4c856
[clang][NFC] Remove an unused parameter in CFGBlockValues::getValue()…
igorkudrin Jul 11, 2025
f0befb0
[clang] Combine ConstRefUse with other warnings for uninitialized val…
igorkudrin Jul 11, 2025
82acb59
[NFC] Split UniqueBBID definition to a separate file. (#148043)
rlavaee Jul 11, 2025
c25a5e0
[libc][math] Refactor expf16 implementation to header-only in src/__s…
bassiounix Jul 11, 2025
34b55e1
[LoongArch] Precommit tests for 128-to-256-bit vector insertion and 2…
heiher Jul 11, 2025
aa99026
[NFC] [clangd] [Modules] Logging more if compilation failed
ChuanqiXu9 Jul 11, 2025
c919221
[flang][cuda][NFC] Remove TODO implemented in semantic (#148058)
clementval Jul 11, 2025
22d584e
[x86] Synchronize fp128 and i128 ABI tests (nfc) (#147923)
tgross35 Jul 11, 2025
f09e589
properly align long double on i386 darwin (#148102)
Un1q32 Jul 11, 2025
b6b64f4
Format root clang-tidy config (NFC) (#147902)
vbvictor Jul 11, 2025
eba35cc
[flang][do concurrent] Re-model `reduce` to match reductions are mode…
ergawy Jul 11, 2025
66969c9
[RISCV] Add ISel patterns for Qualcomm uC Xqcics extension (#146675)
hchandel Jul 11, 2025
b01ef20
[GitHub][workflows] Use latest clang-format version 20.1.8 (#148099)
owenca Jul 11, 2025
57194ac
Mark test added in #142313 as requiring asserts since it uses `-debug…
dyung Jul 11, 2025
9b81db7
[RISCV] Use source element type for the zero constant in IR for vwcvt…
topperc Jul 11, 2025
f9292c2
[NFC][PowerPC] Add test case for lockdown of vector compare greater t…
Himadhith Jul 11, 2025
7c8a197
[NFC][flang] Move `ReductionProcessor` to `Lower/Support`. (#146025)
ergawy Jul 11, 2025
799270a
[RISCV] Add missing indexed load/store intrinsic tests for zvfbfmin (…
tclin914 Jul 11, 2025
e0eb8f0
[clang] Fix static_cast bypassing access control (#132285)
offsetof Jul 11, 2025
17784e8
[support] Add packed_endian_specific_integral::value() (#147974)
labath Jul 11, 2025
a510e75
[flang][fir] Small clean-up in `fir_DoConcurrentLoopOp`'s defintion (…
ergawy Jul 11, 2025
eb0d61a
[LoongArch] Optimize 128-to-256-bit vector insertion and 256-to-128-b…
heiher Jul 11, 2025
2ae76d5
[AMDGPU] Use different values for SISrcMods::NEG and SISrcMods::SEXT …
frederik-h Jul 11, 2025
a516c60
[NFC] Correct typo: invertion -> inversion (#147995)
frasercrmck Jul 11, 2025
9de657a
[RISCV] Add ISel patterns for Xqciac QC.MULIADD instruction (#147661)
svs-quic Jul 11, 2025
a84ae9c
[AArch64] Use mov imm pseudo instructions in madd combine. (#147510)
davemgreen Jul 11, 2025
c3ec38d
[NVPTX][NFC] Move more TMA intrinsics lowering to tablegen (#147576)
durga4github Jul 11, 2025
edd615e
AMDGPU: Remove "gws" feature from generic targets (#148122)
changpeng Jul 11, 2025
d679b9a
[NFC][C++][Modules] Refine test/CXX/basic.link/p3.cpp with split-file…
yronglin Jul 11, 2025
0e9b7b0
[flang][OpenMP] Basic mapping of `do concurrent ... reduce` to OpenMP…
ergawy Jul 11, 2025
a9102f5
[mlir] Fix TransformTuneExtensionOps.td include guards
chsigg Jul 11, 2025
0e5f9f6
[clang][bytecode] Keep a list of initializing blocks in InterpState (…
tbaederr Jul 11, 2025
ab1c490
[flang][do concurrent] Extned `getAllocaBlock()` and emit yields corr…
ergawy Jul 11, 2025
1f39b92
[Hexagon] Handle bitcast of i32/v2i16/v4i8 -> v32i1 when Hvx is enabl…
pkarveti Jul 11, 2025
d679dc7
[Hexagon]Handle truncate of v4i8/v2i16 -> v4i1/v2i1 when Hvx is enabl…
pkarveti Jul 11, 2025
e908f61
[libc] Fix WEOF and fix 1'000'000 error messages on test failure (#14…
saturn691 Jul 11, 2025
f1cee58
[lldb][test] Combine libstdc++ and libc++ iterator tests into generic…
Michael137 Jul 11, 2025
b8d21bf
[bazel] Turn on EXPERIMENTAL_KEY_INSTRUCTIONS
chapuni Jul 11, 2025
def7bbb
[LLDB] Add formatters for MSVC STL std::shared_ptr (#147575)
Nerixyz Jul 11, 2025
6bed7b7
[gn build] Port def7bbbe17c6
llvmgnsyncbot Jul 11, 2025
74e3dfe
[LV] Disable forcing interleaving for uncountable early exit loops (#…
david-arm Jul 11, 2025
7b91df3
[OMPIRBuilder] Don't use invalid debug loc in reduction functions. (#…
abidh Jul 11, 2025
c042273
[clang][bytecode] Check lambda captures before binding decls (#148130)
tbaederr Jul 11, 2025
9544bb5
[InstCombine] Fold umul.overflow(x, c1) | (x*c1 > c2) to x > c2/c1 (#…
mskamp Jul 11, 2025
e608e3f
Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" war…
RKSimon Jul 11, 2025
44481f5
[DAGCombine] Change isBuildVectorAll* -> isConstantSplatVectorAll* fo…
badumbatish Jul 11, 2025
1ace9fa
[LLVM][CodeGen][SVE] Enable Bfloat fma contraction. (#147941)
paulwalker-arm Jul 11, 2025
77861b3
[OpenMP][clang] 6.0: parsing/sema for message/severity for parallel (…
ro-i Jul 11, 2025
82a276e
[ARM][WebAssembly] Remove unused PatternMatch namespace. NFC. (#147984)
RKSimon Jul 11, 2025
7eb14d9
[TTI] Fix value-based BasicTTIImpl vp.{gather,scatter} costing (#148020)
lukel97 Jul 11, 2025
9a805ba
[flang][NFC] Fix deprecation warning (#147932)
tblah Jul 11, 2025
aee21c3
[RISCV] AddEdge between mask producer and user of V0 (#146855)
ChunyuLiao Jul 11, 2025
5cd56c9
[MLIR][NVVM] Remove Pure trait from clock, clock64, globaltimer Ops (…
schwarzschild-radius Jul 11, 2025
8472eb1
[AArch64LoadStoreOpt] BaseReg update is searched also in CF successor…
SergeyShch01 Jul 11, 2025
9098bff
[lldb-dap] Add external terminal support (#146950)
DrSergei Jul 11, 2025
95134a6
[AMDGPU] merge-stores.ll - regenerate test checks
RKSimon Jul 11, 2025
2110a77
[AMDGPU] fmuladd.f64.ll - regenerate test checks
RKSimon Jul 11, 2025
5fd319f
[AMDGPU] load-local-i16.ll - regenerate test checks
RKSimon Jul 11, 2025
fa921d1
[Clang][Doc] Add Changelog line for (#144886) (#147978)
jmmartinez Jul 11, 2025
4a35214
[mlir][ODS] Fix TableGen for AttrOrTypeDef::hasStorageCustomConstruct…
andrey-golubev Jul 11, 2025
a61ea9f
[clang-tidy] Add an option in 'readability-named-parameter' to print …
dmpolukhin Jul 11, 2025
96bc07d
[MLIR][OpenMP] Add canonical loop LLVM-IR lowering (#147069)
Meinersbur Jul 11, 2025
a60405c
[LSR] Regenerate test checks (NFC)
nikic Jul 11, 2025
6630cde
[flang][docs] Update release notes for OpenMP (#147988)
tblah Jul 11, 2025
587ba75
[mlir][x86vector] AVX2 I8 Dot Op (#147908)
arun-thmn Jul 11, 2025
a2246ee
[C23] Accept an _Atomic underlying type (#147802)
AaronBallman Jul 11, 2025
567d164
[MLIR] Fix build break in X86VectorDialect.cpp
kparzysz Jul 11, 2025
ea65415
Remove some FIXMEs that no longer apply; NFC
AaronBallman Jul 11, 2025
c040172
[mlir][TableGen] Verify compatibility of tblgen::Method properties (#…
andrey-golubev Jul 11, 2025
638943b
[flang][OpenMP] Convert AST node for ALLOCATORS to use Block as body …
kparzysz Jul 11, 2025
3231cb4
[clang] Fix copy/paste error in vector `__builtin_elementwise_{add,su…
c8ef Jul 11, 2025
b293c8b
[mlir][TosaToLinalg] Ensure valid insertion pointer after op erasure …
matthias-springer Jul 11, 2025
104c426
[AArch64] Remove an unused variable (NFC)
DamonFool Jul 11, 2025
6bcc38e
[FIX] Fix sanitizer-aarch64-linux build after commit 8472eb1361bbabd6…
SergeyShch01 Jul 11, 2025
539991e
[LLDB] Use non synthetic value for MSVC smart ptr check (#148176)
Nerixyz Jul 11, 2025
a9c6f1e
Revert "[LSR] Regenerate test checks (NFC)"
nikic Jul 11, 2025
c0a1825
[BPF] remove_truncate_9.ll - regenerate test checks
RKSimon Jul 11, 2025
61a9d2c
[flang][OpenMP] Use OmpDirectiveSpecification in DISPATCH (#148008)
kparzysz Jul 11, 2025
c5acb3d
[X86][KCFI] Do not require linux triple for kcfi-arity (#148207)
nikic Jul 11, 2025
798f4c1
Revert "[RISCV] AddEdge between mask producer and user of V0 (#146855)"
asb Jul 11, 2025
d386b3b
[SLP] Harmonise findLaneForValue() return type (NFC) (#148232)
gbossu Jul 11, 2025
7c4ef67
[VPlan] Update hasEarlyExit check to consider no-exit block case
annamthomas Jul 9, 2025
fe40358
[LV] Add a statistic for early exit vectorization
annamthomas Jul 7, 2025
d11fd66
[X86] Remove WIDEKL feature from Pantherlake and Clearwaterforest (#1…
phoebewang Jul 11, 2025
38b9c66
[clang][bytecode] Remove needless global check (#148163)
tbaederr Jul 11, 2025
eee723f
[Offload] Replace `GetKernel` with `GetSymbol` with global support (#…
RossBrunton Jul 11, 2025
0f0079c
[X86][GlobalISel] Added support for llvm.get.rounding (#147716)
JaydeepChauhan14 Jul 11, 2025
13bb328
[libc++] XFAIL is_bounded_array.pass.cpp for Android as well
philnik777 Jul 11, 2025
a89021b
[mlir][spirv] Enable dot operation for bfloat16 (#145409)
fairywreath Jul 11, 2025
d7a1754
[clang-tidy][NFC] add '.clang-tidy' config for clang-tidy project (#1…
vbvictor Jul 11, 2025
584ef94
[Clang][AArch64] Relax SVE bf16 requirement for opaque builtins. (#14…
paulwalker-arm Jul 11, 2025
a386d0e
[Github] Bump CI Container to 20.1.8 (#148104)
boomanaiden154 Jul 11, 2025
84e15d0
[Offload] Add `olGetSymbolInfo[Size]` (#147962)
RossBrunton Jul 11, 2025
77914c9
[mlir][Vector] Do not propagate vector.extract on dynamic position (#…
Groverkss Jul 11, 2025
b152611
[NFC][Clang] Merge SVE bfloat specific acle tests with non-bfloat tests.
paulwalker-arm Jul 10, 2025
2c0d563
Add debuginfo C support for a SetType, Subrangetype, dynamic array t…
demoitem Jul 11, 2025
2fdeeef
[Offload] Add global variable address/size queries (#147972)
RossBrunton Jul 11, 2025
535d691
[Clang] Extract offloading code from static libs with 'offload-arch='…
jhuber6 Jul 11, 2025
6882a30
[RISCV] Add BREV8 and ORC_B to hasAllNBitUsers in RISCVOptWInstrs. (#…
topperc Jul 11, 2025
15c3793
[clang][scan-deps] Report a scanned TU's visible modules (#147969)
cyndyishida Jul 11, 2025
1cd2165
[SCEV] Take global variable linkage into account when comparing value…
aeubanks Jul 11, 2025
5c08bfa
[clang][Dependency Scanning] Report only Regular File Size Changes Wh…
qiongsiwu Jul 11, 2025
649347e
[Vectorize] Remove unnecessary casts (NFC) (#148116)
kazutakahirata Jul 11, 2025
8ba7d80
[llvm-dwarfdump] Remove an unnecessary cast (NFC) (#148117)
kazutakahirata Jul 11, 2025
a265829
[llvm-readobj] Remove an unnecessary cast (NFC) (#148118)
kazutakahirata Jul 11, 2025
13c8970
[CIR] Add support for non-virtual base class initialization (#148080)
andykaylor Jul 11, 2025
9adc8dd
When running OS Plugins from dSYM's, make sure start state is correct…
jimingham Jul 11, 2025
b9d8d1e
[libc++][NFC] atomic::wait use public API on macOS (#147146)
huixie90 Jul 11, 2025
df10df8
[CIR] Fold ComplexImagOp from ComplexCreateOp (#148010)
AmrDeveloper Jul 11, 2025
a0fcb50
[ARM] Improve arm_neon.h header diagnostic when included on unsupport…
jroelofs Jul 11, 2025
53183be
[CIR] Fold ComplexRealOp from ComplexCreateOp (#147592)
AmrDeveloper Jul 11, 2025
bfd6bb1
[AMDGPU] Autogenerate gfx1250 vopd tests. NFC. (#147918)
rampitec Jul 11, 2025
6dc193a
[AMDGPU] Negative gfx1250 v_dual_cndmask_b32 tests. NFC. (#148057)
rampitec Jul 11, 2025
3ab95e4
[AArch64] Scalarize v2f16 vecreduce.fadd (#147783)
davemgreen Jul 11, 2025
44baef9
[CIR] Use ZeroAttr as zeroinitializer for ComplexType (#148033)
AmrDeveloper Jul 11, 2025
6563c79
[RISCV] Handle implicit defs when ensuring pseudo dominates in peepho…
lukel97 Jul 11, 2025
bf94c8d
[RISCV][NFC] Split InterleavedAccess related TLI hooks into a separat…
mshockwave Jul 11, 2025
67588d3
[gn build] Port bf94c8ddb321
llvmgnsyncbot Jul 11, 2025
4b73838
[CodeGen] Do not use subsituteRegister to update implicit def (#148068)
PeimingLiu Jul 11, 2025
ac39d26
[MemProf] Don't mutate the function type when calling clone (#147829)
teresajohnson Jul 11, 2025
0a34309
[MLIR][Conversion] Add convert-xevm-to-llvm pass. [Re-attempt] (#148103)
silee2 Jul 11, 2025
1fdbe69
[NVPTX] support f32x2 instructions for sm_100+ (#126337)
Prince781 Jul 11, 2025
9693056
[LAA] Move code to check if access are completely before/after (NFC).
fhahn Jul 11, 2025
e129570
[Uniformity] Legacy PM: Set UniformityInfoWrapperPass isCFGOnly to fa…
J-MR-T Jul 11, 2025
5e0de68
[mlir] Remove unused includes (NFC) (#148119)
kazutakahirata Jul 11, 2025
ed85487
[CIR] Upstream ComplexRealPtrOp for ComplexType (#144235)
AmrDeveloper Jul 11, 2025
a999a1b
[SLP]Remove emission of vector_insert/vector_extract intrinsics
alexey-bataev Jul 11, 2025
fee27b3
[DirectX] Legalize lifetime intrinsics for DXIL (#148003)
Icohedron Jul 11, 2025
a0895d0
AMDGPU: Remove "gds" feature from generic targets (#148269)
changpeng Jul 11, 2025
3092b76
[mlir][vector] Refactor WarpOpScfForOp to support unused or swapped f…
charithaintc Jul 11, 2025
8919364
[VPlan] Remove unused argument from canNarrowLoad (NFC).
fhahn Jul 11, 2025
1d33bba
Revert "[mlir][vector] Refactor WarpOpScfForOp to support unused or s…
charithaintc Jul 11, 2025
136558b
[mlir][cmake] Fix missing entries in `tablegen_compile_commands.yml` …
zero9178 Jul 11, 2025
94bb9e1
[clang-doc] Serialize record files with mangled name (#148021)
evelez7 Jul 11, 2025
2807866
[NFC, SHT_LLVM_BB_ADDR_MAP] Introduce BBEntry::getID to be used downs…
rlavaee Jul 11, 2025
9e90788
[LLDB][NVIDIA] Add Disassembler log channel (#148290)
agontarek Jul 11, 2025
15d36aa
[clang][CodeGen] Preserve addrspace of enqueue_kernel builtin. (#148062)
jofrn Jul 11, 2025
8f37fb2
[mlir][acc] Add MappableType API for generating private recipe init (…
razvanlupusoru Jul 11, 2025
27ccb96
[libc++][NFC] Fix documentation for using the libstdc++ test config
ldionne Jul 11, 2025
f090554
[AMDGPU] MC support for v_fmaak_f64/v_fmamk_f64 gfx1250 intructions (…
rampitec Jul 11, 2025
aa7bf60
[flang][cuda] Fix false positive on unsupported CUDA data transfer (#…
clementval Jul 11, 2025
f9d3278
[Hexagon] Add saturating add instructions (#148132)
Jul 11, 2025
8c1b516
AMDGPU: Implement s_wait_asynccnt and s_wait_tensorcnt for gfx1250 (#…
changpeng Jul 11, 2025
4ce34f1
[HLSL] Disallow writing to readonly resources (#147806)
V-FEXrt Jul 11, 2025
ae7a290
[WIP] Add custom bitcoder
amirnd51 Jul 10, 2025
d903f19
[FIX] Fix sanitizer-aarch64-linux build after commit 8472eb1361bbabd6…
SergeyShch01 Jul 11, 2025
f48fce7
Enhance BitcodeWriter: Add TypedPointerType include and modify NonOpa…
amirnd51 Jul 12, 2025
2ba4df9
Implement writeInstruction method in NonOpaqueTypeModuleWriter for en…
amirnd51 Jul 12, 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
  •  
  •  
  •  
14 changes: 13 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,-misc-use-anonymous-namespace,readability-identifier-naming,-misc-include-cleaner'
Checks: >
-*,
clang-diagnostic-*,
llvm-*,
misc-*,
-misc-const-correctness,
-misc-include-cleaner,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-unused-parameters,
-misc-use-anonymous-namespace,
readability-identifier-naming

CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/containers/github-action-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM docker.io/library/ubuntu:24.04 as base
ENV LLVM_SYSROOT=/opt/llvm

FROM base as stage1-toolchain
ENV LLVM_VERSION=20.1.4
ENV LLVM_VERSION=20.1.8

RUN apt-get update && \
apt-get install -y \
Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ concurrency:
jobs:
stage1:
if: github.repository_owner == 'llvm'
runs-on: libcxx-self-hosted-linux
container: ghcr.io/llvm/libcxx-linux-builder:b060022103f551d8ca1dad84122ef73927c86512
runs-on: llvm-premerge-libcxx-runners
continue-on-error: false
strategy:
fail-fast: false
Expand Down Expand Up @@ -74,8 +73,7 @@ jobs:
**/crash_diagnostics/*
stage2:
if: github.repository_owner == 'llvm'
runs-on: libcxx-self-hosted-linux
container: ghcr.io/llvm/libcxx-linux-builder:2b57ebb50b6d418e70382e655feaa619b558e254
runs-on: llvm-premerge-libcxx-runners
needs: [ stage1 ]
continue-on-error: false
strategy:
Expand Down Expand Up @@ -149,21 +147,20 @@ jobs:
'generic-static',
'bootstrapping-build'
]
machine: [ 'libcxx-self-hosted-linux' ]
machine: [ 'llvm-premerge-libcxx-runners' ]
include:
- config: 'generic-cxx26'
machine: libcxx-self-hosted-linux
machine: llvm-premerge-libcxx-runners
- config: 'generic-asan'
machine: libcxx-self-hosted-linux
machine: llvm-premerge-libcxx-runners
- config: 'generic-tsan'
machine: libcxx-self-hosted-linux
machine: llvm-premerge-libcxx-runners
- config: 'generic-ubsan'
machine: libcxx-self-hosted-linux
machine: llvm-premerge-libcxx-runners
# Use a larger machine for MSAN to avoid timeout and memory allocation issues.
- config: 'generic-msan'
machine: libcxx-self-hosted-linux
machine: llvm-premerge-libcxx-runners
runs-on: ${{ matrix.machine }}
container: ghcr.io/llvm/libcxx-linux-builder:2b57ebb50b6d418e70382e655feaa619b558e254
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: ${{ matrix.config }}
Expand Down
158 changes: 0 additions & 158 deletions .github/workflows/libcxx-restart-preempted-jobs.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pr-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Install clang-format
uses: aminya/setup-cpp@17c11551771948abc5752bbf3183482567c7caf0 # v1.1.1
with:
clangformat: 20.1.5
clangformat: 20.1.8

- name: Setup Python env
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/premerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:

./.ci/monolithic-linux.sh "${projects_to_build}" "${project_check_targets}" "${runtimes_to_build}" "${runtimes_check_targets}" "${runtimes_check_targets_needs_reconfig}"
- name: Upload Artifacts
if: '!cancelled()'
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: Premerge Artifacts (Linux)
Expand Down Expand Up @@ -113,6 +114,7 @@ jobs:
call C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64
bash .ci/monolithic-windows.sh "${{ steps.vars.outputs.windows-projects }}" "${{ steps.vars.outputs.windows-check-targets }}"
- name: Upload Artifacts
if: '!cancelled()'
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: Premerge Artifacts (Windows)
Expand Down
2 changes: 2 additions & 0 deletions clang-tools-extra/clang-doc/BitcodeReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ static llvm::Error parseRecord(const Record &R, unsigned ID,
return decodeRecord(R, I->TagType, Blob);
case RECORD_IS_TYPE_DEF:
return decodeRecord(R, I->IsTypeDef, Blob);
case RECORD_MANGLED_NAME:
return decodeRecord(R, I->MangledName, Blob);
default:
return llvm::createStringError(llvm::inconvertibleErrorCode(),
"invalid field for RecordInfo");
Expand Down
5 changes: 4 additions & 1 deletion clang-tools-extra/clang-doc/BitcodeWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ static const llvm::IndexedMap<RecordIdDsc, RecordIdToIndexFunctor>
{RECORD_LOCATION, {"Location", &genLocationAbbrev}},
{RECORD_TAG_TYPE, {"TagType", &genIntAbbrev}},
{RECORD_IS_TYPE_DEF, {"IsTypeDef", &genBoolAbbrev}},
{RECORD_MANGLED_NAME, {"MangledName", &genStringAbbrev}},
{BASE_RECORD_USR, {"USR", &genSymbolIdAbbrev}},
{BASE_RECORD_NAME, {"Name", &genStringAbbrev}},
{BASE_RECORD_PATH, {"Path", &genStringAbbrev}},
Expand Down Expand Up @@ -271,7 +272,8 @@ static const std::vector<std::pair<BlockId, std::vector<RecordId>>>
// Record Block
{BI_RECORD_BLOCK_ID,
{RECORD_USR, RECORD_NAME, RECORD_PATH, RECORD_DEFLOCATION,
RECORD_LOCATION, RECORD_TAG_TYPE, RECORD_IS_TYPE_DEF}},
RECORD_LOCATION, RECORD_TAG_TYPE, RECORD_IS_TYPE_DEF,
RECORD_MANGLED_NAME}},
// BaseRecord Block
{BI_BASE_RECORD_BLOCK_ID,
{BASE_RECORD_USR, BASE_RECORD_NAME, BASE_RECORD_PATH,
Expand Down Expand Up @@ -616,6 +618,7 @@ void ClangDocBitcodeWriter::emitBlock(const RecordInfo &I) {
emitRecord(I.USR, RECORD_USR);
emitRecord(I.Name, RECORD_NAME);
emitRecord(I.Path, RECORD_PATH);
emitRecord(I.MangledName, RECORD_MANGLED_NAME);
for (const auto &N : I.Namespace)
emitBlock(N, FieldId::F_namespace);
for (const auto &CI : I.Description)
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clang-doc/BitcodeWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ enum RecordId {
RECORD_LOCATION,
RECORD_TAG_TYPE,
RECORD_IS_TYPE_DEF,
RECORD_MANGLED_NAME,
BASE_RECORD_USR,
BASE_RECORD_NAME,
BASE_RECORD_PATH,
Expand Down
21 changes: 19 additions & 2 deletions clang-tools-extra/clang-doc/JSONGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ static void serializeInfo(const RecordInfo &I, json::Object &Obj,
Obj["FullName"] = I.FullName;
Obj["TagType"] = getTagType(I.TagType);
Obj["IsTypedef"] = I.IsTypeDef;
Obj["MangledName"] = I.MangledName;

if (!I.Children.Functions.empty()) {
json::Value PubFunctionsArray = Array();
Expand Down Expand Up @@ -491,6 +492,23 @@ static void serializeInfo(const NamespaceInfo &I, json::Object &Obj,
serializeCommonChildren(I.Children, Obj, RepositoryUrl);
}

static SmallString<16> determineFileName(Info *I, SmallString<128> &Path) {
SmallString<16> FileName;
if (I->IT == InfoType::IT_record) {
auto *RecordSymbolInfo = static_cast<SymbolInfo *>(I);
if (RecordSymbolInfo->MangledName.size() < 255)
FileName = RecordSymbolInfo->MangledName;
else
FileName = toStringRef(toHex(RecordSymbolInfo->USR));
} else if (I->IT == InfoType::IT_namespace && I->Name != "")
// Serialize the global namespace as index.json
FileName = I->Name;
else
FileName = I->getFileBaseName();
sys::path::append(Path, FileName + ".json");
return FileName;
}

Error JSONGenerator::generateDocs(
StringRef RootDir, llvm::StringMap<std::unique_ptr<doc::Info>> Infos,
const ClangDocContext &CDCtx) {
Expand All @@ -501,15 +519,14 @@ Error JSONGenerator::generateDocs(

SmallString<128> Path;
sys::path::native(RootDir, Path);
sys::path::append(Path, Info->getRelativeFilePath(""));
if (!CreatedDirs.contains(Path)) {
if (std::error_code Err = sys::fs::create_directories(Path);
Err != std::error_code())
return createFileError(Twine(Path), Err);
CreatedDirs.insert(Path);
}

sys::path::append(Path, Info->getFileBaseName() + ".json");
SmallString<16> FileName = determineFileName(Info, Path);
FileToInfos[Path].push_back(Info);
}

Expand Down
2 changes: 2 additions & 0 deletions clang-tools-extra/clang-doc/Representation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ void SymbolInfo::merge(SymbolInfo &&Other) {
auto *Last = llvm::unique(Loc);
Loc.erase(Last, Loc.end());
mergeBase(std::move(Other));
if (MangledName.empty())
MangledName = std::move(Other.MangledName);
}

NamespaceInfo::NamespaceInfo(SymbolID USR, StringRef Name, StringRef Path)
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clang-doc/Representation.h
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ struct SymbolInfo : public Info {

std::optional<Location> DefLoc; // Location where this decl is defined.
llvm::SmallVector<Location, 2> Loc; // Locations where this decl is declared.
SmallString<16> MangledName;
bool IsStatic = false;
};

Expand Down
12 changes: 12 additions & 0 deletions clang-tools-extra/clang-doc/Serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "clang/AST/Attr.h"
#include "clang/AST/Comment.h"
#include "clang/AST/DeclFriend.h"
#include "clang/AST/Mangle.h"
#include "clang/Index/USRGeneration.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/StringExtras.h"
Expand Down Expand Up @@ -767,6 +768,17 @@ static void populateSymbolInfo(SymbolInfo &I, const T *D, const FullComment *C,
I.DefLoc = Loc;
else
I.Loc.emplace_back(Loc);

auto *Mangler = ItaniumMangleContext::create(
D->getASTContext(), D->getASTContext().getDiagnostics());
std::string MangledName;
llvm::raw_string_ostream MangledStream(MangledName);
if (auto *CXXD = dyn_cast<CXXRecordDecl>(D))
Mangler->mangleCXXVTable(CXXD, MangledStream);
else
MangledStream << D->getNameAsString();
I.MangledName = MangledName;
delete Mangler;
}

static void
Expand Down
Loading