Skip to content

__sys builtin support #145079

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

Closed
wants to merge 1,260 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1260 commits
Select commit Hold shift + click to select a range
04cd0f2
[LSR] Clean up code using SCEVPatternMatch (NFC) (#145556)
artagnon Jun 28, 2025
5ea29f7
[DA] Let getConstantPart return optional APInt (NFC) (#146135)
artagnon Jun 28, 2025
feb61f5
[Target] Prevent copying in loop variables (NFC)
DamonFool Jun 28, 2025
34b2e93
[libc++] Introduce `__product_iterator_traits` and optimise `flat_map…
huixie90 Jun 28, 2025
b8f1228
[docs][coroutines] Revamp "Debugging C++ coroutines" (#142651)
vogelsgesang Jun 28, 2025
372c808
[X86] canCreateUndefOrPoisonForTargetNode - PCMPEQ/PCMPGT don't creat…
RKSimon Jun 28, 2025
169b4be
Attempt to fix over-keen restarter.
EricWF Jun 28, 2025
94c1506
Further restrict the restarters ability to restart manually canceled …
EricWF Jun 28, 2025
a9295ad
AArch64: Replace deprecated MCExpr::print with MCAsmInfo::printExpr
MaskRay Jun 28, 2025
d93aff4
MC: Migrate away from operator<< MCExpr
MaskRay Jun 28, 2025
1949536
[VPlan] Also visit VPBBs outside loop region when unrolling by VF.
fhahn Jun 28, 2025
ff075d0
MCParser: Remove operator<< const MCParsedAsmOperand &MO
MaskRay Jun 28, 2025
344b5b7
[flang][OpenMP] Move lowering of ATOMIC to separate file, NFC (#146225)
kparzysz Jun 28, 2025
33c265d
[SimplifyCFG] Use indexType from data layout in switch to table conve…
andjo403 Jun 28, 2025
e878b7e
MCParsedAsmOperand::print: Add MCAsmInfo parameter
MaskRay Jun 28, 2025
0255ae8
AsmMatcher: Use getAsmInfo()
MaskRay Jun 28, 2025
80222f0
[bazel] Port 3f531552e66f242d4bfc0163be848f9e51259d80
d0k Jun 28, 2025
f96832a
BPF: Replace deprecated MCExpr::print with MCAsmInfo::printExpr
MaskRay Jun 28, 2025
303bc0d
SPIRV: Replace deprecated MCExpr::print with MCAsmInfo::printExpr
MaskRay Jun 28, 2025
c57c5f5
[flang] Fix warnings
kazutakahirata Jun 28, 2025
25d7fd3
[Analysis] Remove unnecessary casts (NFC) (#146216)
kazutakahirata Jun 28, 2025
c101415
[DebugInfo] Remove an unnecessary cast (NFC) (#146217)
kazutakahirata Jun 28, 2025
289c066
[ExecutionEngine] Remove unnecessary casts (NFC) (#146218)
kazutakahirata Jun 28, 2025
dea8217
[ADT] Use llvm::has_single_bit (NFC) (#146219)
kazutakahirata Jun 28, 2025
402baea
[modularize] Use std::tie to implement operator< (NFC) (#146220)
kazutakahirata Jun 28, 2025
bad5a74
[PowerPC] Use range-based for loops (NFC) (#146221)
kazutakahirata Jun 28, 2025
f90025e
[llvm] Compare std::optional<T> to values directly (NFC) (#146222)
kazutakahirata Jun 28, 2025
fb24b4d
[BOLT] Push code to higher addresses under options (#146180)
maksfb Jun 28, 2025
3ea7fc7
attempt to calm down restarter job
EricWF Jun 28, 2025
5ffdd94
[CodeGenPrepare] Filter out unrecreatable addresses from memory optim…
e-kud Jun 28, 2025
e6b2528
MCExpr: Migrate away from operator<<
MaskRay Jun 28, 2025
a365abd
MCExpr: Remove error-prone operator<<
MaskRay Jun 28, 2025
bdb299a
[VPlan] Simplify code in single scalar transform code (NFC).
fhahn Jun 28, 2025
d2e8e55
CSKY: Replace deprecated MCExpr::print with MCAsmInfo::printExpr
MaskRay Jun 28, 2025
f771d08
[clang-format] Fix a bug in `ReflowComments: Always` (#146202)
owenca Jun 28, 2025
2ed0401
CSKY: Migrate to the new relocation specifier representation
MaskRay Jun 28, 2025
aa8afad
MCSymbolRefExpr: Migrate away from deprecated VariantKind
MaskRay Jun 28, 2025
3cc78a8
[NFC][AMDGPU] Fix the instruction order in some test cases to make do…
shiltian Jun 28, 2025
1108cf6
ELFObjectWriter: Optimize isInSymtab
MaskRay Jun 29, 2025
6c2aa37
MCAsmStreamer: Print symbol equated to a register
MaskRay Jun 29, 2025
25d52fb
[PowerPC] Prevent copying in loop variables (NFC)
DamonFool Jun 29, 2025
68d83fa
[llvm-profdata] Resolve tilde for weighted input filenames (#146206)
kongy Jun 29, 2025
0d0daef
[GlobalISel] Remove an unnecessary cast (NFC) (#146249)
kazutakahirata Jun 29, 2025
8a4b6cd
[IR] Remove an unnecessary cast (NFC) (#146250)
kazutakahirata Jun 29, 2025
72e24f3
[MC] Remove an unnecessary cast (NFC) (#146251)
kazutakahirata Jun 29, 2025
9cf251d
[Target] Use range-based for loops (NFC) (#146253)
kazutakahirata Jun 29, 2025
c9cdc33
[clang] Remove unused includes (NFC) (#146254)
kazutakahirata Jun 29, 2025
2248cdf
[Arm] Fix UAF in ARMConstantIslandPass (#146232)
qinkunbao Jun 29, 2025
279e808
MC: Make mc-dump output compact
MaskRay Jun 29, 2025
2661d59
MC: Remove post-relaxation and Symbol printing from mc-dump output
MaskRay Jun 29, 2025
842f4f7
[Target] Prevent copying in loop variables (NFC)
DamonFool Jun 29, 2025
b54337d
MC: Enhance mc-dump output
MaskRay Jun 29, 2025
dc1a79a
MC: Make save-temp-labels imply UseNamesOnTempLabels
MaskRay Jun 29, 2025
8bd6d36
[ARM] Override hasAndNotCompare (#145441)
AZero13 Jun 29, 2025
20fbbd7
[LV] Add support for cmp reductions with decreasing IVs. (#140451)
fhahn Jun 29, 2025
c5a49fb
[LAA] Add tests with 128 bit inductions and 128 bit pointers.
fhahn Jun 29, 2025
dcc9e36
[ARM] Add neon vector support for floor (#142559)
davemgreen Jun 29, 2025
dd02fb3
[AArch64] Fix stale +zcm target feature to +zcm-gpr64 (#146260)
tomershafir Jun 29, 2025
2787759
[VPlan] Allow derived IVs and scalar-steps in narrowing interleave.
fhahn Jun 29, 2025
f21f2b4
[InstCombine] Create Icmp in canonical form (NFC) (#146266)
andjo403 Jun 29, 2025
267945b
[libc++][NFC] Refactored equality comparisons tests for `pair` and `e…
H-G-Hristov Jun 29, 2025
f5ed863
Revert "[VPlan] Allow derived IVs and scalar-steps in narrowing inter…
fhahn Jun 29, 2025
d2d5203
[clangd] Consistent precedence between `--header-insertion` and `Head…
MythreyaK Jun 29, 2025
43ab5bb
[CodeGen] Use std::tie to implement a comparison functor (NFC) (#146252)
kazutakahirata Jun 29, 2025
7138397
[Clang] Add __builtin_invoke and use it in libc++ (#116709)
philnik777 Jun 29, 2025
8d09927
MCInt: Change dump functions to accept MCContext instead of MCRegiser…
MaskRay Jun 29, 2025
5fe40b9
MCExpr: Make print private
MaskRay Jun 29, 2025
37ffe89
Reland [Driver] Add support for GCC installation detection in Baremet…
quic-garvgupt Jun 29, 2025
f5c62ee
[PHIElimination] Reuse existing COPY in predecessor basic block (#131…
guy-david Jun 29, 2025
b5cd49e
[mlir] Remove unused includes (NFC) (#146278)
kazutakahirata Jun 29, 2025
40525fb
[NFC][docs][coro] Fix syntax & typos (#146282)
vogelsgesang Jun 29, 2025
a3a60e0
[clang-tidy] add new check: modernize-use-scoped-lock (#126434)
vbvictor Jun 29, 2025
fa05864
[clang-format] Make EndsInComma in ContinuationIndenter consistent (#…
owenca Jun 29, 2025
8943036
Fix UAF in ARMConstantIslandPass.
qinkunbao Jun 29, 2025
43f2a3c
[gn] port e34e02128ec5eb8
nico Jun 29, 2025
ed25d47
Reland [Driver] Add support for crtbegin.o, crtend.o and libgloss lib…
quic-garvgupt Jun 29, 2025
d0e8d84
[gn] port 3fdf46ad60f1 (RuntimeLibcalls.inc)
nico Jun 29, 2025
d808129
[gn build] Port 23f1ba3ee456
nico Jun 29, 2025
347a5f4
[gn] port 23f1ba3ee456 (DebugInfo/DWARF/LowLevel)
nico Jun 29, 2025
b822a32
[VPlan] Fix crash when trying to narrow interleave group storing const.
fhahn Jun 29, 2025
1f5f381
AMDGPU: Implement intrinsic/builtins for gfx1250 load transpose instr…
changpeng Jun 29, 2025
b62b58d
[OpenMP] Fix crash with duplicate mapping on target directive (#146136)
jtb20 Jun 29, 2025
75f359d
[MC] Remove an unnecessary cast (NFC) (#146276)
kazutakahirata Jun 29, 2025
38df9eb
[docs] Fix a typo in llvm/docs/CMake.rst (#138639)
ur4t Jun 29, 2025
cd075a4
MCObjectStreamer: Deduplicate emitInstToData
MaskRay Jun 29, 2025
2de5134
MCFragment: Add addFixup to replace getFixups().push_back()
MaskRay Jun 29, 2025
613222e
[DAGCombiner] Remove `UnsafeFPMath` usage in `visitFSUBForFMACombine`…
paperchalice Jun 30, 2025
9a6e068
[mlgo][regalloc] Fix after PR #131837 (#146297)
mtrofin Jun 30, 2025
e47d401
CodeView: Move MCCVDefRangeFragment storage to MCContext/MCFragment
MaskRay Jun 30, 2025
d4b5905
Add`final` specifier to the classop (#145977)
Jaddyen Jun 30, 2025
678ccd5
[IR] Remove an unnecessary cast (NFC) (#146274)
kazutakahirata Jun 30, 2025
72c0fc2
[LTO] Remove an unnecessary cast (NFC) (#146275)
kazutakahirata Jun 30, 2025
42d94af
[Target] Use range-based for loops (NFC) (#146277)
kazutakahirata Jun 30, 2025
59eaffe
[RISCV] Remove required features zvfhmin from vslideup/vslidedown
tclin914 Jun 30, 2025
a17f635
Reland [Driver] Fix link order of BareMetal toolchain object (#146291)
quic-garvgupt Jun 30, 2025
bb982e7
AMDGPU: support s_monitor_sleep on gfx1250 (#146293)
changpeng Jun 30, 2025
2d94c08
Reland [Driver] Add option to force undefined symbols during linking …
quic-garvgupt Jun 30, 2025
629126e
[clang][bytecode][NFC] Remove some dead code (#146287)
tbaederr Jun 30, 2025
140e189
[KeyInstr] Add DISubprogram::keyInstructions bit (#144107)
OCHyams Jun 30, 2025
ed391f1
[Driver] Forward sysroot from Driver to linker in BareMetal ToolChain…
quic-garvgupt Jun 30, 2025
7354123
[KeyInstr] Use DISubprogram's is-key-instructions-on flag at DWARF em…
OCHyams Jun 30, 2025
57f7e14
[LoongArch] Pre-commit test for _BitInt(N)
Ami-zhang Jun 25, 2025
8602204
[mlir][tensor] Relax input type requirement on `tensor.splat` (#145893)
zero9178 Jun 30, 2025
834c410
[Target] Prevent copying in loop variables (NFC)
DamonFool Jun 30, 2025
faefe7c
[flang] add option to generate runtime type info as external (#146071)
jeanPerier Jun 30, 2025
597ee88
[Driver] Add support for `-m` flag to linker job of Baremetal toolcha…
quic-garvgupt Jun 30, 2025
b563e76
[AArch64] Improve scalar and Neon popcount with SVE CNT. (#143870)
rj-jesus Jun 30, 2025
5220e4f
Speculative test tweak after ed25d473fb1b7
nico Jun 30, 2025
e0864b5
[libc++] Fix <charconv> not exporting std::errc (#146268)
philnik777 Jun 30, 2025
9fbde32
Revert "CodeView: Move MCCVDefRangeFragment storage to MCContext/MCFr…
DavidSpickett Jun 30, 2025
179cc20
[libc++] Add missing _LIBCPP_NODEBUG in <__type_traits/invoke.h>
philnik777 Jun 30, 2025
6a120bf
[Hexagon] Remove unused flag from HexagonGenExtract(NFC) (#146310)
svs-quic Jun 30, 2025
5c5bcd6
[gn build] Port 34b2e934ea9e
llvmgnsyncbot Jun 30, 2025
22064ce
[gn build] Port 3f531552e66f
llvmgnsyncbot Jun 30, 2025
96fc0b3
[gn build] Port a3a60e03e2bf
llvmgnsyncbot Jun 30, 2025
7ec494e
[gn build] Port a64db49371f0
llvmgnsyncbot Jun 30, 2025
af82e14
[KeyInstr] Fully support mixed key/non-key inlining modes (#144103)
OCHyams Jun 30, 2025
b42c883
[clang] Build the Z3 mock module via CMake (#146284)
mgorny Jun 30, 2025
473769e
[clang] [modules] Add err_main_in_named_module (#146247)
kish1n Jun 30, 2025
2e7aa7e
[mlir][tosa] Add custom operand getters for select op (#145921)
lhutton1 Jun 30, 2025
1dfc3e8
[X86] Add test coverage to show failure to push freeze through saddo/…
RKSimon Jun 30, 2025
338dee0
[NFC][libclc] Refactor _CLC_*_VECTORIZE macros to functions in .inc f…
wenju-he Jun 30, 2025
f226852
[X86] Add test coverage to show failure to push freeze through ssubo/…
RKSimon Jun 30, 2025
d0c1ea9
[InstCombine] Pull unary shuffles through fneg/fabs (#144933)
lukel97 Jun 30, 2025
47ecd18
Global string alignment (#142346)
dominik-steenken Jun 30, 2025
24fd343
[lldb][test] TestMetadataRegisters.py: add missing include
Michael137 Jun 30, 2025
f8cb798
[RISCV] Integrate RISCV target in baremetal toolchain object and depr…
quic-garvgupt Jun 30, 2025
de6b8cd
[EarlyCSE] Add support for writeonly call CSE (#145474)
nikic Jun 30, 2025
f412842
[PHIElimination] Fix bug around $noreg assignment (#146320)
guy-david Jun 30, 2025
d7a3bdf
[PassBuilder][FatLTO] Expose FatLTO pipeline via pipeline string (#14…
nikic Jun 30, 2025
5e732c0
[CLANG][AArch64] Add mfloat8_t support for more SVE load intrinsics (…
amilendra Jun 30, 2025
a72a0f4
[Clang][AArch64] Add mfloat8_t variants of Neon load intrinsics (#145…
amilendra Jun 30, 2025
33c8d5c
[Clang][AArch64] Add FP8 variants of Neon store intrinsics (#145346)
kmclaughlin-arm Jun 30, 2025
5186d4a
[NFC] [clang] Fix a test regression
ChuanqiXu9 Jun 30, 2025
3a7d608
[FatLTO] Relax checks for fatlto pipeline test
nikic Jun 30, 2025
c3f8dd1
[NFC][analyzer] Use %clang_analyze_cc1 consistently (#145895)
NagyDonat Jun 30, 2025
7a3e555
[Clang][Sema] Require `BaseClass::` (not other classes) in member usi…
zwuis Jun 30, 2025
6e6c61d
[InstCombine] Add explicit data layout to test
nikic Jun 30, 2025
003145d
[Offload] Implement `olShutDown` (#144055)
RossBrunton Jun 30, 2025
be75ded
[KeyInstr][Clang] Copy ctor/assignment operator source atoms (#144346)
OCHyams Jun 30, 2025
b29fea6
[KeyInstr][Clang][NFC] Don't set -dwarf-use-key-instructions (#144115)
OCHyams Jun 30, 2025
a4647b2
[gn] port b42c8831d57a
nico Jun 30, 2025
e810c63
[gn build] Port f8cb7987c64d
llvmgnsyncbot Jun 30, 2025
a99c964
[AMDGPU] Add support for `v_cvt_f16_fp8` on gfx1250 (#146302)
shiltian Jun 30, 2025
749c7c5
[AMDGPU] Add support for `v_cvt_f16_bf8` on gfx1250 (#146305)
shiltian Jun 30, 2025
eb1a80b
[DAG] Implement SDPatternMatch `m_SpecificScalarVT` and `m_SpecificVe…
zhaohuiw42 Jun 30, 2025
b9e4679
[DAG] canCreateUndefOrPoison - add handling for ADD/SUB/MUL overflow …
RKSimon Jun 30, 2025
652630b
[ISel/RISCV] Fix fixed-vector [l]lrint lowering (#145898)
artagnon Jun 30, 2025
f01a793
[VPlan] Replace all uses of VF when EVL tail folding. NFCI (#146339)
lukel97 Jun 30, 2025
183acdd
[GlobalOpt] Revert global widening transform (#144652)
nikic Jun 30, 2025
d4fdfc3
[DA] Improve code in getSplitIteration (NFC) (#146137)
artagnon Jun 30, 2025
51dfe28
[clang] odr-checker fix for conversion operators (#146153)
mizvekov Jun 30, 2025
a99fee6
[OpenACC][CIR] Implement 'exit data' construct + clauses (#146167)
erichkeane Jun 30, 2025
d7e23be
[lldb][RISCV] fix LR/SC atomic sequence handling in lldb-server (#146…
dlav-sc Jun 30, 2025
10445ac
[libc] Efficiently implement 'realloc' for AMDGPU devices (#145960)
jhuber6 Jun 30, 2025
8c77191
[InstCombine] smin(smax(X, -1), 1) -> scmp(X, 0) and smax(smin(X, 1),…
AZero13 Jun 30, 2025
619f7af
[LAA] Clean up APInt-overflow related code (#140048)
artagnon Jun 30, 2025
67e73ba
[Offload] Refactor device/platform info queries (#146345)
RossBrunton Jun 30, 2025
b0ff473
[LLVM] Change `ModulePass::skipModule` to take a const reference (#14…
jurahul Jun 30, 2025
d1ba269
[LLVM][Clang] Enable strict mode for `getTrailingObjects` (#144930)
jurahul Jun 30, 2025
1cdc7f8
[clang] [Sema] Suggest [[noreturn]] for void functions that always th…
snarang181 Jun 30, 2025
44ec3e8
[clang][AST] Fix AST IgnoreUnlessSpelledInSource traversal nullptr de…
JonathanMarriott Jun 30, 2025
c00c5a3
[X86] Add test coverage to show failure to push freeze through CTLZ/C…
RKSimon Jun 30, 2025
5ab3114
Expand annotation check for -Wunique-object-duplication on Windows. (…
DKLoehr Jun 30, 2025
53102a3
[ExtractAPI] Format pointer types correctly (#146182)
snprajwal Jun 30, 2025
00cdaa5
[clang][bytecode] Add `Descriptor::hasTrivialDtor()` (#146286)
tbaederr Jun 30, 2025
425359a
[experimental] Ask copilot to check perf profile degradation (#146271)
mtrofin Jun 30, 2025
6f7370c
[InstCombine] Pull vector reverse through fneg (#146349)
lukel97 Jun 30, 2025
545cdca
[SCCP] Improve worklist management (#146321)
nikic Jun 30, 2025
8a5b97a
Revert "[clang] [modules] Add err_main_in_named_module (#146247)"
ChuanqiXu9 Jun 30, 2025
199c6ec
[RISCV] Add coverage for missed scalarization of gather/scatter base …
preames Jun 30, 2025
4aaab69
[libc++] Fix wait_on_destruct.pass.cpp hanging sometimes (#146240)
EricWF Jun 30, 2025
25e5010
[lldb] Delete unused variables in TestLoongArchEmulator.cpp.
jyknight Jun 30, 2025
16dc6f6
[lldb] Document MCP support in LLDB (#145935)
JDevlieghere Jun 30, 2025
18a0675
[bazel] Add gdb-scripts filegroup in llvm and mlir (#146358)
hashemthomas1 Jun 30, 2025
a1d8331
[AArch64] Change IssueWidth to 5 in AArch64SchedNeoverseN2.td (#145717)
simonwallis2 Jun 30, 2025
6bd9ff0
[ARM] Add neon vector support for round
davemgreen Jun 30, 2025
c79b685
Restrict tests in Transforms/InstCombine/SystemZ to SystemZ (NFC) (#1…
dominik-steenken Jun 30, 2025
a8f460d
[libc] implement sigsetjmp for thumb/thumb2/armv7-a (#138147)
SchrodingerZhu Jun 30, 2025
04395be
MC: Merge MCFragment.h into MCSection.h
MaskRay Jun 30, 2025
529508c
[DAG] canCreateUndefOrPoison - add handling for CTTZ/CTLZ nodes (#146…
RKSimon Jun 30, 2025
efc561c
[CodeGen] Remove an unnecessary cast (NFC) (#146380)
kazutakahirata Jun 30, 2025
83b462a
[flang][CLI] Have the CLI hint the flag to disable a warning (#144767)
akuhlens Jun 30, 2025
dccc026
[flang][runtime] Allow INQUIRE(IOLENGTH=) in the presence of defined …
klausler Jun 30, 2025
348002e
[flang] Check definability for logical INQUIRE specifiers (#144797)
klausler Jun 30, 2025
a93d843
[flang] Don't warn on (0.,0.)**(nonzero noninteger) (#145179)
klausler Jun 30, 2025
f3d5759
[flang] Skip over fixed form spaces when prescanning exponents & kind…
klausler Jun 30, 2025
407542b
[flang] Process pointer component default initializers sooner (#145601)
klausler Jun 30, 2025
de7c2f2
[HLSL] Remove dead code in Type.cpp [NFC] (#146365)
s-perron Jun 30, 2025
790bc5b
[flang][NFC] Remove inadvertently added source file (#146395)
klausler Jun 30, 2025
7a33b70
[libc] wcstok implementation (#145989)
uzairnawaz Jun 30, 2025
6a83a84
[IR] Remove an unnecessary cast (NFC) (#146381)
kazutakahirata Jun 30, 2025
0494f93
[Basic] Drop const from a return type (NFC) (#146382)
kazutakahirata Jun 30, 2025
36cf51d
[clang][bytecode] Classify variable initializer, not the decl (#146338)
tbaederr Jun 30, 2025
01d0171
Address formatting mistake in libc++ test
EricWF Jun 30, 2025
b2b20ee
tsan: Support free_sized and free_aligned_sized from C23 (#144531)
jcking Jun 30, 2025
2d825cc
[flang] Add new hints to expected warnings (#146399)
klausler Jun 30, 2025
125dbe1
[OpenACC][CIR] 'update' construct lowering + a few clauses (#146378)
erichkeane Jun 30, 2025
5548f4d
[LLDB][NFC] Refactor code extracting timestamp from StructuredData (#…
oontvoo Jun 30, 2025
536ba87
[libomptarget] Add a test for OMP_TARGET_OFFLOAD=disabled (#146385)
ye-luo Jun 30, 2025
233078f
[nfc][asan] clang-format for #145087
vitalybuka Jun 30, 2025
ba84d0c
[clang-doc] Precommit friends test (#146164)
evelez7 Jun 30, 2025
6a57af8
[clang-tidy] Add flag to specify an alternative to std::forward (#138…
DimitrijeDobrota Jun 30, 2025
878d359
[mlir][vector] Avoid setting padding by default to `0` in `vector.tra…
fabianmcg Jun 30, 2025
4662871
[IR][PGO] Verify the structure of `VP` metadata. (#145584)
mtrofin Jun 30, 2025
5f91b69
[MLIR] Always emit setPropertiesFromParsedAttr() when hasCustomAssemb…
joker-eph Jun 30, 2025
0f291e5
[clang-tidy] Add flag to specify an alternative to std::move in cppco…
DimitrijeDobrota Jun 30, 2025
90da616
[flang] Use outermost fir.dummy_scope for TBAA of local allocations. …
vzakhari Jun 30, 2025
96b9b2e
[Clang] Fix '-Wformat-overflow' FP when floats had field-width and pl…
vbvictor Jun 30, 2025
a68e447
[clang-doc] serialize friends (#146165)
evelez7 Jun 30, 2025
93849a3
[flang] Check for ultimate ALLOCATABLE component in LOCAL_INIT() (#14…
eugeneepshteyn Jun 30, 2025
163a7e1
[mlir][LLVMIR][NFC] Remove duplicate getUnnamedAddrAttrName uses in o…
Jezurko Jun 30, 2025
4bf0c6b
[libc][bazel] Added wchar functions to bazel (#146126)
sribee8 Jun 30, 2025
4c7d3e9
[STLForwardCompat] Implement llvm::type_identity (#146390)
kparzysz Jun 30, 2025
81c9a1a
[libc][obvious] Fixed typos in some wchar headers (#146413)
sribee8 Jun 30, 2025
f205e35
[CIR] Upstream GenericSelectionExpr for ComplexType (#146265)
AmrDeveloper Jun 30, 2025
026aae7
[VPlan] Infer reduction result types w/o accessing underlying phis.(NFC)
fhahn Jun 30, 2025
dcf8ec9
Reland "[MLGO][IR2Vec] Integrating IR2Vec with MLInliner (#143479)" (…
svkeerthy Jun 30, 2025
eb904e8
[lldb] Fix link syntax in docs/use/mcp.md
JDevlieghere Jun 30, 2025
56ef00a
[X86][GlobalISel] Fix RegBank issue for G_FABS (#145674)
mahesh-attarde Jun 30, 2025
0745eb5
[IR2Vec] Scale embeddings once in vocab analysis instead of repetitiv…
svkeerthy Jun 30, 2025
56739f5
[Analysis] Fix a warning
kazutakahirata Jun 30, 2025
f4cecfe
[flang][cuda] Bring PARAMETER arrays into the GPU module (#146416)
clementval Jun 30, 2025
0d1392e
[MachineOutliner] Remove LOHs from outlined candidates (#143617)
ellishg Jun 30, 2025
1eb7954
[lldb] Correctly restore the cursor column after resizing the statusl…
JDevlieghere Jun 30, 2025
d599bde
[AMDGPU] Autogen checks for test (#146421)
jrbyrnes Jun 30, 2025
59a7185
[VPlan] Truncate/Extend ComputeReductionResult at construction (NFC).…
fhahn Jun 30, 2025
6896d8a
[RISCV][MC] Support Base P non-GPR pair instructions (#137927)
realqhc Jun 30, 2025
f16983f
[flang][acc] Ensure fir.class is handled in type categorization (#146…
razvanlupusoru Jun 30, 2025
ff4faaa
[mlir][examples] Fix deprecation warnings for `ArrayRef(std::nullopt)…
kuhar Jun 30, 2025
92b5095
[NFC][TableGen] Capitalize `to` in `UseFnTableInDecodetoMCInst`. (#14…
jurahul Jun 30, 2025
12409a1
[DirectX] Implement `memcpy` in DXIL CBuffer Access pass (#144436)
Icohedron Jun 30, 2025
d2500e6
[pgo] add means to specify "unknown" MD_prof (#145578)
mtrofin Jun 30, 2025
a3c8165
[flang][acc] Fix dialect dependencies (#146431)
razvanlupusoru Jul 1, 2025
ad7d675
[BOLT] Refactor mapCodeSections(). NFC (#146434)
maksfb Jul 1, 2025
8d9cdb6
[Clang][LoongArch] Fixed incorrect _BitInt(N>64) alignment (#145297)
Ami-zhang Jul 1, 2025
a4f637d
[MLGO] Fix feature iteration using FeatureMap.size() instead of Numbe…
svkeerthy Jul 1, 2025
70db191
[RISCV] Add LLVM IR intrinsicis vrgatherei16/vslideup/vslidedown supp…
tclin914 Jul 1, 2025
6620db5
[NFC][MLGO] Fix indentation in MLGO.rst (#146444)
svkeerthy Jul 1, 2025
6323541
[LLD][ELF] Skip non-SHF_ALLOC sections when checking max VA and max V…
Enna1 Jul 1, 2025
24c4bba
[bazel] Quick fix for #145584 (Core deps ProfileData/InstrProf.h)
chapuni Jul 1, 2025
9438048
[IR2Vec] Simplifying creation of Embedder (#143999)
svkeerthy Jul 1, 2025
a2dc64c
[NFC][MLGO] Convert notes to proper RST note directives in MLGO.rst (…
svkeerthy Jul 1, 2025
950ce9f
trim RUn statements
AdamGlass Jul 1, 2025
8cf3b98
[Analysis] Fix a warning
kazutakahirata Jul 1, 2025
6b0d0f2
__sys builtin support
AdamGlass Jun 14, 2025
4370e7e
Address feedback
AdamGlass Jun 21, 2025
fd549f4
trim RUn statements
AdamGlass Jul 1, 2025
9e4082f
fix test
AdamGlass Jul 1, 2025
3816751
Merge branch 'sys-builtin-clean' of https://github.com/AdamGlass/llvm…
AdamGlass Jul 1, 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.
141 changes: 91 additions & 50 deletions .ci/compute_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,22 @@
},
"lld": {"bolt", "cross-project-tests"},
# TODO(issues/132795): LLDB should be enabled on clang changes.
"clang": {"clang-tools-extra", "compiler-rt", "cross-project-tests"},
"clang-tools-extra": {"libc"},
"clang": {"clang-tools-extra", "cross-project-tests"},
"mlir": {"flang"},
# Test everything if ci scripts are changed.
# FIXME: Figure out what is missing and add here.
".ci": {"llvm", "clang", "lld", "lldb"},
".ci": {
"llvm",
"clang",
"lld",
"lldb",
"bolt",
"clang-tools-extra",
"mlir",
"polly",
"flang",
"libclc",
"openmp",
},
}

# This mapping describes runtimes that should be enabled for a specific project,
Expand All @@ -64,7 +74,17 @@

# This mapping describes runtimes that should be tested when the key project is
# touched.
DEPENDENT_RUNTIMES_TO_TEST = {"clang": {"libcxx", "libcxxabi", "libunwind"}}
DEPENDENT_RUNTIMES_TO_TEST = {
"clang": {"compiler-rt"},
"clang-tools-extra": {"libc"},
"libc": {"libc"},
".ci": {"compiler-rt", "libc"},
}
DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG = {
"llvm": {"libcxx", "libcxxabi", "libunwind"},
"clang": {"libcxx", "libcxxabi", "libunwind"},
".ci": {"libcxx", "libcxxabi", "libunwind"},
}

EXCLUDE_LINUX = {
"cross-project-tests", # TODO(issues/132796): Tests are failing.
Expand Down Expand Up @@ -93,9 +113,6 @@
"cross-project-tests",
"flang",
"libc",
"libcxx",
"libcxxabi",
"libunwind",
"lldb",
"openmp",
"polly",
Expand All @@ -122,21 +139,35 @@
"polly": "check-polly",
}

RUNTIMES = {"libcxx", "libcxxabi", "libunwind"}
RUNTIMES = {"libcxx", "libcxxabi", "libunwind", "compiler-rt", "libc"}


def _add_dependencies(projects: Set[str]) -> Set[str]:
def _add_dependencies(projects: Set[str], runtimes: Set[str]) -> Set[str]:
projects_with_dependents = set(projects)
current_projects_count = 0
while current_projects_count != len(projects_with_dependents):
current_projects_count = len(projects_with_dependents)
for project in list(projects_with_dependents):
if project not in PROJECT_DEPENDENCIES:
continue
projects_with_dependents.update(PROJECT_DEPENDENCIES[project])
if project in PROJECT_DEPENDENCIES:
projects_with_dependents.update(PROJECT_DEPENDENCIES[project])
for runtime in runtimes:
if runtime in PROJECT_DEPENDENCIES:
projects_with_dependents.update(PROJECT_DEPENDENCIES[runtime])
return projects_with_dependents


def _exclude_projects(current_projects: Set[str], platform: str) -> Set[str]:
if platform == "Linux":
to_exclude = EXCLUDE_LINUX
elif platform == "Windows":
to_exclude = EXCLUDE_WINDOWS
elif platform == "Darwin":
to_exclude = EXCLUDE_MAC
else:
raise ValueError(f"Unexpected platform: {platform}")
return current_projects.difference(to_exclude)


def _compute_projects_to_test(modified_projects: Set[str], platform: str) -> Set[str]:
projects_to_test = set()
for modified_project in modified_projects:
Expand All @@ -154,54 +185,52 @@ def _compute_projects_to_test(modified_projects: Set[str], platform: str) -> Set
):
continue
projects_to_test.add(dependent_project)
if platform == "Linux":
for to_exclude in EXCLUDE_LINUX:
if to_exclude in projects_to_test:
projects_to_test.remove(to_exclude)
elif platform == "Windows":
for to_exclude in EXCLUDE_WINDOWS:
if to_exclude in projects_to_test:
projects_to_test.remove(to_exclude)
elif platform == "Darwin":
for to_exclude in EXCLUDE_MAC:
if to_exclude in projects_to_test:
projects_to_test.remove(to_exclude)
else:
raise ValueError("Unexpected platform.")
projects_to_test = _exclude_projects(projects_to_test, platform)
return projects_to_test


def _compute_projects_to_build(projects_to_test: Set[str]) -> Set[str]:
return _add_dependencies(projects_to_test)
def _compute_projects_to_build(
projects_to_test: Set[str], runtimes: Set[str]
) -> Set[str]:
return _add_dependencies(projects_to_test, runtimes)


def _compute_project_check_targets(projects_to_test: Set[str]) -> Set[str]:
check_targets = set()
for project_to_test in projects_to_test:
if project_to_test not in PROJECT_CHECK_TARGETS:
continue
check_targets.add(PROJECT_CHECK_TARGETS[project_to_test])
if project_to_test in PROJECT_CHECK_TARGETS:
check_targets.add(PROJECT_CHECK_TARGETS[project_to_test])
return check_targets


def _compute_runtimes_to_test(projects_to_test: Set[str]) -> Set[str]:
def _compute_runtimes_to_test(modified_projects: Set[str], platform: str) -> Set[str]:
runtimes_to_test = set()
for project_to_test in projects_to_test:
if project_to_test in DEPENDENT_RUNTIMES_TO_TEST:
runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[project_to_test])
if project_to_test in DEPENDENT_RUNTIMES_TO_BUILD:
runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_BUILD[project_to_test])
return runtimes_to_test
for modified_project in modified_projects:
if modified_project in DEPENDENT_RUNTIMES_TO_TEST:
runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[modified_project])
return _exclude_projects(runtimes_to_test, platform)


def _compute_runtime_check_targets(projects_to_test: Set[str]) -> Set[str]:
check_targets = set()
for project_to_test in projects_to_test:
if project_to_test not in DEPENDENT_RUNTIMES_TO_TEST:
continue
for runtime_to_test in DEPENDENT_RUNTIMES_TO_TEST[project_to_test]:
check_targets.add(PROJECT_CHECK_TARGETS[runtime_to_test])
return check_targets
def _compute_runtimes_to_test_needs_reconfig(
modified_projects: Set[str], platform: str
) -> Set[str]:
runtimes_to_test = set()
for modified_project in modified_projects:
if modified_project in DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG:
runtimes_to_test.update(
DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG[modified_project]
)
return _exclude_projects(runtimes_to_test, platform)


def _compute_runtimes_to_build(
runtimes_to_test: Set[str], modified_projects: Set[str], platform: str
) -> Set[str]:
runtimes_to_build = set(runtimes_to_test)
for modified_project in modified_projects:
if modified_project in DEPENDENT_RUNTIMES_TO_BUILD:
runtimes_to_build.update(DEPENDENT_RUNTIMES_TO_BUILD[modified_project])
return _exclude_projects(runtimes_to_build, platform)


def _get_modified_projects(modified_files: list[str]) -> Set[str]:
Expand All @@ -225,10 +254,19 @@ def _get_modified_projects(modified_files: list[str]) -> Set[str]:
def get_env_variables(modified_files: list[str], platform: str) -> Set[str]:
modified_projects = _get_modified_projects(modified_files)
projects_to_test = _compute_projects_to_test(modified_projects, platform)
projects_to_build = _compute_projects_to_build(projects_to_test)
runtimes_to_test = _compute_runtimes_to_test(modified_projects, platform)
runtimes_to_test_needs_reconfig = _compute_runtimes_to_test_needs_reconfig(
modified_projects, platform
)
runtimes_to_build = _compute_runtimes_to_build(
runtimes_to_test | runtimes_to_test_needs_reconfig, modified_projects, platform
)
projects_to_build = _compute_projects_to_build(projects_to_test, runtimes_to_build)
projects_check_targets = _compute_project_check_targets(projects_to_test)
runtimes_to_build = _compute_runtimes_to_test(projects_to_test)
runtimes_check_targets = _compute_runtime_check_targets(projects_to_test)
runtimes_check_targets = _compute_project_check_targets(runtimes_to_test)
runtimes_check_targets_needs_reconfig = _compute_project_check_targets(
runtimes_to_test_needs_reconfig
)
# We use a semicolon to separate the projects/runtimes as they get passed
# to the CMake invocation and thus we need to use the CMake list separator
# (;). We use spaces to separate the check targets as they end up getting
Expand All @@ -238,6 +276,9 @@ def get_env_variables(modified_files: list[str], platform: str) -> Set[str]:
"project_check_targets": " ".join(sorted(projects_check_targets)),
"runtimes_to_build": ";".join(sorted(runtimes_to_build)),
"runtimes_check_targets": " ".join(sorted(runtimes_check_targets)),
"runtimes_check_targets_needs_reconfig": " ".join(
sorted(runtimes_check_targets_needs_reconfig)
),
}


Expand Down
Loading
Loading