Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1462 commits
Select commit Hold shift + click to select a range
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
392622d
Revert "Revert "[mlir python] Add nanobind support (#119232)
makslevental Dec 9, 2024
b9b46de
[AMDGPU][MC][True16] VOP3dot instruction update for true16/fake16 (#1…
broxigarchen Dec 9, 2024
8471541
[AMDGPU][True16][MC] redo update vop2 mc test with update script (#11…
broxigarchen Dec 9, 2024
a92e3df
[mlir][math] Fix `math.powf` expansion case for `pow(x, 0)` (#119015)
christopherbate Dec 9, 2024
4fd8dbc
[LV] Move code to prepare VPlan for epilogue vector loop to helper (NFC)
fhahn Dec 9, 2024
429f0f1
[libc][docs] add missing c99 docs (#119239)
nickdesaulniers Dec 9, 2024
44cd8f0
[flang] Lower CSHIFT to hlfir.cshift operation. (#118917)
vzakhari Dec 9, 2024
7d89ebf
[OpenACC] Implement 'reduction' for combined constructs.
erichkeane Dec 6, 2024
adfe54f
[VPlan] Directly check VectorizingEpilogue in ::executePlan (NFC).
fhahn Dec 9, 2024
82f4ebf
[RISCV][GISel] Fallback in LowerCall for byval arguments. (#119251)
topperc Dec 9, 2024
342fa15
[AMDGPU][True16][MC] redo "remove duplication in VOP2 test" (#119274)
broxigarchen Dec 9, 2024
cbed714
[AMDGPU][True16][MC] test update for v_add/sub_f16 in true16 (#118926)
broxigarchen Dec 9, 2024
a13ec9c
[PowerPC] Update data layout aligment of i128 to 16 (#118004)
lei137 Dec 9, 2024
0e70289
[VPlan] Create canonical IV resume value for epilogue in VPlan. (NFCI)
fhahn Dec 9, 2024
a0eb794
[MLIR][acc] Introduce varType to acc data clause operations (#119007)
razvanlupusoru Dec 9, 2024
274637d
[HLSL] Implement `Append` and `Consume` methods on `Append`/`ConsumeS…
hekota Dec 9, 2024
d74c73f
[Clang][CodeGen] Remove extraneous dot prefixes [NFC] (#119275)
bwendling Dec 9, 2024
2e8ce30
[libc] Support baremetal libc on aarch64 (#118691)
petrhosek Dec 9, 2024
48f7f63
[APINotes] Add SWIFT_RETURNS_(UN)RETAINED support (#118938)
fahadnayyar Dec 9, 2024
ca88400
[AArch64] Add test coverage of fp16 and bf16 fptrunc and fpext. NFC
davemgreen Dec 9, 2024
7db970f
[libc] Add unistd overlay (#118882)
RossComputerGuy Dec 9, 2024
2c05e69
Revert "[libc] Add unistd overlay" (#119295)
michaelrj-google Dec 10, 2024
f2bceb2
[Offload][AMDGPU] accept generic target (#118919)
hidekisaito Dec 10, 2024
fd57946
[NFC][clang] Update ubsan-trap-merge.c test to show absence of nomerg…
thurstond Dec 10, 2024
e9c68c6
[InstCombine] Match range check pattern with SExt (#118910)
MatzeB Dec 10, 2024
41ed16c
Reapply "[AMDGPU] Infer amdgpu-no-flat-scratch-init attribute in AMDG…
jwanggit86 Dec 10, 2024
953838d
[LoongArch] Optimize vector bitreverse using scalar bitrev and vshuf4…
zhaoqi5 Dec 10, 2024
75623bf
[flang][cuda] Handle gpu.return in AbstractResult pass (#119035)
clementval Dec 10, 2024
650e736
[flang][cuda][NFC] Add some diagnostic when module or fct are not fou…
clementval Dec 10, 2024
a1d71c3
[flang][cuda] Additional update to ExternalNameConversion (#119276)
clementval Dec 10, 2024
95b6524
[NFC] [RISCV] Add tests for `llvm.vector.reduce.*`
sunshaoce Dec 10, 2024
a6b5e18
[test][clang][AArch64] Don't assume current dir is writeable (#119285)
rupprecht Dec 10, 2024
9a06fb7
[libc][time][windows] implement clock_getres (#118931)
SchrodingerZhu Dec 10, 2024
3083acc
[DAGCombine] Remove oneuse restrictions for RISCV in folding (shl (ad…
LiqinWeng Dec 10, 2024
6e2e4d4
Revert "[MLIR][Arith] Add denormal attribute to binary/unary operatio…
chelini Dec 9, 2024
7bcd459
[flang][cuda][NFC] Fix typo in test filename
clementval Dec 10, 2024
7c12418
[GISel] Avoid creating a virtual register we don't need. (#119305)
topperc Dec 10, 2024
cfbf809
[test][clang][driver] Fix test that assumes libomp default (#119319)
rupprecht Dec 10, 2024
2c0b8b1
[scudo] Group type traits into a single header (NFC) (#118888)
ChiaHungDuan Dec 10, 2024
78c2b6d
[libc][complex] Implement different flavors of the `conj` function (#…
Sh0g0-1758 Dec 10, 2024
aac000a
[scudo] Clean the TODO in list.h (#119323)
ChiaHungDuan Dec 10, 2024
46bf67d
[clang-format] Reorder TokenAnnotator::canBreakBefore (#119044)
gedare Dec 10, 2024
7fa5743
[ELF] Test --export-dynamic-symbol on linker-synthesized symbols and …
MaskRay Dec 10, 2024
4fb1cda
[PAC][ELF][AArch64] Support signed personality function pointer (#113…
kovdan01 Dec 10, 2024
52da2db
[libc][complex] check that cfloat128 is not defined as _Complex long …
Sh0g0-1758 Dec 10, 2024
77a08a7
[Clang] Fix wrong call location of `DefaultArgExpr` (#119212)
16bit-ykiko Dec 10, 2024
ca88a0e
[libc][complex] fix guard for cfloat128 and float128 (#119330)
Sh0g0-1758 Dec 10, 2024
a4c7c66
[GlobalISel] Document minimum legality requirements for G_IMPLICIT_DE…
aemerson Dec 10, 2024
ef2e590
Revert "[PAC][ELF][AArch64] Support signed personality function point…
kovdan01 Dec 10, 2024
f8c1a22
[llvm] Improve llvm.objectsize computation by computing GEP, alloca a…
serge-sans-paille Dec 10, 2024
9730760
[RISCV] Add RUNs for different postra scheduling directions
wangpc-pp Dec 10, 2024
4cea3c3
[Clang] Fix typo in ItaniumRecordLayoutBuilder API (#118563)
Ptkyr Dec 10, 2024
ce15873
[clang][bytecode] Allow checking builtin functions... (#119328)
tbaederr Dec 10, 2024
920495c
[MISched] Compare right next cluster node (#116584)
wangpc-pp Dec 10, 2024
a295907
[lld][MachO] Rename to bp-* options for SectionOrderer (#118594)
Colibrow Dec 10, 2024
411196b
[C++20] [Modules] Convert '-fexperimental-modules-reduced-bmi' to '-f…
ChuanqiXu9 Dec 10, 2024
a88677e
Reland "[flang] Integrate the option -flang-experimental-integer-over…
yus3710-fj Dec 10, 2024
3791323
[msan] Add support for avx_round_pd_256/avx_round_ps_256 (#119334)
alexander-shaposhnikov Dec 10, 2024
30ad53b
[Clang-REPL] Fix crash during `__run_exit_handlers` with dynamic libr…
SahilPatidar Dec 10, 2024
8f434bb
[clang] Fix a dangling reference in clang/utils/TableGen/ClangDiagnos…
hokein Dec 10, 2024
eadc0c9
[NFC][Utils] Extract BuildDebugInfoMDMap from CloneFunctionInto (#118…
artempyanykh Dec 10, 2024
c2d7e96
[clang] Fix non-deterministic infinite recursion... (#118288)
alejandro-alvarez-sonarsource Dec 10, 2024
9ea499a
[ReachingDefAnalysis] Fix typo. (#119329)
mgudim Dec 10, 2024
322eb1a
[X86][NFC] Update ternlog comments (#119343)
phoebewang Dec 10, 2024
e21ab4d
[InstCombine] Infer nuw for gep inbounds from base of object (#119225)
nikic Dec 10, 2024
a2d086a
[AMDGPU] Fix FMA combine (#119217)
piotrAMD Dec 10, 2024
e983420
[VPlan] Move convertToConreteRecipes to end of VPlan-opt phase (NFCI).
fhahn Dec 10, 2024
56ddbef
[LV] Use getUniqueLatchExitBlock in createVectorLoopSkeleton (NFC).
fhahn Dec 10, 2024
e69d8b8
[clang-tidy][NFC] simplify matchers in bugprone-optional-value-conver…
HerrCai0907 Dec 10, 2024
9ab016f
[VectorCombine] Add test coverage for #86068
RKSimon Dec 10, 2024
c3175c5
[InstCombine] Fold `(X & C1) - (X & C2) --> X & (C1 ^ C2)` if `(C1 & …
fengfeng09 Dec 10, 2024
e088249
[X86][FP16] Fix crash issue when AVX512VL is not set (#119309)
phoebewang Dec 10, 2024
e8baa79
Backtrace support for flang (#118179)
dty2 Dec 10, 2024
d44518c
[Clang] Don't check incomplete CXXRecordDecl's members when transform…
zyn0217 Dec 10, 2024
0e7f187
[LV] Relax assertion in fixupIVUsers (NFC).
fhahn Dec 10, 2024
b0f8f32
[ExprConst] Handle floating- and char literals in FastEvaluateAsRValu…
tbaederr Dec 10, 2024
4971e53
[mlir][Target] Support Fatbin target for static nvptxcompiler (#118044)
MikaOvO Dec 10, 2024
53e9eee
[X86][TTI] Use TargetCostConstants Free/Basic values instead of hard …
RKSimon Dec 10, 2024
ad635b4
[memprof] Use more gtest matchers in unit tests (NFC) (#119338)
kazutakahirata Dec 10, 2024
edc50f3
[flang][OpenMP] Add lowering support for task detach (#119128)
NimishMishra Dec 10, 2024
b97c447
[SLP] NFC. Add assert for shouldBroadcast and canBeVectorized. (#119327)
HanKuanChen Dec 10, 2024
0ed696e
[PAC][CodeGen][ELF][AArch64] Support signed GOT with tiny code model …
kovdan01 Dec 10, 2024
6e6b606
[AMDGPU] Simplify a nested !con. NFC.
jayfoad Dec 10, 2024
ef4f858
[BasicAA] Add test for incorrect handling of small index sizes (NFC)
nikic Dec 10, 2024
bc0976e
[LAA] Strip non-inbounds offset in getPointerDiff() (NFC) (#118665)
nikic Dec 10, 2024
f408171
[LV][NFC] Add test cases for FindLastIV reduction idiom. (#118519)
Mel-Chen Dec 10, 2024
cb4433b
[libcxx][test] Silence nodiscard warnings for `std::expected` (#119174)
StephanTLavavej Dec 10, 2024
740861d
[clang] Fix a crash issue that caused by handling of fields with init…
yronglin Dec 10, 2024
05b907f
[VectorCombine] foldShuffleOfShuffles - allow fold with only single s…
RKSimon Dec 10, 2024
f6289f1
[LoongArch] Enable `AllNBitUsers` checking for {DIV,MOD}.W{U} with di…
heiher Dec 10, 2024
cc1a2ea
[AArch64] Implement FP8 SVE intrinsics for widening conversions (#118…
momchil-velikov Dec 10, 2024
e6ba345
[X86][AVX10.2] Add comments for the avx10_2copyintrin.h file (#119238)
mikolaj-pirog Dec 10, 2024
20aed3f
[gn] port 2c0b8b10dd1a
nico Dec 10, 2024
f8a1f42
[test][flang][driver] Fix test that assumes libomp default (#119368)
pawosm-arm Dec 10, 2024
28a0ad0
[flang][hlfir] fix issue 118922 (#119219)
jeanPerier Dec 10, 2024
502c08e
[clang][ExprConst] Move vector diagnostics to checkBitCastConstexprEl…
tbaederr Dec 10, 2024
0ee5924
[clang] wasm cpu name is supposed to be lime1, not lime (#119262)
programmerjake Dec 10, 2024
e665e78
[SelectionDAG] Use the nuw flag when expanding loads. (#119288)
sunfishcode Dec 10, 2024
df4c5d5
workflows: Rewrite build-ci-container to work on larger runners (#117…
tstellar Dec 10, 2024
bd231da
[libc][workflow] address permission concern and add more comments (#1…
SchrodingerZhu Dec 10, 2024
8a494dd
Nominating Sven van Haastregt as OpenCL maintainer in Clang (#119383)
AnastasiaStulova Dec 10, 2024
dadd845
Removed Anastasia Stulova from Office Hours Calendar. (#119384)
AnastasiaStulova Dec 10, 2024
c166a9c
[libc++] Add #if 0 block to all the top-level headers (#119234)
philnik777 Dec 10, 2024
ecbf64d
[libc++] Try handling spurious cancellation in the mainline CI restarter
ldionne Dec 10, 2024
9865296
[StructurizeCFG] Use `poison` instead of `undef` as placeholder [NFC]…
pedroclobo Dec 10, 2024
20b071c
[CGData] Change placeholder from `undef` to `poison` when initializin…
pedroclobo Dec 10, 2024
d7c12ea
[LoopRotate] Use `poison` instead of `undef` as placeholder in debug …
pedroclobo Dec 10, 2024
bd8eb78
[libc++] Temporarily disable FreeBSD runners
ldionne Dec 10, 2024
01512d2
[libc++] Document guidelines for symbols baked into the ABI (#118526)
ldionne Dec 10, 2024
e3284d8
[GISel] Use SmallVector::append instead of copying one element at a t…
topperc Dec 10, 2024
eacdbc2
[libc++][test] Fix invalid const conversion in limited_allocator (#11…
winner245 Dec 10, 2024
97ff961
[AArch64] Improve code generation of bool vector reduce operations (#…
Il-Capitano Dec 10, 2024
da421f5
[SLP] NFC. Make InstructionsState more constant. (#118609)
HanKuanChen Dec 10, 2024
7ea1fe7
Revert "[libc++] Try handling spurious cancellation in the mainline C…
ldionne Dec 10, 2024
3654f1b
[LLVM][IR] Add support for vector ConstantInt/FP to ConstandFolding:F…
paulwalker-arm Dec 10, 2024
f28e522
[Clang] Change two placeholders from `undef` to `poison` [NFC] (#119141)
pedroclobo Dec 10, 2024
f31099c
[PowerPC][AIX] Emit PowerPC version for XCOFF (#113214)
amy-kwan Dec 10, 2024
4d06623
recalculate the live interval of the defined register of xvmaddmdp i…
diggerlin Dec 10, 2024
ed91843
[WebAssembly] Handle symbols in `.init_array` sections (#119127)
georgestagg Dec 10, 2024
4f93327
[CostModel][X86] Improve cost estimation of insert_subvector shuffle …
RKSimon Dec 10, 2024
444e53f
[SelectOpt] Fix incorrect IR for SUB when comparison dependent operan…
igogo-x86 Dec 10, 2024
5a0d73b
[compiler-rt][AArch64] NFCI: Simplify __arm_get_current_vg. (#119210)
sdesmalen-arm Dec 10, 2024
708a478
[RISCV] Add stack clash protection (#117612)
rzinsly Dec 10, 2024
74486dc
[Offload] Add CMake cache to be used in AMDGPU bot (#119369)
jplehr Dec 10, 2024
3a573dc
[RISCV][VLOPT] Add support for integer multiply-add instructions (#11…
michaelmaitland Dec 10, 2024
0fb0617
[clang][bytecode] Check vector element types for eligibility (#119385)
tbaederr Dec 10, 2024
431ea2d
[libc] move bcmp, bzero, bcopy, index, rindex, strcasecmp, strncasecm…
nickdesaulniers Dec 10, 2024
1d7d005
[libc] move src/network to src/arpa/inet (#119273)
nickdesaulniers Dec 10, 2024
8a25398
[libc] move pthread macros to dedicated header (#119286)
nickdesaulniers Dec 10, 2024
8ca4aa5
[RISCV][VLOPT] Use vadd as user instruction in vl-opt-instrs test in …
michaelmaitland Dec 10, 2024
9735873
[mlir][mlir-vulkan-runner] Move part of device pass pipeline to mlir-…
andfau-amd Dec 10, 2024
c7634c1
[flang] Disabled hlfir.sum inlining by default. (#119287)
vzakhari Dec 10, 2024
c5ab70c
[WebAssembly] Add `-i128:128` to the `datalayout` string. (#119204)
sunfishcode Dec 10, 2024
df3397b
[ELF] Improve canBeOmittedFromSymbolTable tests
MaskRay Dec 10, 2024
5041d06
[MC] Fix DWARF file table for files with empty DWARF (#119020) (#119229)
noxwell Dec 10, 2024
c5a21c1
[PhaseOrdering][X86] Add test coverage based off #111431
RKSimon Dec 10, 2024
d6590c1
[MLIR] Add allow Insert/extract slice option to pack/unpack op (#117340)
jerryyin Dec 10, 2024
1a650fd
[lldb] Load embedded type summary section (#7859) (#8040)
kastiglione Jan 24, 2024
9a9c1d4
[lldb] Implement a formatter bytecode interpreter in C++
adrian-prantl Oct 29, 2024
e2bb474
[lldb] Add comment
adrian-prantl Dec 10, 2024
15f87bc
[NFC][AMDGPU] Auto generate check lines for `llvm/test/CodeGen/AMDGPU…
shiltian Dec 10, 2024
13539c2
[RISCV][GISEl] Simplify GISelPredicateCode for binop_with_non_imm12. NFC
topperc Dec 10, 2024
a42aa8f
[SLP]Fix adjusting of the mask for the fully matched nodes.
alexey-bataev Dec 10, 2024
0469bb9
[flang][cuda] Fix lowering when step is a variable (#119421)
clementval Dec 10, 2024
0be3348
[lldb] Improve log message to include missing strings
adrian-prantl Dec 10, 2024
ebe741f
[DSE] Enable initializes improvement (#119116)
haopliu Dec 10, 2024
d300337
[lldb] Add cast to fix compile error on 32-but platforms
adrian-prantl Dec 10, 2024
1a5e18a
[HLSL] Do not print details in IR for target extension types (#115971)
bob80905 Dec 10, 2024
6106422
[SROA] Escaping readonly nocapture tests. NFC
davemgreen Dec 10, 2024
1bf1e5f
[libc] remove old hdrgen diagram (#119424)
nickdesaulniers Dec 10, 2024
d1d5fc3
[libc] fix up strings.h entrypoints (#119417)
nickdesaulniers Dec 10, 2024
faebedd
[gn build] Port 9a9c1d4a6155
llvmgnsyncbot Dec 10, 2024
f6012a2
[lldb] Add cast to fix compile error on 32-bit platforms
adrian-prantl Dec 10, 2024
806a936
[PowerPC] Fix a warning
kazutakahirata Dec 10, 2024
dc04d41
SystemZ: Add support for __builtin_setjmp and __builtin_longjmp. (#11…
anoopkg6 Dec 10, 2024
ff42a90
[LLVM] Update sanitizers maintainers (#119165)
vitalybuka Dec 10, 2024
9c509a0
[compiler-rt] Update maintainers (#119166)
vitalybuka Dec 10, 2024
3376bad
Eliminate duplicate call in Clang driver (NFC)
aaronpuchert Dec 10, 2024
4c04bf8
[compiler-rt] Convert Maintainers.txt into Maintainers.md (#119169)
vitalybuka Dec 10, 2024
b347b47
[llvm] Fix a few new lines in Maintainers
vitalybuka Dec 10, 2024
e0f3410
[compiler-rt] Fix a few new lines in Maintaners.md
vitalybuka Dec 10, 2024
ffb19f4
[CIR] Infrastructure: class CIRGenBuilderTy; cache CIR types (#119037)
dkolsen-pgi Dec 10, 2024
e9866d5
[flang][cuda] Fix GPULaunchKernelConversion to generate correct kerne…
khaki3 Dec 10, 2024
24162bd
[libc][workflows] fix pre-commit fullbuild dependency problem (#119441)
SchrodingerZhu Dec 10, 2024
68ea7c7
[test][AArch64] Fix test in non-writeable dir (#119448)
rupprecht Dec 10, 2024
1d0ca62
[bazel] fix libc build (#119433)
nickdesaulniers Dec 10, 2024
dc5236e
[flang][cuda] Update target rewrite to work on gpu.func (#119283)
clementval Dec 10, 2024
c835b48
[RISCV] Compute liveins for new basic blocks in emitStackProbeInline.
topperc Dec 10, 2024
f3c675f
[bazel] Port 9a9c1d4a6155a96ce9be494cec7e25731d36b33e (#119456)
keith Dec 10, 2024
04269ea
[AMDGPU] Re-enable closed-world assumption as an opt-in feature (#115…
shiltian Dec 10, 2024
02e39a1
[libc][docs] split "String Functions" into string.h, strings.h, stdli…
nickdesaulniers Dec 10, 2024
b2cc66b
[bzl][mlir][mlir-vulkan-runner] Add vulkan deps (#119457)
rupprecht Dec 10, 2024
5877e5b
[bazel] update .bazelversion to 8.0.0 (#119425)
nickdesaulniers Dec 10, 2024
8c19c24
[flang][cuda][NFC] Add missing template declaration (#119443)
clementval Dec 10, 2024
968e3b6
[memprof] Add flag to control profile dump at exit (#119452)
ellishg Dec 10, 2024
951a284
[HLSL] Implement SV_GroupThreadId semantic (#117781)
Dec 10, 2024
4dac0df
[LLD][ELF] Fix SHF_MERGE misalignment when spilled (#119289)
mysterymath Dec 10, 2024
7eb73b9
[CIR] Cleanup: mlirContext and astContext (#119450)
dkolsen-pgi Dec 10, 2024
9bb29c3
[RISCV][VLOPT] Add support for bitwise logical, single width shift, a…
michaelmaitland Dec 10, 2024
e7e42ef
[NFC] Cleanup comments in HLSLExternalSemaSource.cpp (#119444)
bob80905 Dec 10, 2024
5a93033
[scudo] Minor refactor on element address validation (NFC) (#119436)
ChiaHungDuan Dec 10, 2024
850c932
[flang][cuda] Walk through cuf kernel for implicit globals (#119455)
clementval Dec 10, 2024
bedbaff
[bazel] Fix lit tests with bazel 8.x (#119462)
keith Dec 10, 2024
5d0957f
[bazel] Allow overriding py_test rule for lit_test (#119460)
keith Dec 10, 2024
8c3a8c2
[bazel][libc] fix typo in comment
nickdesaulniers Dec 10, 2024
cf27e8e
[mlir][LLVM] Fix missing MLIRNVGPUDialect dependency for MLIRGPUToNVV…
arthurqiu Dec 10, 2024
a2fb705
Revert "[lldb] Add cast to fix compile error on 32-bit platforms"
sylvestre Dec 10, 2024
cafb6b9
[SandboxVec][DAG] Update MemDGNode chain upon instr deletion (#118921)
Dec 10, 2024
67bd04f
[ubsan] Don't merge non-trap handlers if -ubsan-unique-traps or not o…
thurstond Dec 10, 2024
c487381
CodeGen: Eliminate dynamic relocations in the register superclass tab…
resistor Dec 10, 2024
4027e2f
CallPromotionUtils: Correctly use IndexSize when determining the bit …
resistor Dec 10, 2024
377d1f0
UncountedLocalVarsChecker and UncheckedLocalVarsChecker should recogn…
rniwa Dec 10, 2024
609899f
[flang][cuda] Avoid stack corruption when setting kernel launch param…
khaki3 Dec 11, 2024
9b6bb83
Revert "CallPromotionUtils: Correctly use IndexSize when determining …
resistor Dec 11, 2024
918d455
[libc++abi] Enable demangling of `cp` expression production (#114882)
hubert-reinterpretcast Dec 11, 2024
87659a1
Reland: [lldb] Implement a formatter bytecode interpreter in C++
adrian-prantl Dec 11, 2024
e940353
Revert "CodeGen: Eliminate dynamic relocations in the register superc…
resistor Dec 11, 2024
54ca1c4
[clang-format] Fix idempotent format of hash in macro body (#118513)
owenca Dec 11, 2024
bdd82d5
[GlobalISel] Convert unary propagate_undef_any_op opcodes to use new …
aemerson Dec 11, 2024
1593f36
[lldb] Add explicit type conversion
adrian-prantl Dec 11, 2024
c00a708
[lldb] Eliminate dead code (NFC)
adrian-prantl Dec 11, 2024
20e9049
[Serialization] Support loading template specializations lazily (#119…
ChuanqiXu9 Dec 11, 2024
7987f47
[gn build] Port 20e904950967
llvmgnsyncbot Dec 11, 2024
ea76b2d
[XRay][RISCV] RISCV support for XRay (#117368)
mshockwave Dec 11, 2024
b759020
[LV][EVL] Support cast instruction with EVL-vectorization (#108351)
LiqinWeng Dec 11, 2024
51a0c1b
[SLP] NFC. Replace TreeEntry::setOperandsInOrder with VLOperands. (#1…
HanKuanChen Dec 11, 2024
4b3a878
[Polly] Disable vectorization for Polly's fallback loops (#119188)
kartcq Dec 11, 2024
0d59fc2
Revert "[MC] Fix DWARF file table for files with empty DWARF (#119020…
dwblaikie Dec 11, 2024
10b1caf
[SPIRV][OPT] Adding flag to run spirv structurizer (#119301)
joaosaffran Dec 11, 2024
bc7449c
[RISCV] Adjust vrgather.vv test to avoid disjoint indices. NFC
lukel97 Dec 11, 2024
30ea0f0
[NFC] [clang] [Serialization] Fix warning for narrowing cast
ChuanqiXu9 Dec 11, 2024
79047fa
[DomTreeUpdater] Move critical edge splitting code to updater (#115111)
paperchalice Dec 11, 2024
77b6910
[Test] Fix the failed test of #108351 (#119495)
LiqinWeng Dec 11, 2024
ab15976
CallPromotionUtils: Correctly use IndexSize when determining the bit …
resistor Dec 11, 2024
3146d57
[X86][NFC] Hoist out `N->getOpcode()` used in ReplaceNodeResults (#11…
phoebewang Dec 11, 2024
76b4931
[memprof] Accept a function name in YAML (#119453)
kazutakahirata Dec 11, 2024
acaa5fa
[clang-tidy][NFC] reorder cmake source file (#119374)
HerrCai0907 Dec 11, 2024
a4538cd
[libc++abi] Don't leak in test (#119505)
vitalybuka Dec 11, 2024
ae26f50
[test] Change llc -march=mips* to -mtriple=mips*
MaskRay Dec 11, 2024
d78fe84
[RISCV][GISel] Port TrailingOnesMask PatLeaf. (#119427)
topperc Dec 11, 2024
5797ed6
[GISel][SDAG] Avoid push_back in loops for some shuffle mask handling…
topperc Dec 11, 2024
839c821
[LegalizeTypes][RISCV][X86] Legalize FP_ROUND to libcall in SoftPromo…
topperc Dec 11, 2024
553058f
Revert "[DomTreeUpdater] Move critical edge splitting code to updater…
paperchalice Dec 11, 2024
2f18b5e
[AArch64] Add fpext and fpround costs (#119292)
davemgreen Dec 11, 2024
c38a0de
[mlir][nfc] Update vectorize-tensor-extract.mlir (1/N) (#118977)
banach-space Dec 11, 2024
be06c79
[mlir][linalg] Enable Vectorization of 0-D tensor.extract (#119079)
banach-space Dec 11, 2024
2fe30bc
[AArch64] Add cost model for @experimental.vector.match (#118512)
rj-jesus Dec 11, 2024
c6a016a
Merge from 'main' to 'sycl-web' (122 commits)
mdfazlay Dec 11, 2024
47c14a5
Merge from 'sycl' to 'sycl-web' (29 commits)
mdfazlay Dec 11, 2024
effa8f2
Merge from 'sycl' to 'sycl-web' (1 commits)
Dec 12, 2024
93e44d2
Merge from 'main' to 'sycl-web' (128 commits)
qichaogu Dec 12, 2024
297dab6
Merge with Conflict Markers
jsji Dec 27, 2024
d6561ac
Merge commit '2fe30bc6693c60d76c7e44d9fd6323c39125c19e' into llvmspir…
jsji Dec 27, 2024
0b74ef7
Update test after 7954a0514ba7
jsji Dec 9, 2024
515a700
Regen group_load/store after 7954a0514ba7 (#16310)
jsji Dec 22, 2024
ce16c78
Merge remote-tracking branch 'origin/sycl' into llvmspirv_pulldown
jsji Dec 27, 2024
8d34c7e
[SYCL][E2E] Update CHECKs to reflect changes to `__builtin_COLUMN`
aelovikov-intel Dec 18, 2024
f20908c
[SYCL][E2E] Remove unused -fno-sycl-dead-args-optimization
jsji Dec 27, 2024
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.
4 changes: 2 additions & 2 deletions .ci/generate_test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def junit_from_xml(xml):

class TestReports(unittest.TestCase):
def test_title_only(self):
self.assertEqual(_generate_report("Foo", []), ("", None))
self.assertEqual(_generate_report("Foo", []), ("", "success"))

def test_no_tests_in_testsuite(self):
self.assertEqual(
Expand Down Expand Up @@ -336,7 +336,7 @@ def _generate_report(title, junit_objects, size_limit=1024 * 1024, list_failures
)

if not tests_run:
return ("", style)
return ("", None)

style = "error" if tests_failed else "success"
report = [f"# {title}", ""]
Expand Down
7 changes: 7 additions & 0 deletions .ci/metrics/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM docker.io/python:3.12

COPY requirements.lock.txt ./
RUN pip3 install --no-cache-dir -r requirements.lock.txt
COPY metrics.py ./

CMD ["python3", "metrics.py"]
182 changes: 182 additions & 0 deletions .ci/metrics/metrics.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
import requests
import time
import os
from dataclasses import dataclass
import sys

import github
from github import Github
from github import Auth

GRAFANA_URL = (
"https://influx-prod-13-prod-us-east-0.grafana.net/api/v1/push/influx/write"
)
GITHUB_PROJECT = "llvm/llvm-project"
WORKFLOWS_TO_TRACK = ["Check code formatting"]
SCRAPE_INTERVAL_SECONDS = 5 * 60


@dataclass
class JobMetrics:
job_name: str
queue_time: int
run_time: int
status: int
created_at_ns: int
workflow_id: int


def get_metrics(github_repo: github.Repository, workflows_to_track: dict[str, int]):
"""Gets the metrics for specified Github workflows.

This function takes in a list of workflows to track, and optionally the
workflow ID of the last tracked invocation. It grabs the relevant data
from Github, returning it to the caller.

Args:
github_repo: A github repo object to use to query the relevant information.
workflows_to_track: A dictionary mapping workflow names to the last
invocation ID where metrics have been collected, or None to collect the
last five results.

Returns:
Returns a list of JobMetrics objects, containing the relevant metrics about
the workflow.
"""
workflow_runs = iter(github_repo.get_workflow_runs())

workflow_metrics = []

workflows_to_include = set(workflows_to_track.keys())

while len(workflows_to_include) > 0:
workflow_run = next(workflow_runs)
if workflow_run.status != "completed":
continue

# This workflow was already sampled for this run, or is not tracked at
# all. Ignoring.
if workflow_run.name not in workflows_to_include:
continue

# There were no new workflow invocations since the previous scrape.
# The API returns a sorted list with the most recent invocations first,
# so we can stop looking for this particular workflow. Continue to grab
# information on the other workflows of interest, if present.
if workflows_to_track[workflow_run.name] == workflow_run.id:
workflows_to_include.remove(workflow_run.name)
continue

workflow_jobs = workflow_run.jobs()
if workflow_jobs.totalCount == 0:
continue
if workflow_jobs.totalCount > 1:
raise ValueError(
f"Encountered an unexpected number of jobs: {workflow_jobs.totalCount}"
)

created_at = workflow_jobs[0].created_at
started_at = workflow_jobs[0].started_at
completed_at = workflow_jobs[0].completed_at

job_result = int(workflow_jobs[0].conclusion == "success")

queue_time = started_at - created_at
run_time = completed_at - started_at

if run_time.seconds == 0:
continue

if (
workflows_to_track[workflow_run.name] is None
or workflows_to_track[workflow_run.name] == workflow_run.id
):
workflows_to_include.remove(workflow_run.name)
if (
workflows_to_track[workflow_run.name] is not None
and len(workflows_to_include) == 0
):
break

# The timestamp associated with the event is expected by Grafana to be
# in nanoseconds.
created_at_ns = int(created_at.timestamp()) * 10**9

workflow_metrics.append(
JobMetrics(
workflow_run.name,
queue_time.seconds,
run_time.seconds,
job_result,
created_at_ns,
workflow_run.id,
)
)

return workflow_metrics


def upload_metrics(workflow_metrics, metrics_userid, api_key):
"""Upload metrics to Grafana.

Takes in a list of workflow metrics and then uploads them to Grafana
through a REST request.

Args:
workflow_metrics: A list of metrics to upload to Grafana.
metrics_userid: The userid to use for the upload.
api_key: The API key to use for the upload.
"""
metrics_batch = []
for workflow_metric in workflow_metrics:
workflow_formatted_name = workflow_metric.job_name.lower().replace(" ", "_")
metrics_batch.append(
f"{workflow_formatted_name} queue_time={workflow_metric.queue_time},run_time={workflow_metric.run_time},status={workflow_metric.status} {workflow_metric.created_at_ns}"
)

request_data = "\n".join(metrics_batch)
response = requests.post(
GRAFANA_URL,
headers={"Content-Type": "text/plain"},
data=request_data,
auth=(metrics_userid, api_key),
)

if response.status_code < 200 or response.status_code >= 300:
print(
f"Failed to submit data to Grafana: {response.status_code}", file=sys.stderr
)


def main():
# Authenticate with Github
auth = Auth.Token(os.environ["GITHUB_TOKEN"])
github_object = Github(auth=auth)
github_repo = github_object.get_repo("llvm/llvm-project")

grafana_api_key = os.environ["GRAFANA_API_KEY"]
grafana_metrics_userid = os.environ["GRAFANA_METRICS_USERID"]

workflows_to_track = {}
for workflow_to_track in WORKFLOWS_TO_TRACK:
workflows_to_track[workflow_to_track] = None

# Enter the main loop. Every five minutes we wake up and dump metrics for
# the relevant jobs.
while True:
current_metrics = get_metrics(github_repo, workflows_to_track)
if len(current_metrics) == 0:
print("No metrics found to upload.", file=sys.stderr)
continue

upload_metrics(current_metrics, grafana_metrics_userid, grafana_api_key)
print(f"Uploaded {len(current_metrics)} metrics", file=sys.stderr)

for workflow_metric in reversed(current_metrics):
workflows_to_track[workflow_metric.job_name] = workflow_metric.workflow_id

time.sleep(SCRAPE_INTERVAL_SECONDS)


if __name__ == "__main__":
main()
Loading
Loading