Skip to content

LLVM and SPIRV-LLVM-Translator pulldown (WW27 2025) #19233

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

Draft
wants to merge 2,143 commits into
base: sycl
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2143 commits
Select commit Hold shift + click to select a range
20d57e7
[lldb][AIX] Added base file for AIX Register Context (#144645)
HemangGadhavi Jun 20, 2025
95c6c11
[X86] combineConcatVectorOps - only always concat logic ops on AVX512…
RKSimon Jun 20, 2025
b017b4c
[lldb][DWARF] Remove object_pointer from ParsedDWARFAttributes (#144880)
Michael137 Jun 20, 2025
9dc59cc
[MLIR] Incorrect track of usedKey in setPropertiesFromParsedAttr (#14…
chencha3 Jun 20, 2025
05b4bfe
[ExtractAPI] Include +/- symbols for ObjC methods (#145035)
snprajwal Jun 20, 2025
71e20c6
Fix references to required libraries when building LLVM with ASAN and…
dgg5503 Jun 20, 2025
b533b0e
Define a DataFlowSolver helper that loads sensible default analyses (…
j2kun Jun 20, 2025
c734377
[DAG] foldMaskedMerge - fix Wparentheses operator precedence warning.…
RKSimon Jun 20, 2025
3f1de19
[Offload] Rework compiling device code for unit test suites (#144776)
jhuber6 Jun 20, 2025
887222e
[mlir] Migrate away from ArrayRef(std::nullopt) (NFC) (#144989)
kazutakahirata Jun 20, 2025
9524bfb
[lldb] Add Model Context Protocol (MCP) support to LLDB (#143628)
JDevlieghere Jun 20, 2025
7897191
[gn build] Port 9524bfb27020
llvmgnsyncbot Jun 20, 2025
6e86b7e
[AMDGPU] Do not replace SALU floating point multiply with VALU-only l…
jayfoad Jun 20, 2025
749e4a5
[lldb] Fix ASCII art in CommandObjectProtocolServer (NFC)
JDevlieghere Jun 20, 2025
151ee0f
[X86] SimplifyDemandedVectorEltsForTargetNode - ensure X86ISD::VPERMI…
RKSimon Jun 20, 2025
32fc625
Reapply "Reapply "[clang][bytecode] Allocate IntegralAP and Floating …
tbaederr Jun 20, 2025
770b16c
[BOLT][test] Update X86/perf2bolt-spe.test (#145061)
aaupov Jun 20, 2025
72de0e4
[TableGen][Docs] Fix empty list syntax in TableGen doc. (#145041)
wecing Jun 20, 2025
6ba1955
[flang][OpenMP] Fix ignore-target-data.f90 test
kparzysz Jun 20, 2025
bfef873
msan: Support free_sized and free_aligned_sized from C23 (#144529)
jcking Jun 20, 2025
8775119
Revert "[lldb][DWARF] Remove object_pointer from ParsedDWARFAttribute…
Michael137 Jun 20, 2025
940ff11
[InstCombine] fix hwasan mistake in "remove dead loads" (#145057)
vtjnash Jun 20, 2025
379a609
[mlir][arith][transforms] Adds f4E2M1FN support to truncf and extf (#…
Muzammiluddin-Syed-ECE Jun 20, 2025
edbaf19
[AMDGPU] Fix a potential integer overflow in GCNRegPressure when true…
shiltian Jun 20, 2025
945ce1a
[libc++] Update the value of __cpp_lib_constrained_equality after P33…
H-G-Hristov Jun 20, 2025
6ddb3a6
[AMDGPU] Add another test showing unwanted VALU codegen (#145062)
jayfoad Jun 20, 2025
7157f33
[libc++] Disable a std::unexpected test in modules build (#144466)
boomanaiden154 Jun 20, 2025
8d6e29d
[libc] Reworked CharacterConverter isComplete into isFull and isEmpty…
uzairnawaz Jun 20, 2025
65cb3bc
[Clang][PowerPC] Add __dmr1024 type and DMF integer calculation built…
maryammo Jun 20, 2025
f8ee577
[X86] combineConcatVectorOps - only concat AVX1 v4i64 shift-by-32 to …
RKSimon Jun 20, 2025
33a92af
[msan] Add off-by-default flag to fix false negatives from partially …
thurstond Jun 20, 2025
0d21c95
[BPF] Handle nested wrapper structs in BPF map definition traversal (…
vadorovsky Jun 20, 2025
f472adb
Merge from 'main' to 'sycl-web' (133 commits)
bwyma Jun 20, 2025
adc6228
[mlir][xegpu] Refine layout assignment in XeGPU SIMT distribution. (#…
charithaintc Jun 20, 2025
04e2e58
[RISCV] Treat bf16->f32 as separate ExtKind in combineOp_VLToVWOp_VL.…
topperc Jun 20, 2025
ab8b8c1
[TargetParser][cmake] Be Smarter about TableGen Deps (#144848)
lenary Jun 20, 2025
7f74a37
[LV] Regenerate uniform_across_vf* check lines.
fhahn Jun 20, 2025
bae48ac
[mlir][bazel] add missing deps for XeGPUTransforms
yijia1212 Jun 20, 2025
ff6367b
[[mlir][Vector] Add simple folders for `vector.from_element`/`vector.…
dcaballe Jun 20, 2025
521adc9
[VPlan] Use createScalarZExtOrTrunc when expanding expandVPWidenIntOr…
lukel97 Jun 20, 2025
3f42c6b
[DirectX] Scalarize `extractelement` and `insertelement` with dynamic…
Icohedron Jun 20, 2025
925dbc7
[flang][OpenMP] Fix namespace nesting after PR144960
kparzysz Jun 20, 2025
f159774
[mlir][core|ptr] Add `PtrLikeTypeInterface` and casting ops to the `p…
fabianmcg Jun 20, 2025
c103bbc
[LV] Consider whether vscale is a known power of two for iteration ch…
preames Jun 20, 2025
8d2eea9
[AMDGPU] gfx1250 SOPP MC tests. NFC. (#145082)
rampitec Jun 20, 2025
b5d5708
[HLSL] Add descriptor table metadata parsing (#142492)
joaosaffran Jun 20, 2025
958dc86
[AMDGPU] Don't insert wait instructions that are not supported by gfx…
rampitec Jun 20, 2025
2a4207e
[DirectX] Don't limit visitGetElementPtrInst to global ptrs (#144959)
farzonl Jun 20, 2025
affcc5e
[AMDGPU] Add s_wait_xcnt gfx1250 instruction (#145086)
rampitec Jun 20, 2025
227f759
[mlir][python] expose operation.block (#145088)
makslevental Jun 20, 2025
6d8c6ef
[BOLT][NFC] Simplify doTrace in BAT mode (#143233)
aaupov Jun 20, 2025
4959e8a
[BOLT][NFCI] Use heuristic for matching split global functions (#90429)
aaupov Jun 20, 2025
d8924d4
[LLDB] Explicitly use python for version fixup (#144217)
Nerixyz Jun 20, 2025
3a66e20
[AMDGPU] Add gfx1250 runlines to vop3 dpp tests. NFC. (#145089)
rampitec Jun 20, 2025
d078ce7
[libc] mbrtowc implementation (#144760)
sribee8 Jun 20, 2025
f8ffb4e
[VPlan] Simplify ExtractLastElement(Broadcast(A)) -> A.
fhahn Jun 20, 2025
3b9795b
[AArch64] Add CodeGen support for scalar FEAT_CPA (#105669)
rgwott Jun 20, 2025
491b82a
ELF: Add branch-to-branch optimization.
pcc May 1, 2025
6110dea
[clang][scan-deps] Add option to disable caching stat failures (#144000)
Bigcheese Jun 20, 2025
58f4801
[lldb] Add support for x86_64h to scripted process (#145099)
medismailben Jun 20, 2025
b6445ac
[GlobalISel] Create a common register_vector_matchinfo (#144306)
davemgreen Jun 20, 2025
9c1ce31
[mlir][vector] Add unroll patterns for vector.load and vector.store (…
nbpatel Jun 20, 2025
4c97a91
[libc] Added closing quote (#145101)
sribee8 Jun 20, 2025
0c2191b
[AMDGPU] Omit image waits in function prologue on gfx1250 (#145097)
rampitec Jun 20, 2025
5886f0a
[RISCV] Allow larger offset when matching build_vector as vid sequenc…
preames Jun 20, 2025
f0d3257
[BOLT][NFCI] Use FileSymbols for local symbol disambiguation (#89088)
aaupov Jun 20, 2025
a911543
[libc] Implemented wcrtomb internal function and public libc function…
uzairnawaz Jun 20, 2025
e6ee2c7
[HLSL][RootSignature] Implement validation of resource ranges for `Ro…
inbelic Jun 20, 2025
94865ed
[Reland][InstCombine] Iterative replacement in PtrReplacer (#144626)
gandhi56 Jun 20, 2025
b7be878
Reapply "[CI] Migrate to runtimes build" (#143612)
boomanaiden154 Jun 20, 2025
1db9afb
[lldb/crashlog] Make registers always available & fix x29/x30 parsing…
medismailben Jun 20, 2025
1753aba
[X86] combineINSERT_SUBVECTOR - directly fold to X86ISD::SUBV_BROADCA…
RKSimon Jun 20, 2025
ad36800
[bazel][lld] Follow up 491b82a5ec1a (llvmorg-21-init-16192-g491b82a5e…
chapuni Jun 20, 2025
be7e411
[NFC] Add comment to describe the intention use of newly added `avail…
shiltian Jun 20, 2025
6b9fe9e
[HLSL] Emit a version in the dx.rootsignatures metadata (#145113)
bogner Jun 20, 2025
2dfcc43
[clang-doc] Precommit concept tests (#144160)
evelez7 Jun 20, 2025
28fcae3
fix native cpu and some tests (#19081)
sarnex Jun 21, 2025
8050a6e
[clang-doc] add support for concepts (#144430)
evelez7 Jun 21, 2025
7297909
Revert "[Reland][InstCombine] Iterative replacement in PtrReplacer" (…
gandhi56 Jun 21, 2025
17e8465
AArch64: Replace AArch64MCExpr with MCSpecifierExpr
MaskRay Jun 21, 2025
f466131
AMDGPU: Use reportFatalUsageError in AMDGPULowerModuleLDS (#145130)
arsenm Jun 21, 2025
fa11771
[RISCV] Implement Feature Bit for Q (#145001)
el-ev Jun 21, 2025
7031280
AMDGPU: Use reportFatalUsageError for unsupported code object version…
arsenm Jun 21, 2025
4c2b931
[mlir][ods] Document InferTypeOpInterface behavior. (#145060)
jpienaar Jun 21, 2025
981f8e1
[TableGen] Remove redundant control flow statements (NFC) (#145143)
kazutakahirata Jun 21, 2025
0fa0c3c
AMDGPU: Use reportFatalUsageError in AMDGPULowerBufferFatPointers (#1…
arsenm Jun 21, 2025
9cc9efc
[lld][COFF] Remove duplicate strtab entries (#141197)
HaohaiWen Jun 21, 2025
cb4f329
[RISCV] Fix HasStdExtCOrZcfOrZce Syntax (#145141)
lenary Jun 21, 2025
1fec092
[AArch64][GlobalISel] Allow selecting FPR index loads. (#143835)
davemgreen Jun 21, 2025
4373463
[GlobalISel] Widen vector loads from aligned ptrs (#144309)
davemgreen Jun 21, 2025
32dbaf1
[mlir][Transforms][NFC] Dialect conversion: Rename internal functions…
matthias-springer Jun 21, 2025
2050d2e
[libc++] Simplify std::function further after removing allocator supp…
philnik777 Jun 21, 2025
685af55
[libc++] Simplify <limits> a bit (#140021)
philnik777 Jun 21, 2025
c69f97c
[Clang] Add WG21 papers from the Sofia meeting to the status page
cor3ntin Jun 21, 2025
5f2135d
AMDGPU: Really delete AMDGPUAnnotateKernelFeatures (#145136)
arsenm Jun 21, 2025
4a4582d
[CIR] Upstream BinAssign for ComplexType (#144868)
AmrDeveloper Jun 21, 2025
0921bfd
[mlir][Transforms] Dialect conversion: Add missing erasure notificati…
matthias-springer Jun 21, 2025
bb37296
[MLIR] Add optional cached symbol tables to LLVM conversion patterns …
mscuttari Jun 21, 2025
2f5d965
[VPlan] Use EMIT-SCALAR when printing casts.
fhahn Jun 21, 2025
d6a486c
[ORC] Apply MachO::CPU_SUBTYPE_MASK to comparison in getDylibInterfac…
lhames Jun 21, 2025
1bb2328
[libc++] Implement `views::join_with` (#65536)
JMazurkiewicz Jun 21, 2025
369e840
[gn build] Port 1bb2328fd3ad
llvmgnsyncbot Jun 21, 2025
1b5d6ec
[clang-tidy] count class member initializers as statements in 'readab…
vbvictor Jun 21, 2025
ea32139
[C++][Modules] A module directive may only appear as the first prepro…
yronglin Jun 21, 2025
77941eb
[CostModel] Add a DstTy to getShuffleCost (#141634)
davemgreen Jun 21, 2025
831fcb5
[libc++] constexpr flat_map (#137453)
huixie90 Jun 21, 2025
60d1276
[VPlan] Pass operand index to canNarrowLoad. (NFC)
fhahn Jun 21, 2025
a961ba8
AMDGPU: Use reportFatalUsageError for LDS mixed absolute addresses (#…
arsenm Jun 21, 2025
99af99c
[TSan] Fix p == end == ShadowMem::end in ShadowSet (#144994)
Camsyn Jun 21, 2025
e6ebf8f
[mlir] Migrate away from ArrayRef(std::nullopt) (NFC) (#145140)
kazutakahirata Jun 21, 2025
ae372bf
[CodeGen] Use range-based for loops (NFC) (#145142)
kazutakahirata Jun 21, 2025
463ce01
[CodeGen] Remove extraneous casts to VariableID (NFC) (#145144)
kazutakahirata Jun 21, 2025
17ff9fd
Merge from 'sycl' to 'sycl-web' (6 commits)
Jun 21, 2025
66b09d2
Merge from 'main' to 'sycl-web' (86 commits)
bwyma Jun 21, 2025
4c1a100
[X86][NFC] Use std::move to avoid copy (#141455)
abhishek-kaushik22 Jun 21, 2025
9f7a155
[VPlan] Update packScalarIntoVector to take and return wide value (NFC)
fhahn Jun 21, 2025
1da864b
[RISCV] Properly support RISCVISD::LLA in getTargetConstantFromLoad. …
topperc Jun 21, 2025
fc36e47
Revert "[RISCV] Properly support RISCVISD::LLA in getTargetConstantFr…
topperc Jun 21, 2025
0c47628
Re-commit "[RISCV] Properly support RISCVISD::LLA in getTargetConstan…
topperc Jun 21, 2025
6c8c816
[libc] Fix feature check for riscv (#145169)
mikhailramalho Jun 21, 2025
2ed089f
[clang/docs] add a missing brace in ClangFormatStyleOptions.rst (#145…
kedartal Jun 21, 2025
e7dd223
[clang-tidy] Add new check `readability-use-numeric-limits` (#127430)
stellar-aria Jun 21, 2025
550ed9e
[gn build] Port e7dd223ec451
llvmgnsyncbot Jun 21, 2025
056b52d
[clang-doc] Precommit test for global variables (#145069)
evelez7 Jun 21, 2025
e066f35
[lldb] Fix qEcho message handling (#145072)
eleviant Jun 21, 2025
c455f4a
[LV] Add more tests for narrowing interleave groups with live-ins.
fhahn Jun 21, 2025
757c80d
Add `REQUIRES: x86` to test added in 141197 to skip when x86 target i…
dyung Jun 21, 2025
5708851
Revert "[ValueTracking] Improve `Bitcast` handling to match SDAG" (#1…
aeubanks Jun 21, 2025
f280d3b
AMDGPU: Avoid report_fatal_error for getRegisterByName subtarget case…
arsenm Jun 21, 2025
b7d0c9b
[SelectionDAG][RISCV] Treat zext nneg as sext in PromoteIntOp_ZERO_EX…
topperc Jun 22, 2025
fa0b84f
[AMDGPU] Rename call instructions from b64 to i64 (#145103)
rampitec Jun 22, 2025
f51d873
[InstSimplify] Simplify 'x u>= 1' to true when x is known non-zero (#…
el-ev Jun 22, 2025
cbfec48
Revert "[X86][NFC] Use std::move to avoid copy" (#145215)
abhishek-kaushik22 Jun 22, 2025
58b939a
[VPlan] Support matching constants in narrowInterleaveGroups.
fhahn Jun 22, 2025
6ae5b89
Make getStridesAndOffset const (#145148)
Evanyl Jun 22, 2025
075cb69
[MLIR] Add logging/tracing to DataFlow analysis and RemoveDeadValues …
joker-eph Jun 22, 2025
8583882
[AArch64] Remove unnecessary DL variable. NFC
davemgreen Jun 22, 2025
f78819a
Revert "Revert "[RISCV] Remove B and Zbc extension from Andes series …
tclin914 Jun 22, 2025
c7d9eab
[AVR] Don't apply post-indexing on mismatched pointers (#145224)
Patryk27 Jun 22, 2025
d2c0451
[lldb][DWAFASTParserClang][NFC] Rename GetCXXObjectParameter to GetOb…
Michael137 Jun 22, 2025
26390f2
[VectorCombine] foldShuffleOfShuffles - fold shuffle(shuffle(x,y),poi…
RKSimon Jun 22, 2025
0dc0aeb
[LV] Add additional tests for replicating calls returning structs.
fhahn Jun 22, 2025
5d7d8d6
[Instrumentation] Drop "const" from a return type (NFC) (#145208)
kazutakahirata Jun 22, 2025
2ac293f
[lld] Use llvm::partition_point (NFC) (#145209)
kazutakahirata Jun 22, 2025
dec93ae
[mlir] Migrate away from ValueRange(std::nullopt) (NFC) (#145210)
kazutakahirata Jun 22, 2025
96493c5
AMDGPU: Use reportFatalUsageError for regalloc flag error (#145198)
arsenm Jun 22, 2025
ee5dcdc
[mlir] fix assertion failure in remove-dead-values (#144849)
Menooker Jun 22, 2025
584a2c2
AMDGPU: Avoid report_fatal_error for reporting libcalls (#145134)
arsenm Jun 22, 2025
078475d
[ARM] Add test coverage for #144845 and regenerate tests. NFC
davemgreen Jun 22, 2025
f2eb5d4
[SelectionDAG] Handle `fneg`/`fabs`/`fcopysign` in `SimplifyDemandedB…
el-ev Jun 22, 2025
ee414e3
[CI] Refactor out some early exits in compute_projects
boomanaiden154 Jun 22, 2025
80b9fcf
Revert "[lldb] Fix qEcho message handling (#145072)" (#145241)
eleviant Jun 22, 2025
214ca31
[CI] Test all projects when CI scripts change
boomanaiden154 Jun 22, 2025
99cdc26
[CI] Cleanup buildkite test report script
boomanaiden154 Jun 22, 2025
f9c9a32
[LV] Add tests with fmax reductions without fast-math flags.
fhahn Jun 22, 2025
40eee8e
[AMDGPU] Add s_setprio_inc_wg gfx1250 instruction (#145152)
rampitec Jun 22, 2025
8f01edf
[C API] Add getter/setter for samesign flag on icmp (#145247)
Benjins Jun 22, 2025
4154ada
[Xtensa] Implement Xtensa Floating Point Option. (#136086)
andreisfr Jun 22, 2025
9844085
[lldb] Migrate away from ValueRange(std::nullopt) (NFC) (#145245)
kazutakahirata Jun 22, 2025
f9fce49
[ORC] Fix potential stack corruption in Platform::lookupInitSymbols.
lhames Jun 22, 2025
b00ddce
[mlir][affine] Fix a crash when cast incompatible type (#145162)
CoTinker Jun 23, 2025
a17b5bc
[clang-reorder-fields] Prevent rewriting unsupported cases (#142149)
vvuksanovic Jun 23, 2025
6023ba2
[mlir] Migrate away from TypeRange(std::nullopt) (NFC) (#145246)
kazutakahirata Jun 23, 2025
76ae9aa
[CodeGen] Use range-based for loops (NFC) (#145251)
kazutakahirata Jun 23, 2025
32f911f
[InstCombine] Fold `ceil(X / (2 ^ C)) == 0` -> `X == 0` (#143683)
el-ev Jun 23, 2025
89c6144
[AMDGPU] Baseline gfx1250 speed model. (#145217)
rampitec Jun 23, 2025
c716558
[mlir][affine|ValueBounds] Add transform to simplify affine min max o…
fabianmcg Jun 23, 2025
ed155ff
AMDGPU: Avoid report_fatal_error on ds ordered intrinsics (#145202)
arsenm Jun 23, 2025
da0c21b
[mlir][gpu] Fix bug with GPU hardware intrinsic global location (#144…
adstraw Jun 23, 2025
6a0593b
[AMDGPU] Extend wave reduce intrinsics for i32 type (#126469)
easyonaadit Jun 23, 2025
26f3f24
[MLIR][NFC] Declare RuntimeVerifiableOpInterface for memref ops that …
abulavin Jun 23, 2025
3892096
ARM: Move ABI enum from TargetMachine to TargetParser (#144725)
arsenm Jun 23, 2025
4be4b82
AMDGPU: Use reportFatalUsageError for unhandled calling conventions (…
arsenm Jun 23, 2025
fccc6ee
[C++20] [Modules] Don't make enum constant members always visible
ChuanqiXu9 Jun 23, 2025
c6be4ff
[PredicateInfo] Don't use depth first walk (NFCI) (#145016)
nikic Jun 23, 2025
1e58e9c
[PredicateInfo] Don't store Def in ValueDFS (NFC) (#145022)
nikic Jun 23, 2025
ae8c85c
[Passes] Remove LoopInterchange from O1 pipeline (#145071)
nikic Jun 23, 2025
86beba9
[PredicateInfo] Cache ssa.copy declarations (NFC) (#145020)
nikic Jun 23, 2025
ddfc7cb
[mlir][tosa] Check negative output size in resize shape inference (#1…
lhutton1 Jun 23, 2025
4795b2b
[RISCV] Fix comment typo and indentation for class SchedNary. NFC.
tclin914 Jun 23, 2025
20c04a6
[NFC][Sanitizer] Fix incorrect desc of [beg, end] to [beg, end)
Camsyn Jun 23, 2025
74aab30
[TSan, NFC] Eliminate useless calculations in TSan (#145283)
Camsyn Jun 23, 2025
338ee67
AsmPrinter: Do not use report_fatal_error for AIX XXStructor error (#…
arsenm Jun 23, 2025
16607f6
AMDGPU: Fix typo in argument allocation error message (#145265)
arsenm Jun 23, 2025
db051e8
AsmPrinter: Do not use report_fatal_error for unknown appending linka…
arsenm Jun 23, 2025
6b129d6
AsmPrinter: Do not use report_fatal_error for unhandled ConstantExpr …
arsenm Jun 23, 2025
48155f9
CodeGen: Emit error if getRegisterByName fails (#145194)
arsenm Jun 23, 2025
2dcf436
AMDGPU: Remove legacy pass manager version of AMDGPUAttributor (#145262)
arsenm Jun 23, 2025
529662a
[mlir] Allow accessing DialectResourceBlobManager::blobMap (#142352)
andrey-golubev Jun 23, 2025
1c78d8d
[clang][bytecode] Fix shifts with an allocated RHS (#145280)
tbaederr Jun 23, 2025
4af96a9
[MLIR] Determine contiguousness of memrefs with dynamic dimensions (#…
momchil-velikov Jun 23, 2025
b31413a
[MLIR][AArch64] Simplify LowerContractionToSVEI8MMPattern.cpp:getExtO…
momchil-velikov Jun 23, 2025
98a6fed
[mlir][tosa] Allow zero-points to be unranked (#143770)
lhutton1 Jun 23, 2025
43260b0
[libc++] Add test to ensure that the mangling of types stays the same…
philnik777 Jun 23, 2025
be00098
[libc++] Remove a bunch of now unnecessary indirections in __tree (#1…
philnik777 Jun 23, 2025
bc6faf9
[X86] X86LegalizerInfo - use LegalFor instead if LegalIf for simple I…
dipeshs809 Jun 23, 2025
c5629f2
[lldb] Add Socket::CreatePair (#145015)
labath Jun 23, 2025
092ef1d
AMDGPU: Use reportFatalUsageError for unsupported disassembly error (…
arsenm Jun 23, 2025
b9c979d
[mlir][Transforms] Dialect conversion: Simplify `replaceOp` implement…
matthias-springer Jun 23, 2025
e824037
Merge from 'sycl' to 'sycl-web' (2 commits)
Jun 23, 2025
613c38a
[Offload] Fix type mismatch warning in test (#143700)
RossBrunton Jun 23, 2025
cf31522
Merge from 'main' to 'sycl-web' (142 commits)
mikolaj-pirog Jun 23, 2025
e7c1da7
[lldb/cmake] Plugin layering enforcement mechanism (#144543)
labath Jun 23, 2025
5c22793
[lldb-dap][test] Refactor runInTerminal Tests. (#144954)
da-viper Jun 23, 2025
714b2fd
[lldb] Add BRIEF_DOCS for cmake properties defined in #144543
labath Jun 23, 2025
0662045
[TLI] Add support for pvalloc() (#144949)
melver Jun 23, 2025
2545d6f
[ARM] Add MVE test coverage for LD2/ST2 shuffle costs. NFC
davemgreen Jun 23, 2025
b1b8f67
[mlir][Transforms] Add 1:N support to `replaceUsesOfBlockArgument` (#…
matthias-springer Jun 23, 2025
18f667d
Revert "[lldb/cmake] Plugin layering enforcement mechanism (#144543)"
labath Jun 23, 2025
02d2a16
[Offload] Fix entry_points.td test (#145292)
RossBrunton Jun 23, 2025
d9a99af
[mlir][transform] Plumb a simplified form of AffineMin folding into t…
nicolasvasilache Jun 23, 2025
7360ed0
[mlir][transform] Drop redundant padding_dimensions spec from pad_til…
nicolasvasilache Jun 23, 2025
e56384f
[IRTranslator] Remove unnecessary isIntrinsic() check (NFC)
nikic Jun 23, 2025
cfcb788
[EarlyCSE] Fix dead store elimination for unwinding readnone calls (#…
nikic Jun 23, 2025
1d907c2
[VectorCombine][X86] fmaddsub.ll - add test variants without any unde…
RKSimon Jun 23, 2025
6d8d4cf
[lldb] Disable flaky TestDetachResumes.py on Windows x86_64 (#145301)
slydiman Jun 23, 2025
1e95349
Revert "ELF: Add branch-to-branch optimization."
zmodem Jun 23, 2025
680bce0
[bazel] Add missing dependency for c7165587e49605452f96249412f123b47b…
d0k Jun 23, 2025
bd809ff
[bazel] Make lld:ELF glob wider so it doesn't break as easily
d0k Jun 23, 2025
7e77aae
[bazel] Add missing dependency for 4af96a9d83335b3b59f3441af47c879c7a…
d0k Jun 23, 2025
8584b21
Lower allreduce (#144716)
fschlimb Jun 23, 2025
c5b256a
[MLIR][MPI] adding MLIRDLTIDialect when linking MLIRMPIDialect (#145316)
fschlimb Jun 23, 2025
9881a50
[bazel] Port 8584b216b87085a913fe39be15bfa4ab4754aeb9
d0k Jun 23, 2025
23ba0fd
[clang][bytecode] Fix assignInteger() with allocated primtypes (#145302)
tbaederr Jun 23, 2025
9e704a0
[MLIR][MemRef] Add `alloca` support for `erase_dead_alloc_and_stores`…
Lallapallooza Jun 23, 2025
9a6a87d
[AutoUpgrade] Remove unnecessary name check (NFCI)
nikic Jun 23, 2025
fb20992
[flang][OpenMP] Set isNewBlock directly on OpenMP constructs (#144593)
kparzysz Jun 23, 2025
c7d9b6e
[MLIR] Fix incorrect slice contiguity inference in `vector::isContigu…
momchil-velikov Jun 23, 2025
58987d2
RuntimeLibcalls: Pass in ABI name from MCOptions (#144894)
arsenm Jun 23, 2025
5cc84fe
Merge from 'sycl' to 'sycl-web' (8 commits)
Jun 23, 2025
f3ac883
Merge commit '5cc84fea8a330889a32d10617a1a47f528f3b1b1' into llvmspir…
mikolaj-pirog Jul 1, 2025
ef18e56
Merge commit '58987d2e34e67742e3a65b1bb94ec2cfebae805f' into llvmspir…
mikolaj-pirog Jul 1, 2025
6b4fcf8
Fix LLVM_SPIRV_BACKEND_TARGET_PRESENT detection when building inside …
berolinux Jun 10, 2025
8120994
Update tests after OpenCLKernel attribute rename (#3216)
svenvh Jun 12, 2025
f4b3aac
Fix translation of Shuffle ops for sycl::bfloat16 and sycl::half (#3231)
maarquitos14 Jun 12, 2025
1b7fb9e
Update dbg-value-range.ll test after 28bda778437f (#3236)
svenvh Jun 13, 2025
e620f1f
Support casting of OpConstantNull to SPIRVConstant
vmaksimo Jun 18, 2025
fa8612d
Remove case using reverted function
mikolaj-pirog Jul 1, 2025
5a155cc
Merge remote-tracking branch 'origin/sycl' into llvmspirv_pulldown
mikolaj-pirog Jul 2, 2025
d5369cc
Fix linking order for libsycl-jit (patch by [email protected])
mikolaj-pirog Jul 2, 2025
0ecf518
Remove duplicated code -- fix new-pm tests failure
mikolaj-pirog Jul 2, 2025
b6ecd94
[NFC] Update intel-fpga-loops after 0ff95c9 (#19271)
mikolaj-pirog Jul 2, 2025
fa006e9
[NFC] Fix no_sycl_hpp_in_e2e_tests.cpp after 4b96a991eba1 (#19273)
mikolaj-pirog Jul 2, 2025
e383f9f
Merge branch 'sycl' into llvmspirv_pulldown
mikolaj-pirog Jul 3, 2025
23a0628
XFAIL tests
mikolaj-pirog Jul 3, 2025
6f4e6e6
unXFAIL clang tests
mikolaj-pirog Jul 3, 2025
85c7497
Merge branch 'sycl' into llvmspirv_pulldown
mikolaj-pirog Jul 7, 2025
80b69f6
Add missing -fsycl-is-native-cpu
mikolaj-pirog Jul 7, 2025
0b160da
Fix test
mikolaj-pirog Jul 7, 2025
c921d1c
Unxfail HIP tests, xfail more tests
mikolaj-pirog Jul 7, 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.
145 changes: 98 additions & 47 deletions .ci/compute_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,41 @@
},
"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",
},
}

DEPENDENT_RUNTIMES_TO_TEST = {"clang": {"libcxx", "libcxxabi", "libunwind"}}
# This mapping describes runtimes that should be enabled for a specific project,
# but not necessarily run for testing. The only case of this currently is lldb
# which needs some runtimes enabled for tests.
DEPENDENT_RUNTIMES_TO_BUILD = {"lldb": {"libcxx", "libcxxabi", "libunwind"}}

# 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"},
".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 @@ -86,9 +112,6 @@
"cross-project-tests",
"flang",
"libc",
"libcxx",
"libcxxabi",
"libunwind",
"lldb",
"openmp",
"polly",
Expand All @@ -115,21 +138,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 @@ -147,50 +184,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 not in DEPENDENT_RUNTIMES_TO_TEST:
continue
runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[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(runtimes_to_test: Set[str]) -> Set[str]:
check_targets = set()
for runtime_to_test in runtimes_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 @@ -214,19 +253,31 @@ 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_test = _compute_runtimes_to_test(projects_to_test)
runtimes_check_targets = _compute_runtime_check_targets(runtimes_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
# passed to ninja.
return {
"projects_to_build": ";".join(sorted(projects_to_build)),
"project_check_targets": " ".join(sorted(projects_check_targets)),
"runtimes_to_build": ";".join(sorted(runtimes_to_test)),
"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