Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from llvm:main #5546

Open
wants to merge 692 commits into
base: main
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
692 commits
Select commit Hold shift + click to select a range
9b853f6
[libc++] Fix vector sanitization annotations on destruction (#121031)
ddcc Jan 20, 2025
a733c1f
[AArch64][NFC] Move getPartialReductionCost into cpp file (#123370)
david-arm Jan 20, 2025
b5c9cba
[clang][bytecode] Don't memcpy() FixedPoint values (#123599)
tbaederr Jan 20, 2025
58af82b
[OpenMP] Remove 'omp assumes' scopes now that we have no inline ASM (…
jhuber6 Jan 20, 2025
9cf2465
[AMDGPU] Fix spurious NoAlias results (#122309)
frasercrmck Jan 20, 2025
b92cc78
[llvm-objdump] Print out xcoff load section of xcoff object file with…
diggerlin Jan 20, 2025
3b001db
[mlir][vector] Update tests for xfer permutation lowering (1/N) (#123…
banach-space Jan 20, 2025
723a3e7
[OpenMP] Fix mispelled attribute and warning
jhuber6 Jan 20, 2025
fcec875
[LoopVectorize][NFC] Simplify ScaledReductionExitInstrs map (#123368)
david-arm Jan 20, 2025
cc5eba1
[AMDGPU] Reject misaligned SGPR constraints for inline asm (#123590)
ritter-x2a Jan 20, 2025
aa3c31a
[MLIR] Prevent invalid IR from being passed outside of RemoveDeadValu…
parsifal-47 Jan 20, 2025
8552c49
[AArch64] Enable UseFixedOverScalableIfEqualCost for more Cortex-x cp…
davemgreen Jan 20, 2025
9c7e02d
[InstCombine] Fold umax(nuw_mul(x, C0), x + 1) into (x == 0 ? 1 : nuw…
Ruhung Jan 20, 2025
416f1c4
[IR] Replace of PointerType::get(Type) with opaque version (NFC) (#12…
junlarsen Jan 20, 2025
9da7c3b
[Flang][OpenMP][NFC] Add tests for align and allocator in allocate cl…
Leporacanthicus Jan 20, 2025
8368018
Fix test of `-print-multi-flags-experimental` in case of multilib cus…
vhscampos Jan 20, 2025
c8eb865
[libclc] Move mad to the CLC library (#123607)
frasercrmck Jan 20, 2025
f33e3d4
[AMDGPU] Fix DAG types for V_MAD_I64_I32 and V_MAD_U64_U32. NFC. (#12…
jayfoad Jan 20, 2025
e8674af
[clang][bytecode] Diagnose IntegralToPointer casts to non-void (#123619)
tbaederr Jan 20, 2025
b95ed30
[IR] Remove unused variables from #123617
junlarsen Jan 20, 2025
7abf440
Add missing include to X86MCTargetDesc.h (#123320)
hageboeck Jan 20, 2025
c248fc1
[Clang] Document some of the implementation-defined keywords (#84591)
philnik777 Jan 20, 2025
0fa0545
[libc++] Define an internal API for std::invoke and friends (#116637)
philnik777 Jan 20, 2025
3606876
[SDAG] Fix CSE for ADDRSPACECAST nodes (#122912)
AlexMaclean Jan 20, 2025
19bd2d6
[ConstantFolding] Add ilogb in isMathLibCallNoop (#122582)
kshitijvp Jan 20, 2025
8ff195c
SIISelLowering.cpp - remove unused variable missed in #123617
RKSimon Jan 20, 2025
7084110
X86ISelLowering.cpp - remove unused variable missed in #123617
RKSimon Jan 20, 2025
5810f15
[SPIR-V] Fix SPIRVEmitIntrinsics undefined behavior (#123625)
michalpaszkowski Jan 20, 2025
af66166
[mlir] Link libraries that aren't included in libMLIR to libMLIR (#12…
mgorny Jan 20, 2025
9cbd705
[NFC] llvm-cgdata use StringRef in exitWithError to reduce constructi…
AmrDeveloper Jan 20, 2025
3805355
[AMDGPU] Handle natively unsupported types in addrspace(7) lowering (…
krzysz00 Jan 20, 2025
0fbec1e
[SandboxVec][BottomUpVec][NFC] Add comments
vporpo Jan 20, 2025
cac3f5e
[memprof] Add simplify_type (NFC) (#123556)
kazutakahirata Jan 20, 2025
bc1e699
[CodeGen] Avoid repeated hash lookups (NFC) (#123557)
kazutakahirata Jan 20, 2025
f355a44
[HipStdPar] Avoid repeated hash lookups (NFC) (#123558)
kazutakahirata Jan 20, 2025
64749fb
Revert "[AMDGPU] Handle natively unsupported types in addrspace(7) lo…
krzysz00 Jan 20, 2025
7fa1936
[InstCombine] Avoid repeated hash lookups (NFC) (#123559)
kazutakahirata Jan 20, 2025
efae9f3
[MIRParser] Avoid repeated map lookups (NFC) (#123561)
kazutakahirata Jan 20, 2025
818d6e5
[TableGen] Avoid repeated hash lookups (NFC) (#123562)
kazutakahirata Jan 20, 2025
64edde6
[clang] Improve the documentation for the init_priority attribute (#1…
ldionne Jan 20, 2025
8424bf2
[SystemZ] Add support for new cpu architecture - arch15
uweigand Jan 20, 2025
8b879d1
Revert "[mlir] Link libraries that aren't included in libMLIR to libM…
mgorny Jan 20, 2025
623ba9b
[libc++] Add missing _LIBCPP_NODEBUG on internal alias
ldionne Jan 20, 2025
9c464e6
[flang][OpenMP] Don't try to privatize FORALL/DO CONCURRENT indices (…
luporl Jan 20, 2025
4df28af
[mlir] Add lowering of absi and fpowi to libdevice (#123644)
ftynse Jan 20, 2025
2c9cc78
[LLVM] Update cmake and library layering maintainers (#120542)
nikic Jan 20, 2025
1434313
[LiveRegMatrix] Use MCRegUnit instead of MCRegister for register unit…
topperc Jan 20, 2025
3d08fa2
[libc++] Another _LIBCPP_NODEBUG fix
ldionne Jan 20, 2025
e68d18c
[Github] Add Zlib at build time to CI container (#123489)
boomanaiden154 Jan 20, 2025
d35d7f4
[Github] Add Agent Container Image (#123486)
boomanaiden154 Jan 20, 2025
2f1bc68
[flang][PPC] XFAIL unroll-loops on PPC (#123661)
mustartt Jan 20, 2025
28ae363
[AMDGPU][True16][MC] true16 for v_cmp_xx_i/u16 (#122968)
broxigarchen Jan 20, 2025
e5992b6
[Clang] Fix warning for non std functions with name `infinity` (#123417)
AmrDeveloper Jan 20, 2025
fb974e8
[LLD][COFF] Add support for custom DOS stub (#122561)
kkent030315 Jan 20, 2025
2cfddda
[LLD][COFF] Simplify creation of .edata chunks (NFC) (#123651)
cjacek Jan 20, 2025
bd5e12e
[VPlan] Don't retrieve Def unnecessarily in isUniformAfterVector (NFC).
fhahn Jan 20, 2025
697c188
Reapply "[AMDGPU] Handle natively unsupported types in addrspace(7) l…
krzysz00 Jan 20, 2025
5e4c34a
[SLP][NFC]Add a test with incorrect length and cost for repeated matc…
alexey-bataev Jan 20, 2025
7d01a8f
[SLP]Fix vector factor for repeated node for bv
alexey-bataev Jan 20, 2025
f427fef
[SPIR-V] Add SPIRV to LLVM_ALL_TARGETS (reapply) (#123654)
michalpaszkowski Jan 20, 2025
3f0ac46
Revert "[SPIR-V] Add SPIRV to LLVM_ALL_TARGETS (reapply)" (#123674)
michalpaszkowski Jan 20, 2025
06c54bc
[lldb] Implement ${target.file} format variable (#123431)
JDevlieghere Jan 20, 2025
b6287fd
[DirectX] Set the EnableRawAndStructuredBuffers shader flag (#122667)
bogner Jan 21, 2025
a3beb7d
Workflows: Drop Windows release builds and use more powerful runners …
tstellar Jan 21, 2025
a0c6811
[Github] Fix container push job
boomanaiden154 Jan 21, 2025
271b338
[TableGen][NFC] Factor early-out range check. (#123645)
nvjle Jan 21, 2025
4e2efc3
[OffloadBundler] Compress bundles over 4GB (#122307)
yxsamliu Jan 21, 2025
72c560d
Revert "[OffloadBundler] Compress bundles over 4GB (#122307)"
yxsamliu Jan 21, 2025
b45072d
[SPIR-V] Fix type compatibility in memory order comparisons (#123676)
michalpaszkowski Jan 21, 2025
abbfed9
[X86][AMX] Fix handling of AMX-FP8 internal intrinsics (#123540)
fzou1 Jan 21, 2025
e87b843
Reland [OffloadBundler] Compress bundles over 4GB (#122307)
yxsamliu Jan 21, 2025
7786266
AMDGPU: Expand shuffle testing with generated tests (#123574)
arsenm Jan 21, 2025
9d9c561
[ARM] Use MCRegister instead of unsigned. NFC
topperc Jan 21, 2025
c2aa11d
[Flang] Add LLVM lowering support for UNTIED clause in Task (#121052)
Thirumalai-Shaktivel Jan 21, 2025
585858a
AMDGPU: Fix asm constrains in new shuffle tests
arsenm Jan 21, 2025
2d9f406
[OpenMP] Adjust 'printf' handling in the OpenMP runtime (#123670)
jhuber6 Jan 21, 2025
3274bf6
[OpenMP] Make each atomic helper take an atomic scope argument (#122786)
jhuber6 Jan 21, 2025
afced70
[OpenMP][Flang] Workaround omp_lib error (#123666)
jplehr Jan 21, 2025
5d281a4
[LoopInterchange] Constrain number of load/stores in a loop (#118973)
madhur13490 Jan 21, 2025
5cde6d2
[ReachingDefAnalysis][NFC] Replace MCRegister with Register (#123626)
mgudim Jan 21, 2025
f07e516
[Clang] Delegate part of SetupConstraintScope's job to LambdaScopeFor…
zyn0217 Jan 21, 2025
79231a8
[ORC-RT][LoongArch] Add initial support for loongarch64 in ELFNixPlat…
Ami-zhang Jan 21, 2025
6aaa8f2
[mlir][IR][NFC] Move free-standing functions to `MemRefType` (#123465)
matthias-springer Jan 21, 2025
385f776
[MIPS][MSA] Invert operand order of `ILVOD` when lowering `VECTOR_SHU…
Cyanoxygen Jan 21, 2025
ce32625
Reland "[Flang][Driver] Add a flag to control zero initialization" (#…
kiranchandramohan Jan 21, 2025
7bb363b
[CodeGen] Use MCRegister for ignoreCSRForAllocationOrder. (#123685)
topperc Jan 21, 2025
26b87aa
[Mips] Handle declspec(dllimport) on mipsel-windows-* triples (#120912)
hpoussin Jan 21, 2025
73beb15
[MC] Avoid repeated hash lookups (NFC) (#123698)
kazutakahirata Jan 21, 2025
1714fac
[TableGen] Avoid repeated map lookups (NFC) (#123699)
kazutakahirata Jan 21, 2025
671088b
[Rewrite] Avoid repeated hash lookups (NFC) (#123696)
kazutakahirata Jan 21, 2025
a588e20
[SelectionDAG] Avoid repeated hash lookups (NFC) (#123697)
kazutakahirata Jan 21, 2025
0f9e913
[MLIR][NVVM] Add TMA Bulk Copy Ops (#123186)
durga4github Jan 21, 2025
97d691b
[IR][unittests] Replace of PointerType::get(Type) with opaque version…
junlarsen Jan 21, 2025
4740e09
[clang][Sema] Respect qualification of methods in heuristic results (…
HighCommander4 Jan 21, 2025
c22364a
[AArch64] Eliminate Common SUBS by Reassociating Non-Constants (#123344)
mskamp Jan 21, 2025
547bfda
[AArch64] Improve bcvtn2 and remove aarch64_neon_bfcvt intrinsics (#1…
davemgreen Jan 21, 2025
5658bc4
[lldb][Linux] Add Control Protection Fault signal (#122917)
DavidSpickett Jan 21, 2025
2a8c12b
"Reland "[Wunsafe-buffer-usage] Fix false positive when const sized a…
malavikasamak Jan 21, 2025
67b9d3f
[mlir] computeSliceParameters: Fix offset when m(0) != 0 (#122492)
mgehre-amd Jan 21, 2025
ebc5020
[AMDGPU] Update entry point name for PAL metadata (#123581)
dstutt Jan 21, 2025
455b3d6
[LLD][COFF] Separate EC and native exports for ARM64X (#123652)
cjacek Jan 21, 2025
b6b18f1
[Reassociate] Don't reassociate vXi1 logical expressions (#123329)
RKSimon Jan 21, 2025
9b6e8df
[AMDGPU][NewPM] Port SIFixVGPRCopies to NPM (#123592)
optimisan Jan 21, 2025
616979e
[NVPTX] Add support for PTX 8.6 and CUDA 12.6 (12.8) (#123398)
sergey-kozub Jan 21, 2025
7acad68
[AMDGPU][CodeGen] SILowerWWMCopies: Declare used analyses (#123710)
optimisan Jan 21, 2025
d96ec48
[libclc] Route select through __clc_select (#123647)
frasercrmck Jan 21, 2025
eaf3e1b
[libclc] Route int bitselect through CLC; add half (#123653)
frasercrmck Jan 21, 2025
84fa175
[AArch64] FEAT_SPEv1p2 is optional in v8.7-A and v9.2-A (#123336)
ostannard Jan 21, 2025
50bfa85
[DAGCombiner] Fix scalarizeExtractedBinOp for some SETCC cases (#123071)
david-arm Jan 21, 2025
6dc356d
[Clang] Add numeric for iota.
davemgreen Jan 21, 2025
3ff9368
[SPIR-V] Ensure that Module resource is managed locally wrt. a unit t…
VyacheslavLevytskyy Jan 21, 2025
cda81b1
[SPIR-V] Add SPIRV to LLVM_ALL_TARGETS (reapply) (#123733)
michalpaszkowski Jan 21, 2025
c7de642
[AArch64] Generate zeroing forms of certain SVE2.2 instructions (5/11…
momchil-velikov Jan 21, 2025
13c6abf
[X86][AVX10.2-MINMAX][NFC] Remove NE[P] from intrinsic and instructio…
phoebewang Jan 21, 2025
733be4e
[mlir][spirv] Add GpuToLLVM cconv suited to Vulkan, migrate last test…
andfau-amd Jan 21, 2025
8294459
[AMDGPU] Change scope of resource usage info symbols (#114810)
JanekvO Jan 21, 2025
5d9c717
[GISel] Fold shifts to constant result. (#123510)
lialan Jan 21, 2025
3365693
[clang-format] Rename ExportBlockIndentation -> IndentExportBlock (#1…
Sirraide Jan 21, 2025
d028eaa
[AArch64] Update SVE untyped intrinsics to have FP8 variants (#123585)
jthackray Jan 21, 2025
4b73f6a
[AArch64] Generate zeroing forms of certain SVE2.2 instructions (6/11…
momchil-velikov Jan 21, 2025
67a412f
[mlir][IR] CommonTypeConstraints: fully qualify low-precision FP type…
cota Jan 21, 2025
ec6c344
[include-cleaner] Respect langopts when analyzing macro names (#123634)
kadircet Jan 21, 2025
f233a54
[OpenMP] Remove usage of pointer-to-member in lookup (#123671)
jhuber6 Jan 21, 2025
9ca1323
[AMDGPU] Fix crash due to missing check for FLAT instructions that do…
chinmaydd Jan 21, 2025
29f7392
[flang][OpenMP] Rewrite standalone `loop` (without `bind`) directives…
ergawy Jan 21, 2025
03744d2
[Clang] Remove 3-element vector load and store special handling (#104…
shiltian Jan 21, 2025
5183ec4
[X86] urem-seteq-vec-tautological.ll - regenerate VPTERNLOG comment
RKSimon Jan 21, 2025
0eb7195
[X86] LowerMUL/LowerRotate - avoid undefs in shuffle mask to prevent …
RKSimon Jan 21, 2025
13918f5
[OpenACC] Remove unreachable code
erichkeane Jan 21, 2025
59dffce
[FIX] Include `<numeric>` in `clang/lib/CodeGen/CGExpr.cpp`
shiltian Jan 21, 2025
aeffc01
[lldb][DWARFASTParserClang][NFC] Remove redundant local variable
Michael137 Jan 20, 2025
c3d8205
[RegAllocFast] Don't convert MCRegUnit to MCRegister. NFC (#123705)
topperc Jan 21, 2025
0c21705
[analysis][NFC] clean unittest log (#123758)
HerrCai0907 Jan 21, 2025
f5f32ce
[CodeGen] Use MCRegister instead of MCPhysReg in RegisterMaskPair. NF…
topperc Jan 21, 2025
8f5df88
[Flang][Semantics] Allow declare target to be used on functions exter…
agozillon Jan 21, 2025
70632f9
[AMDGPU][True16][MC] true16 for v_cmp_xx_f16 (#122943)
broxigarchen Jan 21, 2025
e1c1e74
[AMDGPU][True16][MC] true16 for v_cmp_class_f16 (#122984)
broxigarchen Jan 21, 2025
a53abb2
[mlir][IR] CommonTypeConstraints: fix syntax error (#123765)
basioli-k Jan 21, 2025
5deb4ef
[SLP]Initial non-power-of-2 (but still whole register) for remaining …
alexey-bataev Jan 21, 2025
e7e3c45
[mlir] Remove mlir-vulkan-runner and GPUToVulkan conversion passes (#…
andfau-amd Jan 21, 2025
0dcb16e
[Xtensa] Implement Windowed Register Option. (#121118)
andreisfr Jan 21, 2025
a79098b
[compiler-rt] Destroy pthread attrs after use in tests (#114923)
kevans91 Jan 21, 2025
27f15ad
[MLIR][ROCDL] Add ops for LDS read transpose and global to LDS intrin…
plognjen Jan 21, 2025
184c056
[SLP][NFC]Update the test by replacing undefs with constant values, NFC
alexey-bataev Jan 21, 2025
e3c16e0
[SPIR-V] Fix debug-type-pointer.ll test case (#123764)
VyacheslavLevytskyy Jan 21, 2025
5e79ae6
DAG: Fix vector_shuffle -> splat fold defining undef lanes (#123596)
arsenm Jan 21, 2025
712359d
[Flang] Fix -werror from recent resolve-names.cpp changes, left over …
agozillon Jan 21, 2025
b7abc51
[bazel]Fix bazel build past e7e3c45bc70904e24e2b3221ac8521e67eb84668 …
dklimkin Jan 21, 2025
cf6d79a
[FMV][GlobalOpt] Add an option for static resolution of non-FMV calle…
labrinea Jan 21, 2025
485c80e
[PAC] Ignore noexcept on function type when computing discriminator o…
ahatanak Jan 21, 2025
e6c9cd9
[BOLT] Drop parsing sample PC when processing LBR perf data (#123420)
aaupov Jan 21, 2025
b4576bb
Update download and upload artifacts action usage to v4 ahead of depr…
philippjh Jan 21, 2025
4a1c33d
[llvm-gsymutil] Add support for merged functions lookup differentiati…
alx32 Jan 21, 2025
7c91435
[Flang][PPC] XFAIL `-funroll-loops` to include both powerpc64 and pow…
mustartt Jan 21, 2025
59850c2
Attempt to fix libc++ actions runner restarter. (#120627)
EricWF Jan 21, 2025
e376f9c
[RISCV] Mark RVV stores and segmented loads as masked pseudo (#123106)
mshockwave Jan 21, 2025
e4f03b1
[GSYM] Fix a warning
kazutakahirata Jan 21, 2025
6518b12
[Offload][NFC] Factor out and rename the `__tgt_offload_entry` struct…
jhuber6 Jan 21, 2025
4564ac9
Add gfx950 mfma instructions to ROCDL dialect (#123361)
yiqian1 Jan 21, 2025
a31e253
[compiler-rt][rtsan] Fix recvmmsg rtsan interceptor for glibc < 2.21 …
devnexen Jan 21, 2025
baeedd7
[Flang][OpenMP] Fix run line w/ use mod_lib (#123762)
jplehr Jan 21, 2025
1888a5f
[Github][CI] Remove premerge container (#123483)
boomanaiden154 Jan 21, 2025
106f105
[CI][Github] Disable premerge workflow on main
boomanaiden154 Jan 21, 2025
cdb4da3
[NVPTX] Fix failing test and incorrect `mcpu` reading in reflect
jhuber6 Jan 21, 2025
8770126
[VPlan] Remove stale comment for collectUsersInExitBlocks.
fhahn Jan 21, 2025
0ca6b2b
[MemProf] Fix an incorrect iterator increment (#123438)
teresajohnson Jan 21, 2025
662133a
[flang][OpenMP][OpenACC] remove libEvaluate dependency in passes (#12…
jeanPerier Jan 21, 2025
a0ec385
[lld] Migrate away from PointerUnion::dyn_cast (NFC) (#123721)
kazutakahirata Jan 21, 2025
cdd3214
[TargetLowering] Use getShiftAmountConstant. NFC (#123802)
topperc Jan 21, 2025
b393a87
[NFC] Remove extra spaces from comments in Target.td (#123788)
jurahul Jan 21, 2025
cac67d3
[Clang] emit -Wignored-qualifiers diagnostic for cv-qualified base cl…
a-tarasyuk Jan 21, 2025
89f119c
[RISCV] Update matchSplatAsGather to use the index of extract_elt if …
mikhailramalho Jan 21, 2025
e700106
[RISCV] Revise naming and style in matchSplatAsGather [nfc]
preames Jan 21, 2025
bfafbe3
[llvm-gsymutil] Fix flaky test (#123814)
alx32 Jan 21, 2025
5651544
Make armv6 iOS by default instead of macOS when targeting Darwin (#11…
Un1q32 Jan 21, 2025
c95d789
Fix incorrect console.print -> console.log to fix libc++ restarter
EricWF Jan 21, 2025
e2d9e99
[libc] fix -Wextra-semi (#123783)
nickdesaulniers Jan 21, 2025
659e66e
[LLD][COFF] Implement ARM64X relocations for the exception table (#12…
cjacek Jan 21, 2025
48b2ce9
[libc++] Document that internal aliases should be marked _LIBCPP_NODE…
philnik777 Jan 21, 2025
2d317d9
[libc++] Fix no-op shrink_to_fit for vector<bool> (#120495)
winner245 Jan 21, 2025
80097a1
[libc++] Fix input-only range handling for `basic_string` (#116890)
frederick-vs-ja Jan 21, 2025
733a98d
[libc++] Fix input-only range handling for `vector` (#116157)
frederick-vs-ja Jan 21, 2025
6c787ff
Revert "[LV]: Teach LV to recursively (de)interleave. (#122989)"
fhahn Jan 21, 2025
3418cd0
[LV] Add test showing cost-model difference after 9491f75e1d9.
fhahn Jan 21, 2025
c59ede6
Update Developer Policy for copyright notices (#123463)
llvm-beanz Jan 21, 2025
9457418
[LLD] [COFF] Fix linking MSVC generated implib header objects (#122811)
mstorsjo Jan 21, 2025
671ec34
[LLD][COFF] Add support for hybrid exports on ARM64X (#123724)
cjacek Jan 21, 2025
c912e98
[llvm-lib] Don't rewrite paths for members in non-thin archives (#123…
mstorsjo Jan 21, 2025
af84ed8
[ObjectYAML][NFC] Simplify ELFState<ELFT>::initProgramHeaders() (#123…
igorkudrin Jan 21, 2025
dd860bc
[HLSL] Implement the `reflect` HLSL function (#122992)
Icohedron Jan 21, 2025
01045b7
[CUDA] Add missing zero initializer for reflect
jhuber6 Jan 21, 2025
81c0f30
[ORC] Add ExecutorSymbolDef toPtr / fromPtr convenience functions.
lhames Jan 21, 2025
debe7bd
[memprof] Migrate away from PointerUnion::dyn_cast (NFC) (#123716)
kazutakahirata Jan 21, 2025
4c91263
Revert "[HLSL] Implement the `reflect` HLSL function" (#123846)
inbelic Jan 21, 2025
d33e33f
[LLDB] Add draft docstrings for SBSaveCoreOptions (#123132)
Jlalond Jan 21, 2025
b821aae
Remove references to MipsAndroid as it is unsupported (#123810)
hiraditya Jan 21, 2025
635e154
Remove check for Android in Mips.cpp (#123793)
hiraditya Jan 21, 2025
83cdcd5
[MLIR/linalg] Update arg name of `generalizeNamedOp` in `Transforms.h…
ita9naiwa Jan 21, 2025
68fdc09
[bazel] Add SPIRV
chapuni Jan 21, 2025
ec0958c
[bazel] Reorder targets
chapuni Jan 21, 2025
8a5f1ef
[ORC] Simplify error return. NFC.
lhames Jan 22, 2025
6ab9daf
[clang] Implement #pragma clang section on COFF targets (#112714)
vtz Jan 22, 2025
7cf8add
[TLOF][NFC] Make emitLinkerDirectives virtual and public. (#123773)
nvjle Jan 22, 2025
d540ebf
[ARM64EC] Avoid emitting unnecessary symbol references with /guard:cf…
efriedma-quic Jan 22, 2025
d25a1f8
[mlir][Vector][NFC] Add `vector-transform-options` flag to ConvertVec…
dcaballe Jan 22, 2025
b9813ce
[LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (#…
Jlalond Jan 22, 2025
e45de3d
Move RemoveRedundantDbgInstrs outside of inner loop in JumpThreading …
huangjd Jan 22, 2025
c26e1a2
[flang][cuda] Allocate descriptor in managed memory when memref is a …
clementval Jan 22, 2025
335f1a7
[opt][HIPSTDPAR] Handle `__hipstdpar_hidden_malloc` (#123150)
AlexVlx Jan 22, 2025
011b618
[DXIL] Define and generate `DXILAttribute` and `DXILProperty` (#117072)
inbelic Jan 22, 2025
4280316
[flang][cuda] Fix link issue after c26e1a2
clementval Jan 22, 2025
76b0187
[Github] Move agent container to separate tar archive
boomanaiden154 Jan 21, 2025
9883aa9
[RISCV] Remove some unnecessary UnsupportedSched* that are implied by…
topperc Jan 22, 2025
4089314
[SandboxVec][DAG][NFC] Remove early return in notifyMoveInstr()
vporpo Jan 22, 2025
e8811ad
[AMDGPU] Fix unreachable reg bit width (#122107)
Shoreshen Jan 22, 2025
12903fb
[NFC] Include PassID for runBeforePass children.
rastogishubham Jan 22, 2025
ee5d600
Revert "[CI][Github] Disable premerge workflow on main"
boomanaiden154 Jan 22, 2025
18ee7e1
Revert "[LLDB] Add draft docstrings for SBSaveCoreOptions" (#123873)
Jlalond Jan 22, 2025
8c2030b
[LLD] [ELF] Add support for linker script unary plus operator (#121508)
partaror Jan 22, 2025
7c58d63
[AMDGPU] Add commute for some VOP3 inst (#121326)
Shoreshen Jan 22, 2025
ceaaa2b
[AMDGPU] Fix warnings
kazutakahirata Jan 22, 2025
582fe3e
[mlir][python][cmake] Remove unsupported argument from AddMLIRPython.…
ScottTodd Jan 22, 2025
05861b3
[C++20] [Modules] Make sure vtable are generated for explicit templat…
ChuanqiXu9 Jan 22, 2025
c53faf6
Revert "[LLD] [COFF] Fix linking MSVC generated implib header objects…
thurstond Jan 22, 2025
9d0bfea
[ORC] Remove an unimplemented method decl. NFC.
lhames Jan 22, 2025
ae13998
[JITLink] Fix comment: addSection no longer takes an alignment. NFC.
lhames Jan 22, 2025
2841cdb
[lldb] Support format string in the prompt (#123430)
JDevlieghere Jan 22, 2025
3bd8b02
[clang-format] Handle leading C++11 attribute in QualifierAlignment (…
owenca Jan 22, 2025
9cbc1f2
[mlir][NFC] Avoid using braced initializer lists to call a constructo…
hanhanW Jan 22, 2025
5d76642
[clang-format][NFC] Keep option names sorted in Format.h
owenca Jan 22, 2025
07d03c8
[NFC] [C++20] [Modules] Add two tests for comparison lookup within mo…
ChuanqiXu9 Jan 22, 2025
65df99c
[NFC] Avoid potential nullptr deref by using castAs<> (#123395)
schittir Jan 22, 2025
527c030
[RISCV][test] Add VANDN tests with constants
pfusik Jan 20, 2025
7256c91
[JITLink][MachO] Add getOrCreateLocalMachOHeader utility.
lhames Jan 17, 2025
382bafc
[ORC][MachO] Prepare MachOPlatform for compact-unwind support.
lhames Jan 22, 2025
6aeffcd
[TableGen] Add a backend generating SDNode descriptions (#123002)
s-barannikov Jan 22, 2025
3630d9e
[PartiallyInlineLibCalls] Add infrastructure for emitting optimizatio…
TiborGY Jan 22, 2025
8fad58a
[compiler-rt][rtsan] process_vm_readv/process_vm_writev interception.…
devnexen Jan 22, 2025
1d23fb9
[clang][CodeComplete] Use HeuristicResolver to resolve pointee types …
HighCommander4 Jan 22, 2025
ebb27cc
[RISCV] Select Zvkb VANDN for shorter constant loading sequences (#12…
pfusik Jan 22, 2025
a88f31d
[X86] Fix overflow with large stack probes on x86-64 (#113219)
mconst Jan 22, 2025
830bd0e
[SandboxIR] Remove sandboxir::PointerType::get(Type) (#123885)
junlarsen Jan 22, 2025
b7b9ccf
[lldb] Implement basic support for reverse-continue (#112079)
rocallahan Jan 22, 2025
d839c06
[lldb] Avoid repeated map lookups (NFC) (#123892)
kazutakahirata Jan 22, 2025
4c6242e
[mlir] Link libraries that aren't included in libMLIR to libMLIR (#12…
mgorny Jan 22, 2025
53ea5ff
[mutation analyzer] support mutation analysis for pointee (#118593)
HerrCai0907 Jan 22, 2025
f7d8336
[llvm] Pass MachineInstr flags to storeRegToStackSlot/loadRegFromStac…
RamNalamothu Jan 22, 2025
ca65055
Remove mention of conditional branches in undefined values section. (…
Chobbes Jan 22, 2025
69d0c4c
[Clang] SubstituteConstraintExpressionWithoutSatisfaction needs an un…
zyn0217 Jan 22, 2025
9decc24
Revert "[mlir] Link libraries that aren't included in libMLIR to libM…
mgorny Jan 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
108 changes: 94 additions & 14 deletions .ci/metrics/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,67 @@ class JobMetrics:
workflow_id: int


def get_metrics(github_repo: github.Repository, workflows_to_track: dict[str, int]):
@dataclass
class GaugeMetric:
name: str
value: int
time_ns: int


def get_sampled_workflow_metrics(github_repo: github.Repository):
"""Gets global statistics about the Github workflow queue

Args:
github_repo: A github repo object to use to query the relevant information.

Returns:
Returns a list of GaugeMetric objects, containing the relevant metrics about
the workflow
"""

# Other states are available (pending, waiting, etc), but the meaning
# is not documented (See #70540).
# "queued" seems to be the info we want.
queued_workflow_count = len(
[
x
for x in github_repo.get_workflow_runs(status="queued")
if x.name in WORKFLOWS_TO_TRACK
]
)
running_workflow_count = len(
[
x
for x in github_repo.get_workflow_runs(status="in_progress")
if x.name in WORKFLOWS_TO_TRACK
]
)

workflow_metrics = []
workflow_metrics.append(
GaugeMetric(
"workflow_queue_size",
queued_workflow_count,
time.time_ns(),
)
)
workflow_metrics.append(
GaugeMetric(
"running_workflow_count",
running_workflow_count,
time.time_ns(),
)
)
# Always send a hearbeat metric so we can monitor is this container is still able to log to Grafana.
workflow_metrics.append(
GaugeMetric("metrics_container_heartbeat", 1, time.time_ns())
)
return workflow_metrics


def get_per_workflow_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
Expand All @@ -43,14 +103,14 @@ def get_metrics(github_repo: github.Repository, workflows_to_track: dict[str, in
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)
for workflow_run in iter(github_repo.get_workflow_runs()):
if len(workflows_to_include) == 0:
break

if workflow_run.status != "completed":
continue

Expand Down Expand Up @@ -139,12 +199,27 @@ def upload_metrics(workflow_metrics, metrics_userid, api_key):
metrics_userid: The userid to use for the upload.
api_key: The API key to use for the upload.
"""

if len(workflow_metrics) == 0:
print("No metrics found to upload.", file=sys.stderr)
return

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}"
)
if isinstance(workflow_metric, GaugeMetric):
name = workflow_metric.name.lower().replace(" ", "_")
metrics_batch.append(
f"{name} value={workflow_metric.value} {workflow_metric.time_ns}"
)
elif isinstance(workflow_metric, JobMetrics):
name = workflow_metric.job_name.lower().replace(" ", "_")
metrics_batch.append(
f"{name} queue_time={workflow_metric.queue_time},run_time={workflow_metric.run_time},status={workflow_metric.status} {workflow_metric.created_at_ns}"
)
else:
raise ValueError(
f"Unsupported object type {type(workflow_metric)}: {str(workflow_metric)}"
)

request_data = "\n".join(metrics_batch)
response = requests.post(
Expand Down Expand Up @@ -176,16 +251,21 @@ def main():
# 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
current_metrics = get_per_workflow_metrics(github_repo, workflows_to_track)
current_metrics += get_sampled_workflow_metrics(github_repo)
# Always send a hearbeat metric so we can monitor is this container is still able to log to Grafana.
current_metrics.append(
GaugeMetric("metrics_container_heartbeat", 1, time.time_ns())
)

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
if isinstance(workflow_metric, JobMetrics):
workflows_to_track[
workflow_metric.job_name
] = workflow_metric.workflow_id

time.sleep(SCRAPE_INTERVAL_SECONDS)

Expand Down
19 changes: 16 additions & 3 deletions .github/workflows/build-ci-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ jobs:
runs-on: depot-ubuntu-22.04-16
outputs:
container-name: ${{ steps.vars.outputs.container-name }}
container-name-agent: ${{ steps.vars.outputs.container-name-agent }}
container-name-tag: ${{ steps.vars.outputs.container-name-tag }}
container-name-agent-tag: ${{ steps.vars.outputs.container-name-agent-tag }}
container-filename: ${{ steps.vars.outputs.container-filename }}
container-agent-filename: ${{ steps.vars.outputs.container-agent-filename }}
steps:
- name: Checkout LLVM
uses: actions/checkout@v4
Expand All @@ -36,25 +39,30 @@ jobs:
tag=`date +%s`
container_name="ghcr.io/$GITHUB_REPOSITORY_OWNER/ci-ubuntu-22.04"
echo "container-name=$container_name" >> $GITHUB_OUTPUT
echo "container-name-agent=$container_name-agent" >> $GITHUB_OUTPUT
echo "container-name-tag=$container_name:$tag" >> $GITHUB_OUTPUT
echo "container-name-agent-tag=$container_name-agent:$tag" >> $GITHUB_OUTPUT
echo "container-filename=$(echo $container_name:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
echo "container-agent-filename=$(echo $container_name-agent:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
- name: Build container
working-directory: ./.github/workflows/containers/github-action-ci/
run: |
podman build -t ${{ steps.vars.outputs.container-name-tag }} .
podman build --target ci-container -t ${{ steps.vars.outputs.container-name-tag }} .
podman build --target ci-container-agent -t ${{ steps.vars.outputs.container-name-agent-tag }} .

# Save the container so we have it in case the push fails. This also
# allows us to separate the push step into a different job so we can
# maintain minimal permissions while building the container.
- name: Save container image
run: |
podman save ${{ steps.vars.outputs.container-name-tag }} > ${{ steps.vars.outputs.container-filename }}
podman save ${{ steps.vars.outputs.container-name-tag }} > ${{ steps.vars.outputs.container-filename }}
podman save ${{ steps.vars.outputs.container-name-agent-tag }} > ${{ steps.vars.outputs.container-agent-filename }}

- name: Upload container image
uses: actions/upload-artifact@v4
with:
name: container
path: ${{ steps.vars.outputs.container-filename }}
path: "*.tar"
retention-days: 14

- name: Test Container
Expand Down Expand Up @@ -86,3 +94,8 @@ jobs:
podman login -u ${{ github.actor }} -p $GITHUB_TOKEN ghcr.io
podman push ${{ needs.build-ci-container.outputs.container-name-tag }}
podman push ${{ needs.build-ci-container.outputs.container-name }}:latest

podman load -i ${{ needs.build-ci-container.outputs.container-agent-filename }}
podman tag ${{ needs.build-ci-container.outputs.container-name-agent-tag }} ${{ needs.build-ci-container.outputs.container-name-agent }}:latest
podman push ${{ needs.build-ci-container.outputs.container-name-agent-tag }}
podman push ${{ needs.build-ci-container.outputs.container-name-agent }}:latest
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ RUN choco install -y handle
RUN pip3 install pywin32 buildbot-worker==2.8.4
ARG RUNNER_VERSION=2.319.1
ARG RUNNER_VERSION=2.321.0
ENV RUNNER_VERSION=$RUNNER_VERSION
RUN powershell -Command \
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/containers/github-action-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ RUN apt-get update && \
ninja-build \
python3 \
git \
curl
curl \
zlib1g-dev

RUN curl -O -L https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-$LLVM_VERSION.tar.gz && tar -xf llvmorg-$LLVM_VERSION.tar.gz

Expand All @@ -38,7 +39,7 @@ RUN cmake -B ./build -G Ninja ./llvm \

RUN ninja -C ./build stage2-clang-bolt stage2-install-distribution && ninja -C ./build install-distribution

FROM base
FROM base as ci-container

COPY --from=stage1-toolchain $LLVM_SYSROOT $LLVM_SYSROOT

Expand Down Expand Up @@ -91,4 +92,15 @@ RUN adduser gha sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

USER gha
WORKDIR /home/gha

FROM ci-container as ci-container-agent

ENV GITHUB_RUNNER_VERSION=2.321.0

RUN mkdir actions-runner && \
cd actions-runner && \
curl -O -L https://github.com/actions/runner/releases/download/v$GITHUB_RUNNER_VERSION/actions-runner-linux-x64-$GITHUB_RUNNER_VERSION.tar.gz && \
tar xzf ./actions-runner-linux-x64-$GITHUB_RUNNER_VERSION.tar.gz && \
rm ./actions-runner-linux-x64-$GITHUB_RUNNER_VERSION.tar.gz

8 changes: 4 additions & 4 deletions .github/workflows/libclang-abi-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
sed -i 's/LLVM_[0-9]\+/LLVM_NOVERSION/' $lib-${{ matrix.ref }}.abi
done
- name: Upload ABI file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # 4.6.0
with:
name: ${{ matrix.name }}
path: '*${{ matrix.ref }}.abi'
Expand All @@ -143,12 +143,12 @@ jobs:
- abi-dump
steps:
- name: Download baseline
uses: actions/download-artifact@v3
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
with:
name: build-baseline
path: build-baseline
- name: Download latest
uses: actions/download-artifact@v3
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
with:
name: build-latest
path: build-latest
Expand All @@ -162,7 +162,7 @@ jobs:
done
- name: Upload ABI Comparison
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # 4.6.0
with:
name: compat-report-${{ github.sha }}
path: compat_reports/
37 changes: 30 additions & 7 deletions .github/workflows/libcxx-restart-preempted-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ jobs:
check_run_id: check_run_id
})

// For temporary debugging purposes to see the structure of the annotations.
console.log(annotations);

has_failed_job = false;
saved_failure_message = null;

for (annotation of annotations.data) {
if (annotation.annotation_level != 'failure') {
continue;
Expand All @@ -106,15 +112,32 @@ jobs:

const failure_match = annotation.message.match(failure_regex);
if (failure_match != null) {
// We only want to restart the workflow if all of the failures were due to preemption.
// We don't want to restart the workflow if there were other failures.
core.notice('Choosing not to rerun workflow because we found a non-preemption failure' +
'Failure message: "' + annotation.message + '"');
await create_check_run('skipped', 'Choosing not to rerun workflow because we found a non-preemption failure\n'
+ 'Failure message: ' + annotation.message)
return;
has_failed_job = true;
saved_failure_message = annotation.message;
}
}
if (has_failed_job && (! has_preempted_job)) {
// We only want to restart the workflow if all of the failures were due to preemption.
// We don't want to restart the workflow if there were other failures.
//
// However, libcxx runners running inside docker containers produce both a preemption message and failure message.
//
// The desired approach is to ignore failure messages which appear on the same job as a preemption message
// (An job is a single run with a specific configuration, ex generic-gcc, gcc-14).
//
// However, it's unclear that this code achieves the desired approach, and it may ignore all failures
// if a preemption message is found at all on any run.
//
// For now, it's more important to restart preempted workflows than to avoid restarting workflows with
// non-preemption failures.
//
// TODO Figure this out.
core.notice('Choosing not to rerun workflow because we found a non-preemption failure' +
'Failure message: "' + saved_failure_message + '"');
await create_check_run('skipped', 'Choosing not to rerun workflow because we found a non-preemption failure\n'
+ 'Failure message: ' + saved_failure_message)
return;
}
}

if (!has_preempted_job) {
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/llvm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@ jobs:
# Remove symbol versioning from dumps, so we can compare across major versions.
sed -i 's/LLVM_${{ matrix.llvm_version_major }}/LLVM_NOVERSION/' ${{ matrix.ref }}.abi
- name: Upload ABI file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # 4.6.0
with:
name: ${{ matrix.name }}
path: ${{ matrix.ref }}.abi

- name: Upload symbol list file
if: matrix.name == 'build-baseline'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # 4.6.0
with:
name: symbol-list
path: llvm.symbols
Expand All @@ -157,17 +157,17 @@ jobs:
- abi-dump
steps:
- name: Download baseline
uses: actions/download-artifact@v3
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
with:
name: build-baseline
path: build-baseline
- name: Download latest
uses: actions/download-artifact@v3
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
with:
name: build-latest
path: build-latest
- name: Download symbol list
uses: actions/download-artifact@v3
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # 4.1.8
with:
name: symbol-list
path: symbol-list
Expand All @@ -186,7 +186,7 @@ jobs:
abi-compliance-checker $EXTRA_ARGS -l libLLVM.so -old build-baseline/*.abi -new build-latest/*.abi || test "${{ needs.abi-dump-setup.outputs.ABI_HEADERS }}" = "llvm-c"
- name: Upload ABI Comparison
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # 4.6.0
with:
name: compat-report-${{ github.sha }}
path: compat_reports/
7 changes: 2 additions & 5 deletions .github/workflows/premerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,15 @@ jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
container:
image: ghcr.io/llvm/ci-ubuntu-22.04:latest
defaults:
run:
shell: bash
steps:
- name: Checkout LLVM
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup ccache
uses: hendrikmuhs/[email protected]
with:
max-size: "2000M"
- name: Build and Test
# Mark the job as a success even if the step fails so that people do
# not get notified while the new premerge pipeline is in an
Expand Down
Loading