Skip to content

[lldb] Revive TestSimulatorPlatform.py (#142244) #1

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 851 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
851 commits
Select commit Hold shift + click to select a range
c9ac167
[lldb] Remove a redundant control flow statement (NFC) (#144284)
kazutakahirata Jun 16, 2025
05cd32a
[llvm] Remove unused includes (NFC) (#144293)
kazutakahirata Jun 16, 2025
ec32d88
Annotate potentially unused variables introduced in #133499 (#144379)
basioli-k Jun 16, 2025
5acdd8d
AVR: Rename AVRMCExpr::VK_ to AVR::S_
MaskRay Jun 16, 2025
25dcd23
[IPO] Added attributor for identifying invariant loads (#141800)
zGoldthorpe Jun 16, 2025
1bd4f97
[flang][OpenMP] Put taskgroup in a new scope (#144122)
luporl Jun 16, 2025
22d9ea1
[mlir][spirv] Add definition for GL Length (#144041)
IgWod-IMG Jun 16, 2025
8bbef3d
[InstCombine] Iterative replacement in PtrReplacer (#137215)
gandhi56 Jun 16, 2025
d1dc080
[lldb-dap] show function name in the instruction comment. (#144070)
da-viper Jun 16, 2025
20a1b35
AArch64: Move AArch64MCExpr functions to AArch64MCAsmInfo
MaskRay Jun 16, 2025
a733c6c
[TargetLowering][RISCV] Allow scalable non-simple EVTs to be split ev…
topperc Jun 16, 2025
c62a613
Revert "[InstCombine] Iterative replacement in PtrReplacer" (#144394)
gandhi56 Jun 16, 2025
6f9cd79
[InstSimplify] Add basic simplifications for vp.reverse (#144112)
preames Jun 16, 2025
90d62e0
[RISCV][TTI] Refine reverse shuffle costing for high LMUL (#144155)
preames Jun 16, 2025
267b859
[CIR] Implement folder for VecCmpOp (#143322)
AmrDeveloper Jun 16, 2025
4cd3e41
[libc] Removed public function calls in table.h (#144168)
sribee8 Jun 16, 2025
ffc4d87
[llvm] annotate interfaces in Passes for DLL export (#143794)
andrurogerz Jun 16, 2025
febb7e8
[llvm] annotate interfaces in XRay for DLL export (#143765)
andrurogerz Jun 16, 2025
695c4f2
[NFC][mlir][tensor] Use `ValueRange` instead of `SmallVector` in `ten…
fabianmcg Jun 16, 2025
492d25b
[llvm] annotate interfaces in llvm/ObjectYAML for DLL export (#143763)
andrurogerz Jun 16, 2025
fccab5d
[CIR] Upstream ComplexType ImaginaryLiteral (#144223)
AmrDeveloper Jun 16, 2025
3f79475
[build] Fixed LLVM_ENABLE_DEBUGLOC_COVERAGE_TRACKING handling. (#144391)
vzakhari Jun 16, 2025
a3d35b8
[RISCV] Use RISCV::RVVBitsPerBlock instead of 64 in getLMUL1VT. NFC (…
topperc Jun 16, 2025
539cf82
[lldb-dap] Use structured types for stepInTargets request (#144072)
da-viper Jun 16, 2025
b5c6245
[CIR][NFC] Refactor constant pointer l-value handling (#144165)
andykaylor Jun 16, 2025
0058272
[NFC] Remove unused test code from ELFObjectFileTest.cpp
rlavaee Jun 16, 2025
8ed43c4
[Matrix] Hoist IRBuilder<> out of Visit* functions. NFC (#144369)
jroelofs Jun 16, 2025
63b80dd
[NFC][RootSignature] Use `llvm::EnumEntry` for serialization of Root …
inbelic Jun 16, 2025
fcc10e5
Remove unnecessary BOM from file; NFC
AaronBallman Jun 16, 2025
f83d09a
Revert "[RISCV] Remove B and Zbc extension from Andes series cpus." (…
AaronBallman Jun 16, 2025
e836223
[Object][AMDGPU] Support REL relocations (#143966)
slinder1 Jun 16, 2025
a00b736
[mlir][Vector] Support `vector.extract(xfer_read)` folding with dynam…
dcaballe Jun 16, 2025
a0662ce
[objcopy][MachO] Revert special handling of encryptable binaries (#14…
drodriguez Jun 16, 2025
402c376
[libc] Change default behaviour of baremetal/printf to use stdout (#1…
saturn691 Jun 16, 2025
2578122
[instcombine] Delete dead transform for reverse of binop (#143967)
preames Jun 16, 2025
b0378e7
[AArch64TargetParser]Fix reconstructFromParsedFeatures ignoring negat…
MatzeB Jun 16, 2025
a637584
[lldb-dap] Add supported languages in package.json (#144414)
DrSergei Jun 16, 2025
8adccae
[libc] Implemented CharacterConverter push/pop for utf32->utf8 conver…
uzairnawaz Jun 16, 2025
1e60dd4
[lldb] Fix a warning
kazutakahirata Jun 16, 2025
d3bc834
[LV] Update check to find epilogue resume value to check all incoming.
fhahn Jun 16, 2025
34be09a
[lldb-dap][test] fix not supported error. (#144419)
da-viper Jun 16, 2025
a027eb4
[HLSL] Use hidden visibility for external linkage. (#140292)
s-perron Jun 16, 2025
60a59e3
[ASan] Recognize WASI platform in sanitizer_platform.h (#139017)
kateinoigakukun Jun 16, 2025
38daa6d
[libc] build fix: always use our char8_t headers even in overlay mode…
uzairnawaz Jun 16, 2025
95418bc
lsan: Support free_sized and free_aligned_sized from C23 (#144415)
jcking Jun 16, 2025
9c25ca7
[flang] Don't generate module file for hermetic USE'd dependency (#14…
klausler Jun 16, 2025
65b06cd
[flang][runtime] Check SOURCE= conformability on ALLOCATE (#144113)
klausler Jun 16, 2025
2bf3cca
[flang] Restructure runtime to avoid recursion (relanding) (#143993)
klausler Jun 16, 2025
6cbb67f
[mlir][emitc] Fix the emitc::ExpressionOp (#143894)
Vladislave0-0 Jun 16, 2025
a383b1a
Reland "[HLSL][RootSignature] Implement serialization of RootConstant…
inbelic Jun 16, 2025
30b16ec
[VPlan] Simplify trivial VPFirstOrderRecurrencePHI recipes.
fhahn Jun 16, 2025
4bcf973
[CIR] Add Support For Library Builtins (#143984)
mmha Jun 16, 2025
2488f26
[win][x64] Unwind v2 3/n: Add support for requiring unwind v2 to be u…
dpaoliello Jun 16, 2025
98eee4b
[libc] utf8 to 32 CharacterConverter (#143973)
sribee8 Jun 16, 2025
6e12442
Revert "[libc] utf8 to 32 CharacterConverter" (#144446)
sribee8 Jun 16, 2025
99e53cb
[llvm][StackProtector] Add noreturn to __stack_chk_fail call (#143976)
PiJoules Jun 16, 2025
964888d
[llvm][CFI] Ensure COFF comdat renaming applies for imported function…
PiJoules Jun 16, 2025
ac7af53
[flang] Fixed LIT tests to create modfiles in a temp dir. (#144448)
vzakhari Jun 16, 2025
d882670
Revert "[llvm][StackProtector] Add noreturn to __stack_chk_fail call"…
PiJoules Jun 16, 2025
6421bd9
[lldb-dap] Creating protocol types for setExceptionBreakpoints. (#144…
ashgti Jun 17, 2025
97bfb93
DAG: Move soft float predicate management into RuntimeLibcalls (#142905)
arsenm Jun 17, 2025
1ffd9f5
RuntimeLibcalls: Cleanup sincos predicate functions (#143081)
arsenm Jun 17, 2025
9bd234a
AArch64: Move outline atomic libcalls configuration (#144374)
arsenm Jun 17, 2025
24631e5
AArch64: Fix outline atomic libcall names for arm64ec (#144378)
arsenm Jun 17, 2025
6e8cf9c
AArch64: Add arm64ec libcall tests for __arm_sc_* functions (#144356)
arsenm Jun 17, 2025
d4e2c0b
[Driver] Add options to control workaround for Cortex-A53 Erratum 843…
bryanpkc Jun 17, 2025
8b1528f
RuntimeLibcalls: Use array initializers for default values (#143082)
arsenm Jun 17, 2025
f626620
[LLVM][TableGen] Use `StringRef` for CodeGenInstruction::AsmString (#…
jurahul Jun 17, 2025
2e3d212
[LoongArch] Allow difference across sections (#141722)
MQ-mengqing Jun 17, 2025
ab7aaac
[flang][tests] Remove stale module files to fix buildbots.
vzakhari Jun 17, 2025
9093bc7
[llvm-exegesis] Ignore the instructions for which InstrDesc.getSchedC…
tclin914 Jun 17, 2025
602c308
[TargetParser] Increase MAX_SUBTARGET_FEATURES to 384 (#144326)
wangpc-pp Jun 17, 2025
a02afb0
AVR: Migrate to the new relocation specifier representation
MaskRay Jun 17, 2025
199428e
[bazel][lld] Remove unneeded dependencies. (#144455)
slackito Jun 17, 2025
30350af
MCSpecifierExpr: Remove unused virtual functions
MaskRay Jun 17, 2025
7caeec5
[NFC][flang][OpenMP] Unify `genSectionsOp`'s prototype to match other…
ergawy Jun 17, 2025
b5dbf82
[flang] Enable delayed localization by default for `do concurrent` (#…
ergawy Jun 17, 2025
2dc58e0
[flang][OpenMP] Add symbol table scopes for `teams` and `parallel` (#…
ergawy Jun 17, 2025
84d879d
[RISCV] Rename Relocation QC_E_JUMP_PLT to QC_E_CALL_PLT (#143998)
lenary Jun 17, 2025
c0ac951
[RISCV] Update Xqci to v0.13.0 (#144398)
lenary Jun 17, 2025
98c6c37
[RISCV] Xqccmp v0.3 (#137854)
lenary Jun 17, 2025
e86740e
[clang] Add managarm support (#139271)
no92 Jun 17, 2025
41b9d28
[BOLT][NFC] Using target_triple in lit config (#144078)
paschalis-mpeis Jun 17, 2025
7e6c1bd
[BOLT][NFCI] Simplify DataAggregator using traces (#143289)
aaupov Jun 17, 2025
80b79ce
[ConstantFolding] Handle reading from type padding (#144330)
nikic Jun 17, 2025
bb70023
[MemoryLocation][DSE] Allow other read effects in MemoryLocation::get…
nikic Jun 17, 2025
632151f
InstCombine: improve optimizations for ceiling division with no overf…
gaynor-anthropic Jun 17, 2025
c564ebb
[X86] combineEXTRACT_SUBVECTOR - move AVX1 ANDNP comment and fold bac…
RKSimon Jun 16, 2025
cb355de
[Flang][OpenMP] Add Parsing support for Indirect Clause (#143505)
Stylie777 Jun 17, 2025
90905a6
[lldb][AIX] Added XCOFF ParseSymtab handling (#141577)
DhruvSrivastavaX Jun 17, 2025
437945b
[AArch64][SVE] Move incorrectly placed assert (#144318)
MacDue Jun 17, 2025
85b110e
[mlir][vector] Add documentation note on adding new ops (#144308)
banach-space Jun 17, 2025
e2551c1
[analyzer] Fix a false memory leak reports involving placement new (#…
necto Jun 17, 2025
308b97a
[LICM] Regenerate test checks (NFC)
nikic Jun 17, 2025
2c90ebf
[OMPIRBuilder][debug] Don't drop debug info for loop constructs. (#14…
abidh Jun 17, 2025
0f8c721
[C++20][Modules] Disable preferred_name when writing a C++20 header u…
dmpolukhin Jun 17, 2025
26d082d
[clang-tidy][performance-unnecessary-value-param] Avoid in coroutines…
dmpolukhin Jun 17, 2025
5dc632d
[MLIR][VSCode] update packages to fix CVE-2022-25883 and CVE-2022-351…
rolfmorel Jun 17, 2025
64bd485
Amend enviroment variables in bazel - change from #144391 (#144484)
basioli-k Jun 17, 2025
e5ad7f4
[RISCV] Move RISCVIndirectBranchTracking before Branch Relaxation (#1…
jaidTw Jun 17, 2025
97e17e1
Revert "[flang] Enable delayed localization by default for `do concur…
ergawy Jun 17, 2025
dfd00ed
Fix for #144391 not fully addressed by #144484 (#144488)
basioli-k Jun 17, 2025
277b2b6
[X86] combineCastedMaskArithmetic - convert to SDPatternMatch matchin…
RKSimon Jun 17, 2025
aa01e8e
[mlir][OpenMP] Fix broken insertion point for charbox with omp task (…
tblah Jun 17, 2025
00709c3
AArch64: Fix hardcoding calling convention of sincos_stret (NFC) (#14…
arsenm Jun 17, 2025
4c8f434
[analyzer] Conversion to CheckerFamily: NullabilityChecker (#143735)
NagyDonat Jun 17, 2025
6f29837
Reland: "[Frontend][PCH]-Add support for ignoring PCH options (-ignor…
MaggieYingYi Jun 17, 2025
7eda827
[MLIR] Integration tests for lowering vector.contract to SVE FEAT_I8M…
momchil-velikov Jun 17, 2025
c377ce1
[AArch64][VecLib] Add libmvec support for AArch64 targets (#143696)
marykass-arm Jun 17, 2025
465e3ce
[LLVM][CodeGen] Lower ConstantInt vectors like shufflevector base spl…
paulwalker-arm Jun 17, 2025
71f72f4
[DAG] Move foldMaskedMerge before visitAND. NFC.
RKSimon Jun 17, 2025
d3f13a0
[GVN] MemorySSA for GVN: embed the memory state in symbolic expressio…
antoniofrighetto Jun 17, 2025
ce96fdd
[clang][bytecode] Keep the last chunk in InterpStack::clear() (#144487)
tbaederr Jun 17, 2025
576ced5
[clang][bytecode] Simplify Block::replacePointer() (#144490)
tbaederr Jun 17, 2025
49c6235
[PowerPC] Regenerate MIR test checks (NFC)
nikic Jun 17, 2025
2d336e7
[analyzer] Avoid contradicting assumption in tainted div-by-0 error n…
necto Jun 17, 2025
990d254
[X86] isAddSubOrSubAdd - convert to SDPatternMatch matching. NFC. (#1…
RKSimon Jun 17, 2025
875b36a
[mlir] fix MemRefToLLVM lowering of atomic operations (#139045)
ftynse Jun 17, 2025
9700930
[X86] detectZextAbsDiff - convert to SDPatternMatch matching. NFC. (#…
RKSimon Jun 17, 2025
12611a7
[mlir] Improve mlir-query by adding matcher combinators (#141423)
chios202 Jun 17, 2025
087d83e
[SLP] vectorizeStores: Name things a bit more clearly (NFC) (#144511)
gbossu Jun 17, 2025
cb011d3
[CUDA][HIP] Add a __device__ version of std::__glibcxx_assert_fail() …
jmmartinez Jun 17, 2025
3377b56
Revert "[clang] Add managarm support" (#144514)
AaronBallman Jun 17, 2025
5f841a6
[flang][OpenMP] Set _OPENMP macro for version 6.0 (#144410)
kparzysz Jun 17, 2025
b91936a
AMDGPU: Combine nnan fminimum/fmaximum to fminnum_ieee/fmaxnum_ieee (…
arsenm Jun 17, 2025
b4e39e4
[LLVM] [Support] Query the terminal width using `ioctl()` (#143514)
Sirraide Jun 17, 2025
3451cd5
[PowerPC] Regenerate MIR test checks (NFC)
nikic Jun 17, 2025
76ea1db
[PowerPC] Split test into assembly and MIR variants (NFC)
nikic Jun 17, 2025
977d8a4
[clang][Sema] Fixed Compound Literal is not Constant Expression (#143…
Mr-Anyone Jun 17, 2025
816ab1a
[NFCI][TableGen][DecoderEmitter] Cull Op handling when possible (#142…
jurahul Jun 17, 2025
9fed480
[BOLT] Explicitly check for returns when extending call continuation …
aaupov Jun 17, 2025
917bc90
[MLIR][LLVMIR] Mark Funcop as affinescope (#144456)
wsmoses Jun 17, 2025
de33390
[bazel] Port b4e39e4ff923334a8a1fdcc6d92b01d3885a01f2
d0k Jun 17, 2025
dc72b91
[AArch64] Report icmp as free if it can be folded into ands (#143286)
AZero13 Jun 17, 2025
414710c
[SLP] Fix isCommutative to check uses of the original instruction ins…
HanKuanChen Jun 17, 2025
35f6d91
[lld] check cache in loadDylib before real_path (#143595)
rmaz Jun 17, 2025
0a7b0c8
[lldb][Expression] Remove IR pointer checker (#144483)
Michael137 Jun 17, 2025
8f79754
[SCEV] Better preserve wrapping info in SimplifyICmpOperands for UGE.…
fhahn Jun 17, 2025
0fb198e
[X86] Remove combineShuffleOfConcatUndef fold (#144524)
RKSimon Jun 17, 2025
4cfe0d7
[flang][OpenMP] Support using copyprivate with fir.boxchar arguments …
mrkajetanp Jun 17, 2025
549bc55
[mlir][spirv] Fix int type declaration duplication when serializing (…
davidegrohmann Jun 17, 2025
7ec103a
Port #143108 to bazel (#144538)
basioli-k Jun 17, 2025
9eb0020
[DebugInfo][RemoveDIs] Remove a swathe of debug-intrinsic code (#144389)
jmorse Jun 17, 2025
c9a87a5
[SLPVectorizer] Use accurate cost for external users of resize shuffl…
jrbyrnes Jun 17, 2025
02b78ff
[llvm] include Compiler.h in a few headers where it was missed (#144464)
andrurogerz Jun 17, 2025
1428624
Follow up to 9eb0020555, squelch unused variable warning
jmorse Jun 17, 2025
1410e69
[SPIRV] Allow __spirv_SpecConstant in Vulkan shaders (#143543)
s-perron Jun 17, 2025
c80282d
AMDGPU: Directly select minimumnum/maximumnum with ieee_mode=0 (#141903)
arsenm Jun 17, 2025
72fb8ae
[lld][test][PAC] Do not rely on concrete offsets in LTO tests (#143358)
kovdan01 Jun 17, 2025
4ced29b
[lldb][Expression] Don't create Objective-C IR checker for pure-C++ t…
Michael137 Jun 17, 2025
a5f5f12
[AMDGPU] Use subtarget feature for v_lshl_add_u64 pattern. NFC. (#144…
jayfoad Jun 17, 2025
cd4e384
[flang][test] Removed temporary workaround for buildbots.
vzakhari Jun 17, 2025
cf637b7
[flang][OpenMP] Fix goto within SECTION (#144502)
tblah Jun 17, 2025
0108a59
[SLP]Fix a crash on an subvector size calculation for non-power-of-2 …
alexey-bataev Jun 17, 2025
00139f1
[NVPTX] Cleanup ld/st lowering (#143936)
AlexMaclean Jun 17, 2025
eb31c42
[Driver] Add support for GCC installation detection in Baremetal tool…
quic-garvgupt Jun 17, 2025
e6a4139
Reland "[libc] utf8 to 32 CharacterConverter" (#144450)
sribee8 Jun 17, 2025
65d590e
[X86] combineLogicBlendIntoConditionalNegate - convert to SDPatternMa…
RKSimon Jun 17, 2025
c66be28
[clang][bytecode] Allocate IntegralAP and Floating types using an all…
tbaederr Jun 17, 2025
9ec75a5
MIPS: Replace MipsMCExpr with MCSpecifierExpr
MaskRay Jun 17, 2025
382e3fd
[lldb][Formatter] Get element type for unordered_maps from __hash_tab…
Michael137 Jun 17, 2025
4e884dd
SPARC: Remove SparcMCExpr.h
MaskRay Jun 17, 2025
0c60817
[X86] matchLogicBlend - convert to SDPatternMatch matching. NFC. (#14…
RKSimon Jun 17, 2025
b14e03d
[LLDB] Consolidate C++ string buffer summaries (#144258)
Nerixyz Jun 17, 2025
5baf351
[BPF] Do not allow gotol in the middle of asm insn (#144545)
yonghong-song Jun 17, 2025
556e69b
[lldb] make lit use the same Python executable for building and testi…
charles-zablit Jun 17, 2025
8063bd1
[MLIR][XeGPU] Add support for elementwise ops in Wg to Sg distribute …
nbpatel Jun 17, 2025
01a7a21
[CMake] Add BINARY_DIR argument for add_lit_testsuites (#144431)
llvm-beanz Jun 17, 2025
526310e
[Remarks] Elaborate on called intrinsics (#143985)
jroelofs Jun 17, 2025
ec230aa
[Driver] Add support for crtbegin.o, crtend.o and libgloss lib to Bar…
quic-garvgupt Jun 17, 2025
8513066
[clangd] Implement LSP 3.17 positionEncoding (#142903)
someoneinjd Jun 17, 2025
9dd1c66
[VPlan] Expand VPWidenIntOrFpInductionRecipe into separate recipes (#…
lukel97 Jun 17, 2025
9e0186d
[HLSL][RootSignature] Implement `ResourceRange` as an `IntervalMap` (…
inbelic Jun 17, 2025
ed07b54
[CIR][NFCI] Represent Complex RValues As Single Value (#144519)
mmha Jun 17, 2025
3a06e9a
Conditionalise the addition of Aarch64 function Multi versioning supp…
quic-garvgupt Jun 17, 2025
7ea710f
Fix/reapply "[libc] Migrate stdio tests to ErrnoCheckingTest. (#144134)
vonosmas Jun 17, 2025
4943e74
fixup! [Remarks] Elaborate on called intrinsics (#143985)
jroelofs Jun 17, 2025
030b551
[mlir][bazel] add missing deps for XeGPUTransforms
yijia1212 Jun 17, 2025
b876b3f
Add missing intrinsics to cuda headers (#143664)
vitor1001 Jun 17, 2025
0cfc59f
[mlir][bazel] remove extra empty space for XeGPUTransforms
yijia1212 Jun 17, 2025
e29bb9a
[IR2Vec] Consider only reachable BBs and non-debug instructions (#143…
svkeerthy Jun 17, 2025
31523de
[Driver] Fix link order of BareMetal toolchain object (#132806)
quic-garvgupt Jun 17, 2025
2ab9c35
[DXContainer] Update DXContainer to match D3D12 spec (#143201)
joaosaffran Jun 17, 2025
bb288de
[LoopPeel] Support last iteration peeling of min/max intrinsics (#143…
preames Jun 17, 2025
8cd05b8
[NFC][HLSL] Move Sema work from `ParseMicrosoftRootSignatureAttribute…
inbelic Jun 17, 2025
80f3a28
Revert "lsan: Support free_sized and free_aligned_sized from C23" (#1…
jcking Jun 17, 2025
391dafd
[RISCV] Consolidate both copies of getLMUL1VT [nfc] (#144568)
preames Jun 17, 2025
1f10c6a
[Matrix] Hoist more IRBuilder<>'s. NFC
jroelofs Jun 17, 2025
b59d4cf
[Reland] Adjust bit cast instruction filter for DXIL Prepare pass (#…
bob80905 Jun 17, 2025
dd65e6e
[Offload][libc] Add cmake cache AMDGPU buildbot (#144500)
jplehr Jun 17, 2025
9cb7545
[Driver] Add option to force undefined symbols during linking in Bare…
quic-garvgupt Jun 17, 2025
57828fe
Revert "[clang][bytecode] Allocate IntegralAP and Floating types usin…
tbaederr Jun 17, 2025
667c786
[CIR] Handle global string literals as char array initializer (#144384)
andykaylor Jun 17, 2025
b1aa845
[libc++][NFC] Consistently qualify calls to C functions in <fstream> …
ldionne Jun 17, 2025
19658d1
[llvm] annotate interfaces in llvm/Target for DLL export (#143615)
andrurogerz Jun 17, 2025
7b7b5a3
[AMDGPU] Remove AsmVOP3OpSel field completely. NFCI. (#144574)
rampitec Jun 17, 2025
8dcf4ba
[AMDGPU] Fix getAsmVOP3Base call agruments. (#144572)
rampitec Jun 17, 2025
73f307a
[HLSL] Use ExtVector for firstbit intrinsics (#142679)
V-FEXrt Jun 17, 2025
a79186c
[Driver] Fix Arm/AArch64 Link Argument tests (#144582)
lenary Jun 17, 2025
7c4b2be
[libc++][NFC] Refactor basic_streambuf to use public API functions wh…
ldionne Jun 17, 2025
9ae4d2e
[LLVM] [Support] Disable `ioctl()` terminal size check on Solaris (#1…
Sirraide Jun 17, 2025
c677a11
[lldb] Add support to list/enable/disable remaining plugin types. (#1…
dmpots Jun 17, 2025
908f74a
[llvm] re-order LLVM_ABI and extern on NoKernelInfoEndLTO decl (#144601)
andrurogerz Jun 17, 2025
49bf8d3
[gn build] Manually port b4e39e4f
aeubanks Jun 17, 2025
8d1610a
[libc++] Mark two assertion tests as unsupported in C++03 mode
ldionne Jun 17, 2025
3c7df98
[clang-tidy] Add missing colon in the docs of performance-enum-size (…
vil02 Jun 17, 2025
ecfb8fe
Revert stack "[Driver] Add support for GCC installation detection in …
mysterymath Jun 17, 2025
a5a0d88
[libc++] Remove trailing newline from _LIBCPP_ASSERTION_HANDLER calls…
sbc100 Jun 17, 2025
844e41c
[libc] Moved shared constexpr to the top (#144569)
sribee8 Jun 17, 2025
6fb36db
[LinkerWrapper] Fix 'save-temps' when targeting SPIR-V (#144605)
jhuber6 Jun 17, 2025
362b9d7
[lldb-dap] Refactoring DebugCommunication to improve test consistency…
ashgti Jun 17, 2025
3f33c84
[clang] Add release note for int->enum conversion change. (#144407)
efriedma-quic Jun 17, 2025
f25f2f7
[MLIR][XeGPU] Extend unrolling support for scatter ops with chunk_siz…
Jianhui-Li Jun 17, 2025
fd7e46b
Revert "[libc++] Remove trailing newline from _LIBCPP_ASSERTION_HANDL…
mysterymath Jun 17, 2025
1cd18bc
AMDGPU: Add cost model tests for minimumnum/maximumnum (#141904)
arsenm Jun 17, 2025
87b13ad
[HLSL][RootSignature] Implement serialization of remaining Root Eleme…
inbelic Jun 17, 2025
cb63b75
Revert "[lldb-dap] Refactoring DebugCommunication to improve test con…
ashgti Jun 17, 2025
c9b2816
AMDGPU: Fix cost model for 16-bit operations on gfx8 (#141943)
arsenm Jun 17, 2025
3800a83
AMDGPU: Reduce cost of f64 copysign (#141944)
arsenm Jun 17, 2025
bec9ac2
[llvm] Lower latency bonus threshold in function specialization. (#14…
vzakhari Jun 17, 2025
af65cb6
AMDGPU: Move fpenvIEEEMode into TTI (#141945)
arsenm Jun 17, 2025
70343c8
[mlir][flang] Added Weighted[Region]BranchOpInterface's. (#142079)
vzakhari Jun 17, 2025
54015f3
AMDGPU: Cost model for minimumnum/maximumnum (#141946)
arsenm Jun 17, 2025
f08474a
AMDGPU: Add baseline cost model tests for special argument intrinsics…
arsenm Jun 17, 2025
f3af1cd
[RISCV] Set the exact flag on the SRL created for converting vscale t…
topperc Jun 17, 2025
a981134
AMDGPU: Report special input intrinsics as free (#141948)
arsenm Jun 17, 2025
628274d
[NFC] Extract Printing portions of DWARFCFIProgram to new files (#143…
Sterling-Augustine Jun 17, 2025
a871b91
[gn build] Port 9e0186d925f0
aeubanks Jun 17, 2025
5352914
[gn build] Port 9ec75a50bc48
aeubanks Jun 17, 2025
6652961
[gn build] Manually port 556e69b7
aeubanks Jun 17, 2025
b164d36
[gn build] Port 628274dadf92
aeubanks Jun 17, 2025
f2d2c99
[clang] Remove separate evaluation step for static class member init.…
efriedma-quic Jun 17, 2025
c21a4c6
[Xtensa] Implement Xtensa Interrupt/Exception/Debug Options. (#143820)
andreisfr Jun 17, 2025
15482c8
[ElimAvailExtern] Add an option to allow to convert global variables …
shiltian Jun 17, 2025
64155a3
Added clarifying comment to 'LLVMLinkInMCJIT' and 'LLVMLinkInInterpre…
Minding000 Jun 18, 2025
abbdd16
[llvm] minor fixes for clang-cl Windows DLL build (#144386)
andrurogerz Jun 18, 2025
99e2632
github: Add mips backend to PR autolabeler (#140909)
arsenm Jun 18, 2025
4e090b6
[lldb] Re-insert code to search for a binary by filepath if provided
jasonmolenda Jun 18, 2025
86a09f3
[MLIR][XeGPU] Clean up xegpu op tests (#144592)
Jianhui-Li Jun 18, 2025
0defde8
[AMDGPU] Support D16 folding for image.sample with multiple extractel…
harrisonGPU Jun 18, 2025
9265b1f
LowerTypeTests: Use jump table entry type as value type of jump table…
pcc Jun 18, 2025
8ddada4
[RISCV] Add Andes XAndesVBFHCvt (Andes Vector BFLOAT16 Conversion) ex…
tclin914 Jun 18, 2025
a96a3f1
[lldb][Minidump Parser] Implement a range data vector for minidump me…
Jlalond Jun 18, 2025
a2ad656
[RISCV] Add patterns for generating QC_CTO and QC_CLO (#144532)
svs-quic Jun 18, 2025
e14f327
[RISCV] Pre-test for #144461
ChunyuLiao Jun 18, 2025
af49a65
PowerPC: Add baseline tests for more f128 libcall handling (#144381)
arsenm Jun 18, 2025
7b9d10d
PowerPC: Fix using long double libm functions for f128 intrinsics (#1…
arsenm Jun 18, 2025
894d8d1
Change how labels are searched for by llvm-objdump
arjunUpatel Jun 18, 2025
ec782af
Update tests affected by cchange in search pattern
arjunUpatel Jun 18, 2025
bf0a486
Add tests
arjunUpatel Jun 23, 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.
115 changes: 41 additions & 74 deletions .ci/compute_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
},
"lld": {"bolt", "cross-project-tests"},
# TODO(issues/132795): LLDB should be enabled on clang changes.
"clang": {"clang-tools-extra", "cross-project-tests"},
"clang": {"clang-tools-extra", "compiler-rt", "cross-project-tests"},
"clang-tools-extra": {"libc"},
"mlir": {"flang"},
# Test everything if ci scripts are changed.
# FIXME: Figure out what is missing and add here.
Expand All @@ -63,15 +64,7 @@

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

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

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


def _add_dependencies(projects: Set[str], runtimes: Set[str]) -> Set[str]:
def _add_dependencies(projects: Set[str]) -> Set[str]:
projects_with_dependents = set(projects)
current_projects_count = 0
while current_projects_count != len(projects_with_dependents):
Expand All @@ -138,25 +134,9 @@ def _add_dependencies(projects: Set[str], runtimes: Set[str]) -> Set[str]:
if project not in PROJECT_DEPENDENCIES:
continue
projects_with_dependents.update(PROJECT_DEPENDENCIES[project])
for runtime in runtimes:
if runtime not in PROJECT_DEPENDENCIES:
continue
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 @@ -174,14 +154,25 @@ def _compute_projects_to_test(modified_projects: Set[str], platform: str) -> Set
):
continue
projects_to_test.add(dependent_project)
projects_to_test = _exclude_projects(projects_to_test, platform)
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.")
return 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_projects_to_build(projects_to_test: Set[str]) -> Set[str]:
return _add_dependencies(projects_to_test)


def _compute_project_check_targets(projects_to_test: Set[str]) -> Set[str]:
Expand All @@ -193,36 +184,24 @@ def _compute_project_check_targets(projects_to_test: Set[str]) -> Set[str]:
return check_targets


def _compute_runtimes_to_test(modified_projects: Set[str], platform: str) -> Set[str]:
def _compute_runtimes_to_test(projects_to_test: Set[str]) -> Set[str]:
runtimes_to_test = set()
for modified_project in modified_projects:
if modified_project not in DEPENDENT_RUNTIMES_TO_TEST:
continue
runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[modified_project])
return _exclude_projects(runtimes_to_test, platform)
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


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 not in DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG:
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
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)
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 _get_modified_projects(modified_files: list[str]) -> Set[str]:
Expand All @@ -246,19 +225,10 @@ 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)
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_to_build = _compute_projects_to_build(projects_to_test)
projects_check_targets = _compute_project_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
)
runtimes_to_build = _compute_runtimes_to_test(projects_to_test)
runtimes_check_targets = _compute_runtime_check_targets(projects_to_test)
# 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 @@ -268,9 +238,6 @@ 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
55 changes: 4 additions & 51 deletions .ci/compute_projects_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ def test_llvm(self):
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
)

Expand All @@ -50,10 +46,6 @@ def test_llvm_windows(self):
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
)

Expand All @@ -74,10 +66,6 @@ def test_llvm_mac(self):
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
)

Expand All @@ -87,21 +75,17 @@ def test_clang(self):
)
self.assertEqual(
env_variables["projects_to_build"],
"clang;clang-tools-extra;lld;llvm",
"clang;clang-tools-extra;compiler-rt;lld;llvm",
)
self.assertEqual(
env_variables["project_check_targets"],
"check-clang check-clang-tools",
"check-clang check-clang-tools check-compiler-rt",
)
self.assertEqual(
env_variables["runtimes_to_build"], "compiler-rt;libcxx;libcxxabi;libunwind"
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"check-compiler-rt",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
)

Expand All @@ -120,10 +104,6 @@ def test_clang_windows(self):
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
)

Expand All @@ -135,7 +115,6 @@ def test_bolt(self):
self.assertEqual(env_variables["project_check_targets"], "check-bolt")
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_lldb(self):
env_variables = compute_projects.get_env_variables(
Expand All @@ -145,7 +124,6 @@ def test_lldb(self):
self.assertEqual(env_variables["project_check_targets"], "check-lldb")
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_mlir(self):
env_variables = compute_projects.get_env_variables(
Expand All @@ -157,7 +135,6 @@ def test_mlir(self):
)
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_flang(self):
env_variables = compute_projects.get_env_variables(
Expand All @@ -167,7 +144,6 @@ def test_flang(self):
self.assertEqual(env_variables["project_check_targets"], "check-flang")
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_invalid_subproject(self):
env_variables = compute_projects.get_env_variables(
Expand All @@ -177,15 +153,13 @@ def test_invalid_subproject(self):
self.assertEqual(env_variables["project_check_targets"], "")
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_top_level_file(self):
env_variables = compute_projects.get_env_variables(["README.md"], "Linux")
self.assertEqual(env_variables["projects_to_build"], "")
self.assertEqual(env_variables["project_check_targets"], "")
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_exclude_runtiems_in_projects(self):
env_variables = compute_projects.get_env_variables(
Expand All @@ -195,7 +169,6 @@ def test_exclude_runtiems_in_projects(self):
self.assertEqual(env_variables["project_check_targets"], "")
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_exclude_docs(self):
env_variables = compute_projects.get_env_variables(
Expand All @@ -205,7 +178,6 @@ def test_exclude_docs(self):
self.assertEqual(env_variables["project_check_targets"], "")
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_exclude_gn(self):
env_variables = compute_projects.get_env_variables(
Expand All @@ -215,7 +187,6 @@ def test_exclude_gn(self):
self.assertEqual(env_variables["project_check_targets"], "")
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_ci(self):
env_variables = compute_projects.get_env_variables(
Expand All @@ -227,15 +198,10 @@ def test_ci(self):
"check-clang check-lld check-lldb check-llvm",
)
self.assertEqual(
env_variables["runtimes_to_build"],
"libcxx;libcxxabi;libunwind",
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"",
)
self.assertEqual(
env_variables["runtimes_check_targets_needs_reconfig"],
"check-cxx check-cxxabi check-unwind",
)

Expand All @@ -249,19 +215,6 @@ def test_lldb(self):
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(env_variables["runtimes_check_targets"], "")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")

def test_clang_tools_extra(self):
env_variables = compute_projects.get_env_variables(
["clang-tools-extra/CMakeLists.txt"], "Linux"
)
self.assertEqual(
env_variables["projects_to_build"], "clang;clang-tools-extra;lld;llvm"
)
self.assertEqual(env_variables["project_check_targets"], "check-clang-tools")
self.assertEqual(env_variables["runtimes_to_build"], "libc")
self.assertEqual(env_variables["runtimes_check_targets"], "check-libc")
self.assertEqual(env_variables["runtimes_check_targets_needs_reconfig"], "")


if __name__ == "__main__":
Expand Down
Loading