Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
597 commits
Select commit Hold shift + click to select a range
e73ec1a
[Flang][OpenMP] Add some semantic checks for Linear clause (#111354)
Thirumalai-Shaktivel Dec 6, 2024
4a44e4b
[offload] Remove bogus offload-tblgen check for standalone build (#11…
mgorny Dec 6, 2024
12bdeba
Revert "[Serialization] Support load lazy specialization lazily"
zeroomega Dec 6, 2024
1d95825
[gn build] Port 12bdeba76eef
llvmgnsyncbot Dec 6, 2024
84efad0
[RISCV][MRI] Account for fixed registers when determining callee save…
michaelmaitland Dec 6, 2024
3c83054
[RISCV] Add tests for suboptimal interleave patterns
preames Dec 6, 2024
ca3180a
[LLVM][rtsan] Add module pass to initialize rtsan (#118989)
cjappl Dec 6, 2024
7f7f540
Reapply "[VPlan] Update scalar induction resume values in VPlan. (#11…
fhahn Dec 6, 2024
ab0dc29
[RISCV][GISel] Allow s32 G_PHI for RV64 to support f32 phis.
topperc Dec 6, 2024
131b7fe
[RISCV][VLOPT] Add support for widening integer mul-add instructions …
michaelmaitland Dec 6, 2024
c5e4e8f
[memprof] Add IndexedMemProfData::addCallStack (#118920)
kazutakahirata Dec 6, 2024
1df2855
[HLSL] Add ByteAddressBuffer, RWByteAddressBuffer and RasterizerOrder…
joaosaffran Dec 6, 2024
b23fc2c
[libc++abi] Fix broken check for _LIBCPP_HAS_THREAD_API_PTHREAD (#118…
ldionne Dec 6, 2024
cd74eba
[libc++] Make a few test helper constructors explicit (#118975)
ldionne Dec 6, 2024
516d6ed
[mlir][gpu] Add optional attributes of kernelModule and kernelFunc fo…
wangzpgi Dec 6, 2024
5d9c321
Handle scalable store size in MemCpyOptimizer (#118957)
momchil-velikov Dec 6, 2024
6cb339f
[libc++] Refactor tests for aligned allocation and sized deallocation…
ldionne Dec 6, 2024
7ff8929
[libc] Update fence to use scoped fence now that it's supported (#119…
jhuber6 Dec 6, 2024
4b24ab4
Reland "[NVPTX] Add folding for cvt.rn.bf16x2.f32" (#116417)
AlexMaclean Dec 6, 2024
6797b0f
[VPlan] Use RPOT for VPlan codegen and printing.
fhahn Dec 6, 2024
376dad7
[SLP]Move resulting vector before inert point, if the late generated …
alexey-bataev Dec 6, 2024
f9e1150
[Driver] Normalize the baremetal handling of libc++ and runtimes (#10…
petrhosek Dec 6, 2024
01d8e0f
[lldb] Add a per-CU API to read the SDK (#119022)
adrian-prantl Dec 6, 2024
030bbc9
[SystemZ] Add support for __builtin_setjmp and __builtin_longjmp (#11…
anoopkg6 Dec 6, 2024
832ccfe
[mlir][presburger] NFC: Add missing definition for 'MultiAffineFuncti…
christopherbate Dec 6, 2024
3c47e63
[SystemZ] Fix a warning
kazutakahirata Dec 6, 2024
83ad90d
[AMDGPU] Fix module split's assumption on kernels
scchan Nov 14, 2024
8fc6fca
[clang][AArch64] Avoid a crash when a non-reserved register is used (…
igorkudrin Dec 6, 2024
da65fe1
Revert "[clang][AArch64] Avoid a crash when a non-reserved register i…
igorkudrin Dec 6, 2024
0ee364d
[lldb] Add a compiler/interpreter of LLDB data formatter bytecode to …
adrian-prantl Dec 6, 2024
9ac52ce
[AMDGPU] Add iglp_opt(3) for simple mfma / exp interleaving (#117269)
jrbyrnes Dec 6, 2024
8ab76a4
Revert "[lldb] Add a compiler/interpreter of LLDB data formatter byte…
adrian-prantl Dec 6, 2024
50c0e67
[BOLT][DWARF] Add support for DW_TAG_union_type to DebugNames. (#119023)
ayermolo Dec 6, 2024
9f430bd
Revert "[SystemZ] Fix a warning"
uweigand Dec 6, 2024
8787bc7
Revert "[SystemZ] Add support for __builtin_setjmp and __builtin_long…
uweigand Dec 6, 2024
17a7f20
[clang-tidy][NFC] merge same part matchers in return-const-ref-from-p…
HerrCai0907 Dec 7, 2024
60380cd
[lldb] Add a compiler/interpreter of LLDB data formatter bytecode to …
adrian-prantl Oct 22, 2024
afa2fbf
[Reland][clang][AArch64] Avoid a crash when a non-reserved register i…
igorkudrin Dec 6, 2024
509893b
Reapply "[AMDGPU] prevent shrinking udiv/urem if either operand is in…
choikwa Dec 7, 2024
b504c87
Revert "[lldb] Add a compiler/interpreter of LLDB data formatter byte…
adrian-prantl Dec 7, 2024
fffe8c6
[lldb] Add a compiler/interpreter of LLDB data formatter bytecode to …
adrian-prantl Oct 22, 2024
a07e8cd
[clang-tidy] fix false positive in lambda expr for return-const-ref-f…
HerrCai0907 Dec 7, 2024
02ad623
[RISCV] Prefer strided store for interleave store with one lane activ…
preames Dec 7, 2024
9f98949
[lldb] Move the python module import workaround further up
adrian-prantl Dec 7, 2024
9d64af9
[M68k] Fix -Winconsistent-missing-override after #115756
MaskRay Dec 7, 2024
c49d809
workflows/commit-access-review: Update label name (#118903)
tstellar Dec 7, 2024
0d5ae36
workflows/commit-access-review: Use Python APIs for graphql queries (…
tstellar Dec 7, 2024
18af3fc
[Clang][perf-training] Fix clean command in perf-helper.py (#118978)
tstellar Dec 7, 2024
bcf6f84
Revert "[Clang] Deleting an incomplete enum type is not an error (#11…
cor3ntin Dec 7, 2024
943cc71
[X86][APX] Convert store(cmov(load(x), y), x) to cstore(y, x) (#118946)
phoebewang Dec 7, 2024
3d6b37e
[RuntimeLibcalls] Fix spelling fminmum->fminimum fmaxmum->fmaximum. (…
topperc Dec 7, 2024
52646d0
[GISel] Teach computeKnownBitsImpl to handle COPY instructions that c…
topperc Dec 7, 2024
495816c
[RISCV] Add i16->i32 G_ZEXT/G_SEXT patterns for RV64.
topperc Dec 7, 2024
00090ac
[memprof] Use IndexedMemProfData in tests (NFC) (#119049)
kazutakahirata Dec 7, 2024
32f7f00
[memprof] Use gtest matchers at more places (#119050)
kazutakahirata Dec 7, 2024
37606b4
Reland "[NFC] Move DroppedVariableStats to its own file and redesign …
rastogishubham Dec 7, 2024
e0ed033
Reland "[ARM] Stop gluing ALU nodes to branches / selects" (#118887)
s-barannikov Dec 7, 2024
abc4183
Revert "Reland "[NFC] Move DroppedVariableStats to its own file and r…
rastogishubham Dec 7, 2024
d76650b
[clang-format] Clean up cmake target clang-format-check-format
owenca Dec 7, 2024
156da98
[VPlan] Move printing final VPlan to ::execute (NFC).
fhahn Dec 7, 2024
570ecdc
[ORC] Introduce LazyReexportsManager, JITLinkTrampolines, ORC-RT base…
lhames Dec 7, 2024
5c8ed3a
[gn build] Port 570ecdcf8b44
llvmgnsyncbot Dec 7, 2024
ec22b1a
[VPlan] Iterate over blocks in VPlan::execute in RPOT (NFC).
fhahn Dec 7, 2024
bc624a5
[mlir][vector][nfc] Update vector-to-llvm.mlir (#118112)
banach-space Dec 7, 2024
6073dd9
Revert "[ORC] Introduce LazyReexportsManager, JITLinkTrampolines, … (…
lhames Dec 7, 2024
755519f
[clang][driver] Use $ prefix with config file options to have them ad…
pawosm-arm Dec 7, 2024
66424b1
[gn build] Port 6073dd923b82
llvmgnsyncbot Dec 7, 2024
0cedb8f
[LV] Update checks to actually check VPlan for correct function.
fhahn Dec 7, 2024
b4150ed
[clang][bytecode] Check composite bitcasts for indeterminate bits (#1…
tbaederr Dec 7, 2024
416e4cd
[clang][bytecode][NFC] Remove leftover debug output
tbaederr Dec 7, 2024
94c6dd6
[docs] Update release notes for APX relocation types (#118575)
fzou1 Dec 7, 2024
4bdac08
[rtsan] Warn if instrumented rtsan library opened via dlopen and inte…
cjappl Dec 7, 2024
ccdd284
[AArch64][GlobalISel] Add test coverage for reverse shuffles. NFC
davemgreen Dec 7, 2024
69227a1
[offload] Support LIBOMPTARGET_DEVICE_ARCHITECTURES={amdgpu|nvptx} (#…
mgorny Dec 7, 2024
342c8db
[rtsan] NFC: Docs update adding links to Disabling, adding a few ` ma…
cjappl Dec 7, 2024
3f458cd
[Clang] Warning as error Array Comparisons from C++26 (#118872)
AmrDeveloper Dec 7, 2024
427172a
[memprof] Remove a stale comment in a unit test (#119060)
kazutakahirata Dec 7, 2024
4cf0bd8
[memprof] Add getMemProfDataForTest for unit tests (#119061)
kazutakahirata Dec 7, 2024
8eb5baf
[memprof] Use IndexedMemProfData in a unit test (NFC) (#119062)
kazutakahirata Dec 7, 2024
aebd338
[AMDGPU] Fix user SGPR alloc order in docs (#119092)
kerbowa Dec 7, 2024
66f9448
[NFC][ubsan] Pre-commit test with missed optimization (#119012)
vitalybuka Dec 7, 2024
1f9f68a
[BalancedPartitioning] Fix -Wdeprecated-this-capture
MaskRay Dec 7, 2024
e5480f5
[mlir][docs] Fix typos in documentation for MLIR tensor dialect (#119…
e3m3 Dec 7, 2024
639e1fa
[IntervalMap] Fix -Wdeprecated-anon-enum-enum-conversion due to Instr…
MaskRay Dec 7, 2024
7787328
[ubsan] Improve lowering of @llvm.allow.ubsan.check (#119013)
vitalybuka Dec 8, 2024
4153c2d
[ProfileData] Avoid deprecated is_pod
MaskRay Dec 8, 2024
cb61a5e
[clang-format] Fix an assertion failure in RemoveSemicolon (#117472)
owenca Dec 8, 2024
70c1764
[clang] [Sema] Preserve nested name specifier prefix in MemberPointer…
HighCommander4 Dec 8, 2024
f0297ae
Switch the intrinsic names to a string table (#118929)
chandlerc Dec 8, 2024
16c2a10
Revert "[flang] Allow to pass an async id to allocate the descriptor …
clementval Dec 8, 2024
9a156f6
[sanitizer] Replace uptr by usize/SIZE_T in interfaces
stefan-sf-ibm Nov 27, 2024
684e79f
[memprof] Add YAML read/write support to llvm-profdata (#118915)
kazutakahirata Dec 8, 2024
ae5fdae
[ELF] Simplify printLocation
MaskRay Dec 8, 2024
ce44640
[sanitizer] Add type __sanitizer::ssize (#116957)
stefan-sf-ibm Dec 8, 2024
8669028
[ELF] Remove unneeded sym->file check
MaskRay Dec 8, 2024
6dec338
[sanitizer] Fix few size types in memprof (#119114)
vitalybuka Dec 8, 2024
118f7b9
[sancov] Regenerate test (#119115)
vitalybuka Dec 8, 2024
f4f6566
[InstCombine] Fix type mismatch in `foldICmpBinOpEqualityWithConstant…
dtcxzyw Dec 8, 2024
6b1c357
[clang-format] Add cmake target clang-format-help to update ClangForm…
owenca Dec 8, 2024
d31fb26
[ELF] Simplify includeInDynsym for --dynamic-list
MaskRay Dec 8, 2024
eeadd01
[clang-format] Also check ClangFormat.rst is up to date in docs_updat…
owenca Dec 8, 2024
7bad469
[amdgpu][lds] Simplify error diag path - lds variable names are no lo…
JonChesterfield Dec 8, 2024
4e0ba80
Revert "[amdgpu][lds] Simplify error diag path - lds variable names a…
JonChesterfield Dec 8, 2024
25dcee4
[NFC] Pre commit test for fold trunc nuw X to i1 -> true IFF X != 0
andjo403 Dec 8, 2024
9eb4056
[mlir][llvm] Translation support for task detach (#116601)
NimishMishra Dec 8, 2024
fc2cc01
[GlobalISel] list undocumented opcodes in docs (#119089)
tschuett Dec 8, 2024
6c062af
[memprof] Compare Frames instead of FrameIds in a unit test (#119111)
kazutakahirata Dec 8, 2024
aedc81b
[ELF] Remove unneeded sym->inDynamicList check
MaskRay Dec 8, 2024
c650880
[ELF] Simplify handling of exportDynamic and canBeOmittedFromSymbolTable
MaskRay Dec 8, 2024
8843d2b
[rtsan] Add `verify_interceptors` flag to docs (#119074)
cjappl Dec 8, 2024
1fbbf4c
[clang][bytecode] Pass (float) BitWidth to DoBitCast (#119119)
tbaederr Dec 8, 2024
b1d4246
[AMDGPU] Fix hidden kernarg preload count inconsistency (#116759)
kerbowa Dec 8, 2024
2ab687e
[compiler-rt][rtsan] fdopen/freopen(64) support. (#119100)
devnexen Dec 8, 2024
b0f0676
[AArch64] Implement intrinsics for SME FP8 F1CVT/F2CVT and BF1CVT/BF2…
SpencerAbson Dec 8, 2024
b6dfdd2
[memprof] Drop memprof:: in unit tests (NFC) (#119113)
kazutakahirata Dec 8, 2024
2b129da
[ELF] Optimize parseSymbolVersion
MaskRay Dec 8, 2024
bd07e87
[NFC] Pre commit test for fold trunc nsw X to i1 -> true IFF X != 0
andjo403 Dec 8, 2024
47df46b
[InstSimplify] Add basic constant folding for `llvm.sincos` (#114527)
MacDue Dec 8, 2024
afef545
[VPlan] Address post-commit for #114305.
fhahn Dec 8, 2024
855bc46
[InstCombine] Fold trunc nuw/nsw X to i1 -> true IFF X != 0 (#119131)
andjo403 Dec 8, 2024
c4aa67e
Revert "[InstSimplify] Add basic constant folding for `llvm.sincos`" …
MacDue Dec 8, 2024
eff0d81
[VPlan] Adjust original position of convertToConcreteRecipes.
fhahn Dec 8, 2024
1dfa34c
[AArch64] Extended Dup test coverage. NFC
davemgreen Dec 8, 2024
fe0d0a9
[ELF] Merge numSymbols and numELFSyms
MaskRay Dec 8, 2024
a1197a2
[AArch64] Add initial support for FUJITSU-MONAKA (#118432)
kinoshita-fj Dec 9, 2024
41652c6
Reapply "[ORC] Introduce LazyReexportsManager, … (#118923)" with fixes
lhames Dec 8, 2024
8569b47
[gn build] Port 41652c6c9295
llvmgnsyncbot Dec 9, 2024
f91a5fe
[libc] fix woa64 fenv implementation (#119155)
SchrodingerZhu Dec 9, 2024
f145ff3
[clang] constexpr built-in elementwise add_sat/sub_sat functions. (#…
c8ef Dec 9, 2024
74e8a37
Revert "Reapply "[ORC] Introduce LazyReexportsManager, … (#118923)" w…
lhames Dec 9, 2024
a00eab6
[gn build] Port 74e8a37ff32e
llvmgnsyncbot Dec 9, 2024
18538e2
Revert "[ELF] Optimize parseSymbolVersion"
MaskRay Dec 9, 2024
712264b
[ELF] Merge parseSymbolVersion and computeIspreemptible
MaskRay Dec 9, 2024
a4506bb
[Clang] Recurse into parsing when using pack-indexing as a specifier …
zyn0217 Dec 9, 2024
b33c807
[AMDGPU] Add MaxMemoryClauseSchedStrategy (#114957)
ruiling Dec 9, 2024
f6c51ea
[ORC-RT] Fix unit tests on Linux.
lhames Dec 9, 2024
be2df95
Switch builtin strings to use string tables (#118734)
chandlerc Dec 9, 2024
44c645f
[libc] Fix overlay mode inclusion for fcntl.h header. (#119159)
lntue Dec 9, 2024
f2d18a4
Reapply "[ORC] Introduce LazyReexportsManager, ... (#118923)" with fi…
lhames Dec 9, 2024
8b041fa
[gn build] Port f2d18a4d00c5
llvmgnsyncbot Dec 9, 2024
170467e
[libc] fix 32bit riscv atomic tests (#119087)
SchrodingerZhu Dec 9, 2024
4228a6e
[msan] Add test for Arm NEON vmul (#117935)
thurstond Dec 9, 2024
4dcc2f5
[libc] Replace LLVM_COMPILER_IS_GCC_COMPATIBLE with a local check. (#…
lntue Dec 9, 2024
d6501dc
[X86][AVX512] Check input-types to COMX (#118606)
abhishek-kaushik22 Dec 9, 2024
eaa1b05
[LVI] Thread binop over select with constant arms (#110212)
dtcxzyw Dec 9, 2024
9514a77
[SPIR-V] [NFC] Verify cl_intel_subgroup_local_block_io extension in S…
vmaksimo Dec 9, 2024
6b93a1f
[compiler-rt] fix __sanitizer::struct_sock_fprog_sz availability (#11…
devnexen Dec 9, 2024
3733ed6
[ELF] Introduce Symbol::isExported to cache includeInDynsym
MaskRay Dec 9, 2024
6a137fb
[memprof] Use namespaces in a unit test (#119144)
kazutakahirata Dec 9, 2024
0b0d9a3
[CodeGen] [AMDGPU] Attempt DAGCombine for fmul with select to ldexp (…
vg0204 Dec 9, 2024
26760c7
[clangd] Add clarifying comment about when Dex::IdxContents is popula…
HighCommander4 Dec 9, 2024
e0ea9fd
[RISCV][GISel] Lower G_SCMP and G_UCMP. (#119112)
topperc Dec 9, 2024
beea456
[Mips] Fix result type of MAdd/MSub nodes (#117455)
s-barannikov Dec 9, 2024
9a415f6
[GlobalISel] Fold ptrtoint(undef) and inttoptr(undef) to undef. (#119…
davemgreen Dec 9, 2024
411df3b
[clang-format] Make command lines of dump_format_[style|help].py cons…
owenca Dec 9, 2024
6d759f8
[Clang] Deleting an incomplete enum type is not an error (#119077)
cor3ntin Dec 9, 2024
98b694b
[AArch64] Fix range check for STGPostIndex (#117146)
ostannard Dec 9, 2024
01710aa
[clang] Fix cast for injected types in case name lookup for dependent…
vbe-sc Dec 9, 2024
62a25a4
[InstSimplify] Remove foldSelectWithBinaryOp (#118913)
glyh Dec 9, 2024
f9d6d46
[AMDGPU] Add assembler/disassembler support for v_dual_dot2acc_f32_bf…
jayfoad Dec 9, 2024
9aa7041
[X86] Canonicalize VPERMV3 to VPERMV if both sources are the same.
RKSimon Dec 9, 2024
6a52a51
[X86] IceLakeServer - fix port usage for PINSR instructions
RKSimon Dec 9, 2024
8630a7b
Reapply "[DAGCombiner] Add support for scalarising extracts of a vect…
david-arm Dec 9, 2024
99f6ca9
[AArch64] Implement intrinsics for SME FP8 FMOPA (#118115)
SpencerAbson Dec 9, 2024
24561f4
Reland "[InstSimplify] Add basic constant folding for `llvm.sincos`" …
MacDue Dec 9, 2024
fbbea89
[profile] Perform pointer arithmetic in uintptr_t (#118944)
nikic Dec 9, 2024
46e04f7
[MemorySSA] Handle MemoryDef optimized away during cloning (#117883)
nikic Dec 9, 2024
457e14b
[LLD][ARM] Arm v6-m should not use short Thunks. (#118111)
smithp35 Dec 9, 2024
bbd99d9
[compiler-rt][AArch64] NFCI: Remove sme-abi-vg.c (#119193)
sdesmalen-arm Dec 9, 2024
00b50c9
[clang][bytecode] Handle __builtin_wcslen (#119187)
tbaederr Dec 9, 2024
20d4742
[LoongArch] Pre-commit tests for vector type llvm.bitreverse. NFC (#1…
zhaoqi5 Dec 9, 2024
1004496
[AMDGPU] New GFX11+ aliases v_dot4_i32_i8 and v_dot8_i32_i4 (#118997)
jayfoad Dec 9, 2024
078b60d
[X86] Only fold to v16i32 VPDPWSSD on targets with useAVX512Regs enab…
RKSimon Dec 9, 2024
669f704
[Flang][LoongArch] Enable clang command-line options in flang. (#118244)
ylzsx Dec 9, 2024
7831c5e
[VectorCombine] Pull out TargetCostKind argument to allow globally se…
RKSimon Dec 9, 2024
00b07aa
[Hexagon][NFC] Switch regalloc-bad-undef.mir to use generated CHECKs
wangpc-pp Dec 9, 2024
e529681
[NFC][Utils] Clone basic blocks after we're done with metadata in Clo…
artempyanykh Dec 9, 2024
9328cc0
[VectorCombine] Add explicit CostKind to all getShuffleCost calls. NFC.
RKSimon Dec 9, 2024
37cb9bd
[VectorCombine] Add explicit CostKind to all getArithmeticInstrCost c…
RKSimon Dec 9, 2024
1db2d57
[llvm][TableGen] Fix misleading error for invalid use of let (#118616)
DavidSpickett Dec 9, 2024
4f08fa1
[clang] Fix -Wunused-variable in InterpBuiltin.cpp (NFC)
DamonFool Dec 9, 2024
b3e4987
[VectorCombine] Add explicit CostKind to all getCmpSelInstrCost calls…
RKSimon Dec 9, 2024
0e70e0e
[reapply (#118463)][OpenMP][OMPIRBuilder] Add delayed privatization s…
ergawy Dec 9, 2024
54c6a59
[VectorCombine] Add explicit CostKind to all getMemoryOpCost calls. NFC.
RKSimon Dec 9, 2024
de759d6
[TTI] TargetTransformInfo::getPointersChainCost - fix formatting. NFC.
RKSimon Dec 9, 2024
788d5a5
[polly] Add a Maintainers.md file
DavidSpickett Dec 2, 2024
b9a2097
[libc] Remove unused target conditionals for Apple platforms (#119030)
ldionne Dec 9, 2024
254d206
Revert "Reapply "[AMDGPU] prevent shrinking udiv/urem if either opera…
jhuber6 Dec 9, 2024
a5e87c6
[libc++] Try fixing the preemption detection regex
ldionne Dec 9, 2024
0e34f3f
[libc++] Extract a clean base support API for std::atomic (#118129)
ldionne Dec 9, 2024
9ddc31d
[AMDGPU] New GFX12 aliases lds_direct_load and lds_param_load (#119205)
jayfoad Dec 9, 2024
f22ecdd
[libc++] Move out `flat_map::iterator` (for reusing it in flat_multi…
huixie90 Dec 9, 2024
0bb7bd4
[AArch64] Runtime-unroll small load/store loops for Apple Silicon CPU…
fhahn Dec 9, 2024
70e343b
[gn build] Port 0e34f3f4968d
llvmgnsyncbot Dec 9, 2024
9e6e7c6
[gn build] Port f22ecdd9b994
llvmgnsyncbot Dec 9, 2024
290a111
[docs] Add a brief description of using -fveclib to enable some math …
RKSimon Dec 9, 2024
d1cf86f
[AMDGPU] Add GFX12 assembler/disassembler support for v_dual_dot2acc_…
jayfoad Dec 9, 2024
d17e51f
[clang][bytecode] Handle __builtin_strncmp (#119208)
tbaederr Dec 9, 2024
cc569a3
[AA] Export the isBaseOfObject() API (NFC)
nikic Dec 9, 2024
24feee6
[AMDGPU] New GFX12 aliases bvh_intersect_ray and similar (#119213)
jayfoad Dec 9, 2024
646d185
[LV] Pre-commit extra test for fixed width VF fully unrolled loop cos…
igogo-x86 Dec 9, 2024
10f315d
[ConstantFolding] Infer getelementptr nuw flag (#119214)
nikic Dec 9, 2024
1ca3927
[flang] Added definition of hlfir.cshift operation. (#118732)
vzakhari Dec 9, 2024
084451c
[flang] Do not inline SUM with invalid DIM argument. (#118911)
vzakhari Dec 9, 2024
664a226
AMDGPU: Propagate amdgpu-max-num-workgroups attribute (#113018)
arsenm Dec 9, 2024
6168739
[clang][bytecode] Reject memcpy sizes with element size remainder (#1…
tbaederr Dec 9, 2024
009368f
AMDGPU: Mark grid size loads with range metadata (#113019)
arsenm Dec 9, 2024
fea7b65
[RISCV] Add Vendor Reloc and Fallback Names (#116974)
lenary Dec 9, 2024
ec27eb8
[OpenMP] Fix interoperability test compilation on OpenBSD (#119053)
brad0 Dec 9, 2024
c900954
[libc++] Run the LLDB data formatter tests after libc++'s own tests (…
ldionne Dec 9, 2024
ce77719
[libc++][C++03] Update include guards (#109001)
philnik777 Dec 9, 2024
117cfa6
[lldb] Improving unit test helpers by utilizing llvm helpers. (#119148)
ashgti Dec 9, 2024
10ef00f
[libc++][NFC] Run clang-format on test_allocator.h
ldionne Dec 9, 2024
1094641
[Clang] allow usage of placement new operator in [[msvc::constexpr]] …
a-tarasyuk Dec 9, 2024
4c4606a
[libc++] Add missing assertion in std::span constructor (#118396)
ldionne Dec 9, 2024
85142f5
[AMDGPU][True16][CodeGen] support for true16 for vinterp 16bit instru…
broxigarchen Dec 9, 2024
d5fe633
[nfc][clang-offload-bundler] Don't leak on exit(1) (#119178)
vitalybuka Dec 9, 2024
213c90d
[win/asan] GetInstructionSize: Fix `41 81 7c ...` to return 9. (#117828)
bernhardu Dec 9, 2024
bf6f1ca
[win/asan] GetInstructionSize: Make `F6 C1 XX` a generic entry. (#118…
bernhardu Dec 9, 2024
2344cc4
[Flang] Update Maintainers (#117124)
kiranchandramohan Dec 9, 2024
b6c22a4
Add processor aliases back to -print-supported-cpus and -mcpu=help (#…
jroelofs Dec 9, 2024
4646cab
[SanitizerCoverage] Avoid unnecessary inttoptr
arichardson Dec 9, 2024
fac9fcd
[libcxxabi] Always link against libzircon for Fuchsia targets (#115910)
ilovepi Dec 9, 2024
57545db
[Fuchsia][cmake] Allow using FatLTO when building runtimes (#112277)
ilovepi Dec 9, 2024
4e59721
[Flang][OpenMP] Make boxed procedure pass aware of OpenMP private ops…
kiranchandramohan Dec 9, 2024
1708519
[memprof] Use std::make_unique in unit tests (NFC) (#119175)
kazutakahirata Dec 9, 2024
624e89b
[memprof] Use namespace scopes in unit tests (NFC) (#119176)
kazutakahirata Dec 9, 2024
83cb3db
[Serialization] Migrate away from PointerUnion::{is,get} (NFC) (#118948)
kazutakahirata Dec 9, 2024
73adf26
[clangd] Handle DeducedTemplateSpecializationType in HeuristicResolve…
HighCommander4 Dec 9, 2024
337936a
[LV] Ignore some costs when loop gets fully unrolled (#106699)
igogo-x86 Dec 9, 2024
9099d69
[Vectorize] Fix a warning
kazutakahirata Dec 9, 2024
bef5623
[WinMsvc] Update `-fms-compatibility-version`
smeenai Dec 9, 2024
53fd724
[lldb] Add lookup by name to SBValue through new member property (#11…
kastiglione Dec 9, 2024
110b891
[flang] Added lowering for hlfir.cshift operation. (#118918)
vzakhari Dec 9, 2024
1a781e9
[libc] Add missing casts in StrtolTest (#119054)
frobtech Dec 9, 2024
3d94a20
[libc] Fix multiply-defined global functions in ctype tests (#119055)
frobtech Dec 9, 2024
511e84f
[clang][docs] fix rendering of `$`-prefixed options (#119249)
carlocab Dec 9, 2024
1cbd67e
Revert "[Fuchsia][cmake] Allow using FatLTO when building runtimes" (…
ilovepi Dec 9, 2024
e81130a
Revert "[AMDGPU][True16][MC] remove duplicated test line in VOP2 test…
broxigarchen Dec 9, 2024
3b74abd
[msan] Support NEON vector multiplication instructions (#117944)
thurstond Dec 9, 2024
0f7b3a9
Revert "[AMDGPU][True16][MC] update vop2 mc test with update script (…
broxigarchen Dec 9, 2024
42633cf
[SPIR-V] Improve general validity of emitted code between passes (#11…
VyacheslavLevytskyy Dec 9, 2024
a4e2927
[libc][docs] add c11 threads and uchar (#119250)
nickdesaulniers Dec 9, 2024
e55c167
[TargetLowering] Return Align from getByValTypeAlignment (NFC) (#119233)
s-barannikov Dec 9, 2024
f5f9650
Move interceptors for libresolv functions to MSan (#119071)
aaronpuchert Dec 9, 2024
f15cc6f
[libc] add multi-platform pre-commit github actions (#119104)
SchrodingerZhu Dec 9, 2024
1d4b5c1
[flang][cuda] Change how abstract result pass is scheduled on func.fu…
clementval Dec 9, 2024
e244c52
[AutoBump] Merge with fixes of 72086490 (Dec 04)
jorickert Mar 17, 2025
7b1f15a
[AutoBump] Merge with 1d4b5c16 (Dec 09)
jorickert Mar 17, 2025
5214f05
Merge pull request #491 from Xilinx/bump_to_1d4b5c16
jorickert Apr 14, 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.
117 changes: 47 additions & 70 deletions .github/workflows/commit-access-review.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,57 +62,9 @@ def __repr__(self):
)


def run_graphql_query(
query: str, variables: dict, token: str, retry: bool = True
) -> dict:
"""
This function submits a graphql query and returns the results as a
dictionary.
"""
s = requests.Session()
retries = requests.adapters.Retry(total=8, backoff_factor=2, status_forcelist=[504])
s.mount("https://", requests.adapters.HTTPAdapter(max_retries=retries))

headers = {
"Authorization": "bearer {}".format(token),
# See
# https://github.blog/2021-11-16-graphql-global-id-migration-update/
"X-Github-Next-Global-ID": "1",
}
request = s.post(
url="https://api.github.com/graphql",
json={"query": query, "variables": variables},
headers=headers,
)

rate_limit = request.headers.get("X-RateLimit-Remaining")
print(rate_limit)
if rate_limit and int(rate_limit) < 10:
reset_time = int(request.headers["X-RateLimit-Reset"])
while reset_time - int(time.time()) > 0:
time.sleep(60)
print(
"Waiting until rate limit reset",
reset_time - int(time.time()),
"seconds remaining",
)

if request.status_code == 200:
if "data" not in request.json():
print(request.json())
sys.exit(1)
return request.json()["data"]
elif retry:
return run_graphql_query(query, variables, token, False)
else:
raise Exception(
"Failed to run graphql query\nquery: {}\nerror: {}".format(
query, request.json()
)
)


def check_manual_requests(start_date: datetime.datetime, token: str) -> list[str]:
def check_manual_requests(
gh: github.Github, start_date: datetime.datetime
) -> list[str]:
"""
Return a list of users who have been asked since ``start_date`` if they
want to keep their commit access.
Expand All @@ -137,18 +89,21 @@ def check_manual_requests(start_date: datetime.datetime, token: str) -> list[str
"""
formatted_start_date = start_date.strftime("%Y-%m-%dT%H:%M:%S")
variables = {
"query": f"type:issue created:>{formatted_start_date} org:llvm repo:llvm-project label:infrastructure:commit-access"
"query": f"type:issue created:>{formatted_start_date} org:llvm repo:llvm-project label:infra:commit-access"
}

data = run_graphql_query(query, variables, token)
res_header, res_data = gh._Github__requester.graphql_query(
query=query, variables=variables
)
data = res_data["data"]
users = []
for issue in data["search"]["nodes"]:
users.extend([user[1:] for user in re.findall("@[^ ,\n]+", issue["body"])])

return users


def get_num_commits(user: str, start_date: datetime.datetime, token: str) -> int:
def get_num_commits(gh: github.Github, user: str, start_date: datetime.datetime) -> int:
"""
Get number of commits that ``user`` has been made since ``start_date`.
"""
Expand All @@ -166,7 +121,10 @@ def get_num_commits(user: str, start_date: datetime.datetime, token: str) -> int
}
"""

data = run_graphql_query(user_query, variables, token)
res_header, res_data = gh._Github__requester.graphql_query(
query=user_query, variables=variables
)
data = res_data["data"]
variables["user_id"] = data["user"]["id"]

query = """
Expand All @@ -193,7 +151,10 @@ def get_num_commits(user: str, start_date: datetime.datetime, token: str) -> int
}
"""
count = 0
data = run_graphql_query(query, variables, token)
res_header, res_data = gh._Github__requester.graphql_query(
query=query, variables=variables
)
data = res_data["data"]
for repo in data["organization"]["teams"]["nodes"][0]["repositories"]["nodes"]:
count += int(repo["ref"]["target"]["history"]["totalCount"])
if count >= User.THRESHOLD:
Expand All @@ -202,7 +163,7 @@ def get_num_commits(user: str, start_date: datetime.datetime, token: str) -> int


def is_new_committer_query_repo(
user: str, start_date: datetime.datetime, token: str
gh: github.Github, user: str, start_date: datetime.datetime
) -> bool:
"""
Determine if ``user`` is a new committer. A new committer can keep their
Expand All @@ -220,7 +181,10 @@ def is_new_committer_query_repo(
}
"""

data = run_graphql_query(user_query, variables, token)
res_header, res_data = gh._Github__requester.graphql_query(
query=user_query, variables=variables
)
data = res_data["data"]
variables["owner"] = "llvm"
variables["user_id"] = data["user"]["id"]
variables["start_date"] = start_date.strftime("%Y-%m-%dT%H:%M:%S")
Expand All @@ -245,7 +209,10 @@ def is_new_committer_query_repo(
}
"""

data = run_graphql_query(query, variables, token)
res_header, res_data = gh._Github__requester.graphql_query(
query=query, variables=variables
)
data = res_data["data"]
repo = data["organization"]["repository"]
commits = repo["ref"]["target"]["history"]["nodes"]
if len(commits) == 0:
Expand All @@ -256,18 +223,22 @@ def is_new_committer_query_repo(
return True


def is_new_committer(user: str, start_date: datetime.datetime, token: str) -> bool:
def is_new_committer(
gh: github.Github, user: str, start_date: datetime.datetime
) -> bool:
"""
Wrapper around is_new_commiter_query_repo to handle exceptions.
"""
try:
return is_new_committer_query_repo(user, start_date, token)
return is_new_committer_query_repo(gh, user, start_date)
except:
pass
return True


def get_review_count(user: str, start_date: datetime.datetime, token: str) -> int:
def get_review_count(
gh: github.Github, user: str, start_date: datetime.datetime
) -> int:
"""
Return the number of reviews that ``user`` has done since ``start_date``.
"""
Expand All @@ -286,11 +257,14 @@ def get_review_count(user: str, start_date: datetime.datetime, token: str) -> in
"query": f"type:pr commenter:{user} -author:{user} merged:>{formatted_start_date} org:llvm",
}

data = run_graphql_query(query, variables, token)
res_header, res_data = gh._Github__requester.graphql_query(
query=query, variables=variables
)
data = res_data["data"]
return int(data["search"]["issueCount"])


def count_prs(triage_list: dict, start_date: datetime.datetime, token: str):
def count_prs(gh: github.Github, triage_list: dict, start_date: datetime.datetime):
"""
Fetch all the merged PRs for the project since ``start_date`` and update
``triage_list`` with the number of PRs merged for each user.
Expand Down Expand Up @@ -329,7 +303,10 @@ def count_prs(triage_list: dict, start_date: datetime.datetime, token: str):
has_next_page = True
while has_next_page:
print(variables)
data = run_graphql_query(query, variables, token)
res_header, res_data = gh._Github__requester.graphql_query(
query=query, variables=variables
)
data = res_data["data"]
for pr in data["search"]["nodes"]:
# Users can be None if the user has been deleted.
if not pr["author"]:
Expand Down Expand Up @@ -365,14 +342,14 @@ def main():

print("Start:", len(triage_list), "triagers")
# Step 0 Check if users have requested commit access in the last year.
for user in check_manual_requests(one_year_ago, token):
for user in check_manual_requests(gh, one_year_ago):
if user in triage_list:
print(user, "requested commit access in the last year.")
del triage_list[user]
print("After Request Check:", len(triage_list), "triagers")

# Step 1 count all PRs authored or merged
count_prs(triage_list, one_year_ago, token)
count_prs(gh, triage_list, one_year_ago)

print("After PRs:", len(triage_list), "triagers")

Expand All @@ -381,7 +358,7 @@ def main():

# Step 2 check for reviews
for user in list(triage_list.keys()):
review_count = get_review_count(user, one_year_ago, token)
review_count = get_review_count(gh, user, one_year_ago)
triage_list[user].add_reviewed(review_count)

print("After Reviews:", len(triage_list), "triagers")
Expand All @@ -391,7 +368,7 @@ def main():

# Step 3 check for number of commits
for user in list(triage_list.keys()):
num_commits = get_num_commits(user, one_year_ago, token)
num_commits = get_num_commits(gh, user, one_year_ago)
# Override the total number of commits to not double count commits and
# authored PRs.
triage_list[user].set_authored(num_commits)
Expand All @@ -401,7 +378,7 @@ def main():
# Step 4 check for new committers
for user in list(triage_list.keys()):
print("Checking", user)
if is_new_committer(user, one_year_ago, token):
if is_new_committer(gh, user, one_year_ago):
print("Removing new committer: ", user)
del triage_list[user]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,14 @@ jobs:
cmake -B libunwind-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_RUNTIMES="libunwind" -DLLVM_ENABLE_SPHINX=ON ./runtimes
TZ=UTC ninja -C libunwind-build docs-libunwind-html
mkdir built-docs/libunwind
cp -r libunwind-build/docs/* built-docs/libunwind
cp -r libunwind-build/libunwind/docs/* built-docs/libunwind
- name: Build libcxx docs
if: steps.docs-changed-subprojects.outputs.libcxx_any_changed == 'true'
run: |
cmake -B libcxx-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_RUNTIMES="libcxxabi;libcxx;libunwind" -DLLVM_ENABLE_SPHINX=ON ./runtimes
TZ=UTC ninja -C libcxx-build docs-libcxx-html
mkdir built-docs/libcxx
cp -r libcxx-build/docs/* built-docs/libcxx/
cp -r libcxx-build/libcxx/docs/* built-docs/libcxx/
- name: Build libc docs
if: steps.docs-changed-subprojects.outputs.libc_any_changed == 'true'
run: |
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/libc-fullbuild-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# This workflow is for pre-commit testing of the LLVM-libc project.
name: LLVM-libc Pre-commit Fullbuild Tests

on:
pull_request:
branches: [ "main" ]
paths:
- 'libc/**'
- '.github/workflows/libc-fullbuild-tests.yml'

jobs:
build:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
- c_compiler: clang
cpp_compiler: clang++
# TODO: add back gcc build when it is fixed
# - c_compiler: gcc
# cpp_compiler: g++
steps:
- uses: actions/checkout@v4

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
max-size: 1G
key: libc_fullbuild_${{ matrix.c_compiler }}
variant: sccache

- name: Prepare dependencies (Ubuntu)
run: |
sudo apt-get update
sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build linux-headers-generic linux-libc-dev
sudo ln -sf /usr/include/$(uname -p)-linux-gnu/asm /usr/include/asm

- name: Set reusable strings
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
echo "build-install-dir=${{ github.workspace }}/install" >> "$GITHUB_OUTPUT"

- name: Configure CMake
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=MinSizeRel
-DCMAKE_C_COMPILER_LAUNCHER=sccache
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
-DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.build-install-dir }}
-DLLVM_ENABLE_RUNTIMES="libc;compiler-rt"
-DLLVM_LIBC_FULL_BUILD=ON
-DLLVM_LIBC_INCLUDE_SCUDO=ON
-DCOMPILER_RT_BUILD_SCUDO_STANDALONE_WITH_LLVM_LIBC=ON
-DCOMPILER_RT_BUILD_GWP_ASAN=OFF
-DCOMPILER_RT_SCUDO_STANDALONE_BUILD_SHARED=OFF
-G Ninja
-S ${{ github.workspace }}/runtimes

- name: Build
run: >
cmake
--build ${{ steps.strings.outputs.build-output-dir }}
--parallel
--target install

- name: Test
run: >
cmake
--build ${{ steps.strings.outputs.build-output-dir }}
--parallel
--target check-libc
Loading