Skip to content

LLVM and SPIRV-LLVM-Translator pulldown (WW22 2025) #18738

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

Merged
merged 1,919 commits into from
Jun 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1919 commits
Select commit Hold shift + click to select a range
f5609aa
[flang][cuda] Use a reference for asyncObject (#140614)
clementval May 19, 2025
2dd6a8c
[lldb-dap] Remove unused enum (NFC)
JDevlieghere May 19, 2025
f27cfea
[LLDB][Progress-On-Dap] Have indeterminate progress actually send eve…
Jlalond May 19, 2025
91a45a3
[NFC] Pre-commit UBSAN src:*=sanitize test (#140602)
qinkunbao May 19, 2025
2523a83
[lldb-dap] launch the adapter from the workspace folder. (#140604)
da-viper May 19, 2025
f1076da
Merge from 'main' to 'sycl-web' (221 commits)
May 19, 2025
b93bc77
[NFC] Extend ubsan-src-ignorelist-category.test
vitalybuka May 19, 2025
5db4aea
[NFC] Extend ubsan-src-ignorelist-category.test
vitalybuka May 19, 2025
f171e05
[NFC][OpenACC] Refactor clause emission- (#140586)
erichkeane May 19, 2025
050e49a
[RISCV] Fix copy/paste mistake in test comments. NFC
topperc May 19, 2025
dfabd61
[lldb] Support riscv32 ELF corefiles (#115408)
JDevlieghere May 19, 2025
c519190
[gn build] Port dfabd61f7370
llvmgnsyncbot May 19, 2025
b586ddf
[HLSL][NFC] Add resource globals created for metadata to test baselin…
hekota May 19, 2025
b64487d
Merge from 'sycl' to 'sycl-web' (16 commits)
fineg74 May 19, 2025
7268c4e
[NFC][MemProf] Fix typo in type name (#140500)
snehasish May 19, 2025
a53b306
[NFC][MemProf] Move Radix tree methods to their own header and cpp. (…
snehasish May 19, 2025
ad3c1d2
[NFC][MemProf] Move getGUID out of IndexedMemProfRecord (#140502)
snehasish May 19, 2025
0528848
[NFC][MemProf] Move IndexedMemProfData to its own header. (#140503)
snehasish May 19, 2025
c2fd63c
[NFC][MemProf] Add the LLVM license text and minor clean up. (#140504)
snehasish May 19, 2025
ad45031
[dsym][test][nfc] Remove DIE offsets. (#140628)
ayermolo May 19, 2025
4cfbe55
[NFC][MemProf] Move types shared between Analysis, ProfileData and Mo…
snehasish May 19, 2025
0a71879
[gn build] Port a53b306c479c
llvmgnsyncbot May 19, 2025
30ebcf6
[SLP][NFC]Store operand entries in the map
alexey-bataev May 19, 2025
73c638f
[flang][cuda] Set implicit CUDA device attribute in block construct (…
clementval May 20, 2025
e9c0840
[RISCV] Add LD_RV32/SD_RV32 to RISCVInstrInfo::canFoldIntoAddrMode. (…
topperc May 20, 2025
dbfd0fd
[LangRef] Clarify that `ptrtoint` behaves like a capturing bitcast
arichardson May 20, 2025
90daed3
[ProfileData] Restore Core as a dependency for the ProfileData librar…
snehasish May 20, 2025
07e2ba4
[AMDGPU] Set AS8 address width to 48 bits
arichardson May 20, 2025
ae46353
RISCV,LoongArch: Encode RELAX relocation implicitly
MaskRay May 20, 2025
df0358f
[lldb-dap] Remove spurious move (NFC) (#140641)
JDevlieghere May 20, 2025
a0a55df
[mlir][tensor][NFC] Code cleanup around shape inference support for `…
AaronStGeorge May 20, 2025
b8e5307
update_mir_test_checks: keep comment embedded in MIR (#140016)
ruiling May 20, 2025
383e5f3
Revert "[Clang] Profile singly-resolved UnresolvedLookupExpr with the…
zyn0217 May 20, 2025
755acb1
[SPIR-V] Add SPV_INTEL_2d_block_io extension (#140140)
YuriPlyakhin May 20, 2025
e264cff
[NFC][AMDGPU] Update tests to use autogened CHECKs (#140648)
chinmaydd May 20, 2025
bdf03fc
Revert "[llvm][NFC] Use `llvm::sort()`" (#140668)
el-ev May 20, 2025
dba030e
[Xtensa] Rename XtensaMCAsmBackend and internalize it
MaskRay May 20, 2025
95202ab
MC: Remove unused MCFixupKindInfo::FKF_Constant
MaskRay May 20, 2025
a754bc2
[CodeGen] Avoid repeated map lookups (NFC) (#140662)
kazutakahirata May 20, 2025
e0515c8
[clang] Fix typos in documentation (#140663)
kazutakahirata May 20, 2025
1fa26ef
[AST] Drop const from a return type (NFC) (#140665)
kazutakahirata May 20, 2025
575f66c
[lld] Drop const from a return type (NFC) (#140667)
kazutakahirata May 20, 2025
d561d59
[RISCV] Implement intrinsics for XAndesVPackFPH (#140007)
tclin914 May 20, 2025
5c1db38
[Clang] Functions called in discarded statements should not be instan…
cor3ntin May 20, 2025
6181f4f
[lldb] Retcon SBValue::GetChildAtIndex(synthetic=true) (#140065)
labath May 20, 2025
3e4c9dc
[libc++] Add explicit ABI annotations to functions from the block run…
philnik777 May 20, 2025
67f4d84
[llvm][Bazel] Adjust according to changes in 4cfbe55
akuegel May 20, 2025
0baacd1
[flang][OpenMP] Support MLIR lowering of linear clause for omp.wsloop…
NimishMishra May 20, 2025
f8e2e70
[CGData] Return ArrayRef<std::string> in getNames (NFC) (#140675)
kazutakahirata May 20, 2025
f73287e
[libc++] Make ABI annotations explicit for windows-specific code (#14…
philnik777 May 20, 2025
d644597
[GlobalISel] Add computeNumSignBits for G_SHUFFLE_VECTOR (#139505)
davemgreen May 20, 2025
b565933
[Bazel] Adapt to d561d595c4ee741f873972c03afa829e6c566ffd
akuegel May 20, 2025
b3e15ba
[lldb] Extend information for failed connection for gdb server (#139916)
ita-sc May 20, 2025
57aa7fa
[X86] SimplifyDemandedVectorEltsForTargetNode - replace packed fcmp n…
RKSimon May 20, 2025
32a1b6a
[flang][veclib] Adding AMDLIBM target to fveclib (#140533)
shivaramaarao May 20, 2025
034eaed
[lldb][DataFormatters] Adjust retrieval of unordered_map element type…
Michael137 May 20, 2025
80816e7
[mlir][LLVM] handle ArrayAttr for constant array of structs (#139724)
jeanPerier May 20, 2025
32cf55a
[libclc] Reorganize OpenCL builtins (#140557)
frasercrmck May 20, 2025
b95ad8e
[DAGCombine] Use isLegalExtLoad for MatchLoadCombine (#140536)
davemgreen May 20, 2025
2fb6ff4
[libclc] Fix header inclusion issues
frasercrmck May 20, 2025
d013556
[clang][bytecode] Check downcasts for the correct type (#140689)
tbaederr May 20, 2025
c9d6249
[SDAG] Ensure load is included in output chain of sincos expansion (#…
MacDue May 20, 2025
f10a905
[clang][AArch64] Move initialization of ptrauth-* function attrs (#14…
atrosinenko May 20, 2025
f5401c6
[BOLT] Gadget scanner: analyze functions without CFG information (#13…
atrosinenko May 20, 2025
838ddc2
[CIR] Add support for indirect calls (#139748)
Lancern May 20, 2025
4060d38
[BranchFolding] Merge debug locs on common hoisted code (#140063)
OCHyams May 20, 2025
5dfaf84
[LLVM][AArch64] Correctly lower funnel shifts by constants. (#140058)
paulwalker-arm May 20, 2025
0c82e06
[LICM] Use OverflowTracking to preserve NUW/NSW when reassociating. (…
fhahn May 20, 2025
8f03e1a
[KeyInstr][Clang] Add Clang option -g[no-]key-instructions (#134627)
OCHyams May 20, 2025
a17ff7f
[X86] scalarize-fp.ll - add AVX512 test coverage
RKSimon May 20, 2025
4b54d1a
[X86] Add #140693 test coverage
RKSimon May 20, 2025
a630309
[OpenACC] unify reduction and private-like init region recipes (#140652)
rscottmanley May 20, 2025
746c682
[LoongArch] Introduce `32s` target feature for LA32S ISA extensions (…
heiher May 20, 2025
f62c379
[LLVM][NVPTX] Add NVPTX codegen support for clusterlaunchcontrol inst…
schwarzschild-radius May 20, 2025
67440f0
[clang][bytecode] Diagnose comparisons of unrelated zero-sized pointe…
tbaederr May 20, 2025
48a2836
[BOLT] Gadget scanner: detect signing oracles (#134146)
atrosinenko May 20, 2025
3918ef3
[SLP]Fix the analysis for masked compress loads
alexey-bataev May 20, 2025
5ed0b3a
Revert "Reduce llvm-gsymutil memory usage" (#140696)
peremyach May 20, 2025
14706d6
[BOLT] Gadget scanner: use more appropriate types (NFC) (#135661)
atrosinenko May 20, 2025
611aa00
Merge from 'sycl' to 'sycl-web' (3 commits)
May 20, 2025
85a6bed
[GlobalISel] Add known bits and sign-bits handling for G_SPLAT_VECTOR…
davemgreen May 20, 2025
9c33faf
[Clang] Use correct evaluation contexts when instantiating a var with…
cor3ntin May 20, 2025
54f2b45
[Clang][Driver][fveclib] Fix target parsing for -fveclib=AMDLIBM opti…
rohitaggarwal007 May 20, 2025
01d9c7f
[X86] combineSCALAR_TO_VECTOR - fold (v4i32 (scalar_to_vector (i32 (b…
RKSimon May 20, 2025
f057a58
[DebugInfo] Update DebugInfoFinder to take retainedNodes into account…
dzhidzhoev May 20, 2025
9053947
[utils][TableGen] Remove unused parameter in DirectiveEmitter, NFC (#…
kparzysz May 20, 2025
46ab684
[utils][TableGen] Unify name qualifications in DirectiveEmitter (#140…
kparzysz May 20, 2025
d56d537
[Clang] Allow vector and matrix type attributes for sub-byte _BitInt …
MrSidims May 20, 2025
cf1f116
[VPlan] Introduce constant folder in simplifyRecipe (#125365)
artagnon May 20, 2025
4fa2c62
Fix MSVC "not all control paths return a value" warning. NFC.
RKSimon May 20, 2025
2f66e5f
[OpenACC] Fixed error recovery during jump diagnostics for OpenACC
erichkeane May 20, 2025
822db01
[BOLT] Fix warnings
kazutakahirata May 20, 2025
86f2fdd
[TableGen] Tach getInputFilename to return StringRef (NFC) (#140690)
kazutakahirata May 20, 2025
ba52b56
[Analysis] Avoid repeated hash lookups (NFC) (#140691)
kazutakahirata May 20, 2025
050892d
[Offload] Use new error code handling mechanism and lower-case messag…
RossBrunton May 20, 2025
c19a3cb
[Offload] Make OffloadAPI gtest error messages more readable (#140728)
RossBrunton May 20, 2025
ed07412
[flang] translate derived type array init to attribute if possible (#…
jeanPerier May 20, 2025
a0058d1
[SLP][NFC]Make TreeEntry a class and store "need-to-schedule" state
alexey-bataev May 20, 2025
1a9377b
[clang][analysis] Thread Safety Analysis: Handle parenthesis (#140656)
Prabhuk May 20, 2025
621a5a9
[X86] combineAdd - use SDPatternMatch to simplify "(add (zext (vXi1 X…
RKSimon May 20, 2025
09fd8f0
[X86] matchBinaryPermuteShuffle - match AVX512 "cross lane" SHLDQ/SRL…
RKSimon May 20, 2025
2318491
[SLP][NFC]Do the analysis first and then actual codegen, NFC
alexey-bataev May 20, 2025
138a899
[OpenACC][CIR] Implement simple 'copy' lowering for combined constructs
erichkeane May 20, 2025
ad80f73
[X86] Fix a warning
kazutakahirata May 20, 2025
f786b5d
Merge from 'main' to 'sycl-web' (56 commits)
frasercrmck May 20, 2025
95e4db8
[llvm-objdump] --adjust-vma: Call getInstruction with adjusted address
MaskRay May 20, 2025
4a0ae4f
[RISCV] Add LD_RV32/SD_RV32 to a few more functions in RISCVInstrInfo…
topperc May 20, 2025
e8dff7b
[OpenACC] Fix location of array-section diagnostic.
erichkeane May 20, 2025
17e293d
[LLVM][AArch64]CFINV - Add UNPREDICTABLE behaviour if CRm is not zero…
CarolineConcatto May 20, 2025
b92b548
[RISCV] Add scheduling model for SiFive P800 processors (#139316)
mshockwave May 20, 2025
54aa928
[flang] Undo the effects of CSE for hlfir.exactly_once. (#140190)
vzakhari May 20, 2025
b3c3297
[RISCV] Fix missing WriteRes for Q extensions in SiFiveP800 scheudlin…
mshockwave May 20, 2025
7e9d9db
[AMDGPU][True16][CodeGen] update test fmax3/fmin3 test with true16 mo…
broxigarchen May 20, 2025
ff12762
[lldb] Reduce max-children-count default to readable size (#139826)
kastiglione May 20, 2025
a1e314d
[test] Add lit.local.cfg after #140471
MaskRay May 20, 2025
d6bcae1
Merge from 'main' to 'sycl-web' (56 commits)
fineg74 May 20, 2025
f460d2d
Merge branch 'sycl-web' of https://github.com/intel/llvm into sycl-web
fineg74 May 20, 2025
6fb23af
[C] Do not diagnose unions with -Wdefault-const-init (#140725)
AaronBallman May 20, 2025
47b89fb
[AArch64] Use i32 extract from UADDV in popcount lowering. (#140718)
davemgreen May 20, 2025
0cf6b4f
[Docs][RISCV] Move Zilsd to 'Supported' status. NFC (#140757)
topperc May 20, 2025
2a1af50
[DirectX] scalarize the dx.isinf intrinsic (#140638)
spall May 20, 2025
5999988
[HLSL] Move where ZExt happens in 'EmitStoreThroughExtVectorComponent…
spall May 20, 2025
747620d
[mlir] [XeGPU] Add XeGPU workgroup to subgroup pass (#139477)
nbpatel May 20, 2025
51e222e
[BOLT][AArch64] Fix crash for conditional tail calls (#140669)
maksfb May 20, 2025
0931874
[Coverage] Add testing to validate code coverage for exceptions (#133…
justincady May 20, 2025
cbcfe66
[CIR] Upstream support for iterator-based range for loops (#140636)
andykaylor May 20, 2025
a9ee8e4
Create a EncodingConverter class with both iconv and icu support. (#1…
abhina-sree May 20, 2025
c17ae16
[flang][cuda] Use nullptr for comparison (#140767)
clementval May 20, 2025
9440610
[libclc] Reduce OpenCL builtins diff with upstream (#18574)
frasercrmck May 20, 2025
38250ed
[gn build] Manually port a9ee8e4a
aeubanks May 20, 2025
611f47c
[flang] Fix a warning
kazutakahirata May 20, 2025
b99e575
Revert "[mlir] [XeGPU] Add XeGPU workgroup to subgroup pass (#139477)…
jplehr May 20, 2025
4964d98
[compiler-rt] Replace deprecated os_trace calls on mac (#138908)
DanBlackwell May 20, 2025
0ccd57e
[RISCV] Add basic coverage of vector.partial.reduce.add [nfc]
preames May 20, 2025
c555c8d
[C] Do not diagnose flexible array members with -Wdefault-const-init-…
AaronBallman May 20, 2025
9260d31
[clang][bytecode][NFC] Remove Frame.cpp (#140750)
tbaederr May 20, 2025
8708c42
[RISCV] Add zvqdotq tests using partial.reduce.add [nfc]
preames May 20, 2025
be5b4fa
Update InterpreterProperties.td (#140746)
anthonycabreralara May 20, 2025
1b6b036
[lldb][docs] add command to save core file in gdb to lldb command map…
da-viper May 20, 2025
705e27c
[LoopPeel] Add tests for peeling from end with variable trip counts.
fhahn May 20, 2025
26d9cb1
[MC][DebugInfo] Emit linetable entries with known offsets immediately…
jmorse May 20, 2025
5aa3171
AMDGPU: Add regression test for multiple frame index lowering (#140784)
arsenm May 20, 2025
3f196e0
[lldb][core] Fix getting summary of a variable pointing to r/o memory…
igorkudrin May 20, 2025
317c932
Suppress errors from well-formed-testing type traits in SFINAE contex…
aaronpuchert May 20, 2025
11db128
[gn build] Manually port 8f03e1a
aeubanks May 20, 2025
04ad8d4
Emit inbounds and nuw attributes in memref. (#138984)
lpy May 20, 2025
cbac2a9
[llvm] Use llvm::is_contained (NFC) (#140742)
kazutakahirata May 20, 2025
e25abd0
[bugpoint] Use a range-based for loop (NFC) (#140743)
kazutakahirata May 20, 2025
98595cf
[llvm] prepare explicit template instantiations in llvm/CodeGen for D…
andrurogerz May 20, 2025
a690852
[llvm-exegesis] Error instead of aborting on verification failure (#1…
boomanaiden154 May 20, 2025
a414877
[x64][win] Add compiler support for x64 import call optimization (equ…
dpaoliello May 20, 2025
de3e8ff
[NFC][CI] Reformat python files
boomanaiden154 May 20, 2025
c39915f
[mlir][NFC] Simplify constant checks with isOneInteger and renamed is…
hanhanW May 20, 2025
d299242
[Attributor] Don't replace `addrspacecast (ptr null to ptr addrspace(…
shiltian May 20, 2025
554e27e
[CIR][NFC] Eliminate ArgInfo structure (#140612)
andykaylor May 20, 2025
dfc65ef
[lldb][lldb-dap] show modules pane if supported by the adapter (#140603)
da-viper May 20, 2025
6cac792
[mlir][Vector] Improve `vector.mask` verifier (#139823)
dcaballe May 20, 2025
580f70e
[mlir] Check for int limits when converting gpu dims (#140747)
Max191 May 20, 2025
6b9da28
[AMDGPU][LowerBufferFatPointers] Handle addrspacecast null to p7 (#14…
krzysz00 May 20, 2025
13c467b
[AMDGPU] Add make.buffer.rsrc to InferAddressSpaces (#140770)
krzysz00 May 20, 2025
f78a081
[gn] port d561d595c4ee (clang riscv_andes_vector.td)
nico May 20, 2025
08b21c8
[gn] fix mistake in f78a081cdb3
nico May 20, 2025
d549abf
[gn build] Port 9260d310f1cb
llvmgnsyncbot May 20, 2025
da62b3e
[gn build] Port a9ee8e4a454e
llvmgnsyncbot May 20, 2025
88c4ef2
[gn build] Port d561d595c4ee
llvmgnsyncbot May 20, 2025
80f0ffb
[lld][WebAssembly] Set the target-cpu in LTO config (#140010)
yamt May 21, 2025
744a469
[BOLT,test] Add --image-base to tests that use --section-start
MaskRay May 21, 2025
ada2fbf
[GISel] Fix ShuffleVector assert (#139769)
lialan May 21, 2025
7385772
[mlir] [liveness] Conservatively mark operands of return-like op insi…
nhat-nguyen May 21, 2025
3cf6565
[LoongArch] Remove wrong vector shuffle lowering for lasx. (#140688)
tangaac May 21, 2025
7b51339
[lldb-dap] Avoid double 'new' events for dyld on Darwin (#140810)
JDevlieghere May 21, 2025
6811a3b
[flang][cuda] Allocate extra descriptor in managed memory when it is …
clementval May 21, 2025
0649122
[bazel][mlir] Add missing dep for 747620d (#140830)
patdoyle-google May 21, 2025
701fe51
[Clang] Fix an inadvertent overwrite of sub-initializers (#140714)
zyn0217 May 21, 2025
0dfdf7e
[clang-format] Handle raw string literals containing JSON code (#140666)
owenca May 21, 2025
57a90ed
[OpenMP][GPU][FIX] Enable generic barriers in single threaded context…
jdoerfert May 21, 2025
0f2a469
Revert "[AMDGPU] remove move instruction if there is no user of it (#…
shiltian May 21, 2025
9a553d3
[MLIR][NVVM] Add NVVMRequiresSM op traits (#126886)
Wolfram70 May 21, 2025
211ee04
[llvm-debuginfo-analyzer] Fix a couple of unhandled DWARF situations …
jalopezg-git May 21, 2025
a4782ff
[llvm-mca] Drop const from a return type (NFC) (#140836)
kazutakahirata May 21, 2025
adbe155
[polly] Drop const from return types (NFC) (#140837)
kazutakahirata May 21, 2025
51b288d
[CodeGen] Avoid repeated hash lookups (NFC) (#140838)
kazutakahirata May 21, 2025
557448e
[DebugInfo] Use std::map::try_emplace (NFC) (#140839)
kazutakahirata May 21, 2025
1fd2436
[CodeGen] Use range-based for loops (NFC) (#140840)
kazutakahirata May 21, 2025
9d0614e
[lldb-dap] fix disassembly request instruction offset handling (#140486)
eronnen May 21, 2025
3c8a6bc
[clang][bytecode] Optimize classify() further (#140735)
tbaederr May 21, 2025
645846d
[clang][bytecode] Initialize global strings via memcpy (#140789)
tbaederr May 21, 2025
2ed8c27
add @skipIfWindows to unresolved disassemble test on windows (#140852)
eronnen May 21, 2025
d50c85d
[analyzer][NFC] Move PrettyStackTraceLocationContext into dispatchWor…
balazs-benics-sonarsource May 21, 2025
f87bcf1
[LoongArch] Add patterns for vstelm instructions (#139201)
tangaac May 21, 2025
a21986b
[MLIR][PDL] Skip over all results in the PDL Bytecode if a Constraint…
jorickert May 21, 2025
49a9bbb
[Bazel] Port a9ee8e4a454ec01fefba8829d2847527aa80623f
akuegel May 21, 2025
bc546ca
[clang][NFC] Clean up ASTContext.cpp (#140847)
tbaederr May 21, 2025
9f1da90
[mlir][SPIRV] Do not rewrite CompositeInsert for coopmatrix (#137837)
Hsiangkai May 21, 2025
5bd3c44
[clang-tools-extra] Remove redundant control flow statements (NFC) (#…
kazutakahirata May 21, 2025
462cede
[Bazel] Follow fixes for 9a553d3766aacb69e884823da92dedff264e3f0f
akuegel May 21, 2025
ad05543
[Bazel] Also adapt test/BUILD for 9a553d3766aacb69e884823da92dedff264…
akuegel May 21, 2025
fe6290e
[llvm] Use *Map::try_emplace (NFC) (#140843)
kazutakahirata May 21, 2025
9f4cea2
[llvm] Fix typos in documentation (#140844)
kazutakahirata May 21, 2025
f4cebe5
[Clang] Fix a regression introduced by #140576 (#140859)
cor3ntin May 21, 2025
d827588
[VectorCombine] Scalarize binop-like intrinsics (#138095)
lukel97 May 21, 2025
dec214d
[X86] combineINSERT_SUBVECTOR - generalise insert_subvector(x,extract…
RKSimon May 21, 2025
64dcf78
[clang-tidy][NFC] Refactor `modernize-pass-by-value` check code and t…
vbvictor May 21, 2025
5b5c57d
Add llvm-project archive issues for Chromium bug tracker (#132030)
smithp35 May 21, 2025
67489c7
[mlir] Silence an unused variable warnings in builds without asserts.
akuegel May 21, 2025
e70568e
[libclc] Re-use shuffle_decl.inc in OpenCL shuffle2 declaration (#140…
wenju-he May 21, 2025
6553dc3
[NVPTX] Support the OpenCL generic addrspace feature by default (#137…
frasercrmck May 21, 2025
1b69f77
[MLIR][Doc] Add documentation for OpAsmAttr/TypeInterface (#140244)
ZenithalHourlyRate May 21, 2025
22a4930
[mlir][tosa] Allow creation of reshape with unranked output (#140617)
lhutton1 May 21, 2025
1a08aa2
[AArch64] Split AArch64ISD::COND_SMSTART/STOP off AArch64::SMSTART/ST…
MacDue May 21, 2025
80913b4
[libclc][NFC] Reuse inc file for OpenCL frexp decl
frasercrmck May 21, 2025
f054aa2
[flang][OpenMP] fix diagnostic for bad cancel type (#140798)
tblah May 21, 2025
7a8090c
[AArch64] Remove unused ISD nodes (NFC) (#140706)
MacDue May 21, 2025
478a978
Merge from 'sycl' to 'sycl-web' (18 commits)
May 21, 2025
a7081e5
Merge from 'main' to 'sycl-web' (144 commits)
mikolaj-pirog May 21, 2025
825ef67
Merge from 'sycl' to 'sycl-web' (5 commits)
mikolaj-pirog May 21, 2025
071edb1
Merge from 'sycl' to 'sycl-web' (2 commits)
May 21, 2025
6ebc051
Merge commit '7a8090c037255b54895d61df2eb141fee48d6d83' into llvmspir…
jsji May 30, 2025
ab8cc8b
Fix build after LLVM InlineAsm changes (#3155)
svenvh May 12, 2025
c7e3dd4
Make OCLUtil.h compatible with C++20 standard (#3149)
jaladreips May 12, 2025
56df2ad
Use native for the system separator for source path string (#3157)
MrSidims May 13, 2025
6495e45
Deprecate SPV_INTEL_hw_thread_queries extension from forward llvm-spi…
MrSidims May 13, 2025
5e333db
Add actions job to create backports (#3156)
MrSidims May 14, 2025
417c39b
Pick SHA of commit to cherry-pick from merge commit (#3167)
MrSidims May 14, 2025
8c0becb
Fix typos in the backport script (#3168)
MrSidims May 14, 2025
258376e
Add post-commit job to cleanup backport branches (#3176)
MrSidims May 15, 2025
9a74f8d
Add listener for other workflows to trigger them on a backport (#3177)
MrSidims May 15, 2025
875605f
Add SPV_INTEL_int4 extension (#3178)
MrSidims May 16, 2025
a8ea3b2
Add missing SPV_INTEL_fp_fast_math_mode (#3139)
pvelesko May 16, 2025
92a8bb1
Fix typo in cleanup backports script (#3181)
MrSidims May 16, 2025
a3123dc
Fix several failing tests (#29354)
fineg74 May 19, 2025
ef73d84
Add back removed customization (#29550)
jsji May 28, 2025
1507f32
[libspirv] Align __clc_sincos with upstream (#18615)
frasercrmck May 22, 2025
d3cfdea
[libclc] Align generic AS support with upstream (#18617)
frasercrmck May 22, 2025
b5bc447
[libclc] Reduce diff with upstream in CLC headers (#18625)
frasercrmck May 22, 2025
571750f
[libclc] Revert downstream changes to OpenCL builtins (#18634)
frasercrmck May 23, 2025
209e0b3
[libclc] Delete duplicate generic vstore impl (#18635)
frasercrmck May 23, 2025
616fadc
[libspirv] Make OpenCL not depend on SPIR-V (#18659)
frasercrmck May 26, 2025
90af614
[libclc] Fix conflict resolution; delete unused file (#18685)
frasercrmck May 27, 2025
f56b784
Merge remote-tracking branch 'origin/sycl' into llvmspirv_pulldown
jsji May 30, 2025
94df314
[SYCL] Don't set alwaysinline for NativeCPU (#29546)
jsji May 28, 2025
30064ec
[NFC] Update intel-fpga-local.cpp after 61b435ec4de6b
jsji May 30, 2025
2133dc5
[Clang] Fix conflict resolution in SemaDeclAttr
jsji May 30, 2025
7303f8e
[libclc] Support the generic address space (#137183)
frasercrmck May 21, 2025
cb4c187
[libclc] Move all remquo address spaces to CLC library (#140871)
frasercrmck May 21, 2025
0fce02b
Revert "Deprecate SPV_INTEL_hw_thread_queries extension from forward …
jsji May 31, 2025
94f46ae
[SYCL][E2E] Disable NEO Cache for shaderdump check
jsji May 31, 2025
2736632
Merge remote-tracking branch 'origin/sycl' into llvmspirv_pulldown
frasercrmck Jun 3, 2025
1631cf7
[SYCL] Also disable alwasyinline for SYCL device
jsji Jun 3, 2025
cdf4060
Merge remote-tracking branch 'origin/sycl' into llvmspirv_pulldown
jsji Jun 3, 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.
4 changes: 3 additions & 1 deletion .ci/generate_test_report_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ def plural(num_tests):
]
)
elif failures:
report.extend(["", "## Failed Tests", "(click on a test name to see its output)"])
report.extend(
["", "## Failed Tests", "(click on a test name to see its output)"]
)

for testsuite_name, failures in failures.items():
report.extend(["", f"### {testsuite_name}"])
Expand Down
3 changes: 3 additions & 0 deletions .ci/metrics/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
# remain small.
BUILDKITE_GRAPHQL_BUILDS_PER_PAGE = 50


@dataclass
class JobMetrics:
job_name: str
Expand All @@ -77,6 +78,7 @@ class JobMetrics:
workflow_id: int
workflow_name: str


@dataclass
class GaugeMetric:
name: str
Expand Down Expand Up @@ -258,6 +260,7 @@ def buildkite_get_metrics(

return output, incomplete_now


def github_get_metrics(
github_repo: github.Repository, last_workflows_seen_as_completed: set[int]
) -> tuple[list[JobMetrics], int]:
Expand Down
27 changes: 27 additions & 0 deletions .github/new-prs-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ mlgo:
- llvm/unittests/CodeGen/ML*
- llvm/test/CodeGen/MLRegAlloc/**
- llvm/utils/mlgo-utils/**
- llvm/docs/MLGO.rst

tools:llvm-exegesis:
- llvm/tools/llvm-exegesis/**
Expand Down Expand Up @@ -791,6 +792,12 @@ lld:wasm:
- lld/**/wasm/**
- lld/Common/**

backend:ARC:
- llvm/lib/Target/ARC/**
- clang/lib/Basic/Targets/ARC.h
- clang/lib/Basic/Targets/ARC.cpp
- clang/lib/CodeGen/Targets/ARC.cpp

backend:ARM:
- llvm/include/llvm/IR/IntrinsicsARM.td
- llvm/test/MC/ARM/**
Expand All @@ -817,6 +824,19 @@ backend:AArch64:
- clang/include/clang/Sema/SemaARM.h
- clang/lib/Sema/SemaARM.cpp

backend:CSKY:
- llvm/lib/Target/CSKY/**
- llvm/include/llvm/TargetParser/CSKYTargetParser.def
- llvm/include/llvm/TargetParser/CSKYTargetParser.h
- llvm/include/llvm/BinaryFormat/ELFRelocs/CSKY.def
- llvm/lib/TargetParser/CSKYTargetParser.cpp
- llvm/lib/Support/CSKYAttributes.cpp
- llvm/lib/Support/CSKYAttributeParser.cpp
- clang/lib/Basic/Targets/CSKY.h
- clang/lib/Basic/Targets/CSKY.cpp
- clang/lib/CodeGen/Targets/CSKY.cpp
- clang/lib/Driver/ToolChains/CSKY*

backend:Hexagon:
- clang/include/clang/Basic/BuiltinsHexagon*.def
- clang/include/clang/Sema/SemaHexagon.h
Expand All @@ -840,6 +860,13 @@ backend:Hexagon:
- llvm/test/MC/Hexagon/**
- llvm/test/tools/llvm-objdump/ELF/Hexagon/**

backend:Lanai:
- llvm/lib/Target/Lanai/**
- clang/lib/Basic/Targets/Lanai.h
- clang/lib/Basic/Targets/Lanai.cpp
- clang/lib/CodeGen/Targets/Lanai.cpp
- clang/lib/Driver/ToolChains/Lanai*

backend:loongarch:
- llvm/include/llvm/IR/IntrinsicsLoongArch.td
- llvm/test/MC/LoongArch/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ RUN choco install -y handle

RUN pip3 install pywin32 buildbot-worker==2.8.4

ARG RUNNER_VERSION=2.323.0
ARG RUNNER_VERSION=2.324.0
ENV RUNNER_VERSION=$RUNNER_VERSION

RUN powershell -Command \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/containers/github-action-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM docker.io/library/ubuntu:24.04 as base
ENV LLVM_SYSROOT=/opt/llvm

FROM base as stage1-toolchain
ENV LLVM_VERSION=20.1.1
ENV LLVM_VERSION=20.1.4

RUN apt-get update && \
apt-get install -y \
Expand Down Expand Up @@ -86,7 +86,7 @@ WORKDIR /home/gha

FROM ci-container as ci-container-agent

ENV GITHUB_RUNNER_VERSION=2.323.0
ENV GITHUB_RUNNER_VERSION=2.324.0

RUN mkdir actions-runner && \
cd actions-runner && \
Expand Down
5 changes: 2 additions & 3 deletions bolt/Maintainers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ what goes in or not.

The list is sorted by surname and formatted to allow easy grepping and
beautification by scripts. The fields are: name (N), email (E), web-address
(W), PGP key ID and fingerprint (P), description (D), snail-mail address
(S) and (I) IRC handle. Each entry should contain at least the (N), (E) and
(D) fields.
(W), PGP key ID and fingerprint (P), and description (D). Each entry should
contain at least the (N), (E) and (D) fields.

N: Maksim Panchenko, Rafael Auler
E: maks@fb.com, rafaelauler@fb.com
Expand Down
2 changes: 1 addition & 1 deletion bolt/include/bolt/Core/BinaryContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -1499,7 +1499,7 @@ class BinaryContext {
MCEInstance.LocalCtx.reset(
new MCContext(*TheTriple, AsmInfo.get(), MRI.get(), STI.get()));
MCEInstance.LocalMOFI.reset(
TheTarget->createMCObjectFileInfo(*MCEInstance.LocalCtx.get(),
TheTarget->createMCObjectFileInfo(*MCEInstance.LocalCtx,
/*PIC=*/!HasFixedLoadAddress));
MCEInstance.LocalCtx->setObjectFileInfo(MCEInstance.LocalMOFI.get());
MCEInstance.MCE.reset(
Expand Down
38 changes: 31 additions & 7 deletions bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ class BinaryFunction {
/// Types of profile the function can use. Could be a combination.
enum {
PF_NONE = 0, /// No profile.
PF_LBR = 1, /// Profile is based on last branch records.
PF_SAMPLE = 2, /// Non-LBR sample-based profile.
PF_BRANCH = 1, /// Profile is based on branches or branch stacks.
PF_BASIC = 2, /// Non-branch IP sample-based profile.
PF_MEMEVENT = 4, /// Profile has mem events.
};

Expand Down Expand Up @@ -360,6 +360,11 @@ class BinaryFunction {
/// True if the function is used for patching code at a fixed address.
bool IsPatch{false};

/// True if the original entry point of the function may get called, but the
/// original body cannot be executed and needs to be patched with code that
/// redirects execution to the new function body.
bool NeedsPatch{false};

/// True if the function should not have an associated symbol table entry.
bool IsAnonymous{false};

Expand Down Expand Up @@ -387,7 +392,7 @@ class BinaryFunction {
float ProfileMatchRatio{0.0f};

/// Raw branch count for this function in the profile.
uint64_t RawBranchCount{0};
uint64_t RawSampleCount{0};

/// Dynamically executed function bytes, used for density computation.
uint64_t SampleCountInBytes{0};
Expand Down Expand Up @@ -799,6 +804,19 @@ class BinaryFunction {
return iterator_range<const_cfi_iterator>(cie_begin(), cie_end());
}

/// Iterate over instructions (only if CFG is unavailable or not built yet).
iterator_range<InstrMapType::iterator> instrs() {
assert(!hasCFG() && "Iterate over basic blocks instead");
return make_range(Instructions.begin(), Instructions.end());
}
iterator_range<InstrMapType::const_iterator> instrs() const {
assert(!hasCFG() && "Iterate over basic blocks instead");
return make_range(Instructions.begin(), Instructions.end());
}

/// Returns whether there are any labels at Offset.
bool hasLabelAt(unsigned Offset) const { return Labels.count(Offset) != 0; }

/// Iterate over all jump tables associated with this function.
iterator_range<std::map<uint64_t, JumpTable *>::const_iterator>
jumpTables() const {
Expand Down Expand Up @@ -862,15 +880,15 @@ class BinaryFunction {
/// Returns if BinaryDominatorTree has been constructed for this function.
bool hasDomTree() const { return BDT != nullptr; }

BinaryDominatorTree &getDomTree() { return *BDT.get(); }
BinaryDominatorTree &getDomTree() { return *BDT; }

/// Constructs DomTree for this function.
void constructDomTree();

/// Returns if loop detection has been run for this function.
bool hasLoopInfo() const { return BLI != nullptr; }

const BinaryLoopInfo &getLoopInfo() { return *BLI.get(); }
const BinaryLoopInfo &getLoopInfo() { return *BLI; }

bool isLoopFree() {
if (!hasLoopInfo())
Expand Down Expand Up @@ -1372,6 +1390,9 @@ class BinaryFunction {
/// Return true if this function is used for patching existing code.
bool isPatch() const { return IsPatch; }

/// Return true if the function requires a patch.
bool needsPatch() const { return NeedsPatch; }

/// Return true if the function should not have associated symbol table entry.
bool isAnonymous() const { return IsAnonymous; }

Expand Down Expand Up @@ -1757,6 +1778,9 @@ class BinaryFunction {
IsPatch = V;
}

/// Mark the function for patching.
void setNeedsPatch(bool V) { NeedsPatch = V; }

/// Indicate if the function should have a name in the symbol table.
void setAnonymous(bool V) {
assert(isInjected() && "Only injected functions could be anonymous");
Expand Down Expand Up @@ -1882,11 +1906,11 @@ class BinaryFunction {

/// Return the raw profile information about the number of branch
/// executions corresponding to this function.
uint64_t getRawBranchCount() const { return RawBranchCount; }
uint64_t getRawSampleCount() const { return RawSampleCount; }

/// Set the profile data about the number of branch executions corresponding
/// to this function.
void setRawBranchCount(uint64_t Count) { RawBranchCount = Count; }
void setRawSampleCount(uint64_t Count) { RawSampleCount = Count; }

/// Return the number of dynamically executed bytes, from raw perf data.
uint64_t getSampleCountInBytes() const { return SampleCountInBytes; }
Expand Down
2 changes: 1 addition & 1 deletion bolt/include/bolt/Core/DIEBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class DIEBuilder {
std::unordered_map<std::string, uint32_t> NameToIndexMap;

/// Returns current state of the DIEBuilder
State &getState() { return *BuilderState.get(); }
State &getState() { return *BuilderState; }

/// Resolve the reference in DIE, if target is not loaded into IR,
/// pre-allocate it. \p RefCU will be updated to the Unit specific by \p
Expand Down
54 changes: 54 additions & 0 deletions bolt/include/bolt/Core/MCPlusBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class MCSymbol;
class raw_ostream;

namespace bolt {
class BinaryBasicBlock;
class BinaryFunction;

/// Different types of indirect branches encountered during disassembly.
Expand Down Expand Up @@ -572,6 +573,11 @@ class MCPlusBuilder {
return false;
}

virtual MCPhysReg getSignedReg(const MCInst &Inst) const {
llvm_unreachable("not implemented");
return getNoRegister();
}

virtual ErrorOr<MCPhysReg> getRegUsedAsRetDest(const MCInst &Inst) const {
llvm_unreachable("not implemented");
return getNoRegister();
Expand Down Expand Up @@ -622,6 +628,54 @@ class MCPlusBuilder {
return std::make_pair(getNoRegister(), getNoRegister());
}

/// Analyzes if a pointer is checked to be authenticated successfully
/// by the end of the basic block.
///
/// It is possible for pointer authentication instructions not to terminate
/// the program abnormally on authentication failure and return some invalid
/// pointer instead (like it is done on AArch64 when FEAT_FPAC is not
/// implemented). This might be enough to crash on invalid memory access when
/// the pointer is later used as the destination of a load, store, or branch
/// instruction. On the other hand, when the pointer is not used right away,
/// it may be important for the compiler to check the address explicitly not
/// to introduce a signing or authentication oracle.
///
/// This function is intended to detect a complex, multi-instruction pointer-
/// checking sequence spanning a contiguous range of instructions at the end
/// of the basic block (as these sequences are expected to end with a
/// conditional branch - this is how they are implemented on AArch64 by LLVM).
/// If a (Reg, FirstInst) pair is returned and before execution of FirstInst
/// Reg was last written to by an authentication instruction, then it is known
/// that in any successor of BB either
/// * the authentication instruction that last wrote to Reg succeeded, or
/// * the program is terminated abnormally without introducing any signing
/// or authentication oracles
///
/// Note that this function is not expected to repeat the results returned
/// by getAuthCheckedReg(Inst, MayOverwrite) function below.
virtual std::optional<std::pair<MCPhysReg, MCInst *>>
getAuthCheckedReg(BinaryBasicBlock &BB) const {
llvm_unreachable("not implemented");
return std::nullopt;
}

/// Returns the register that is checked to be authenticated successfully.
///
/// If the returned register was last written to by an authentication
/// instruction and that authentication failed, then the program is known
/// to be terminated abnormally as a result of execution of Inst.
///
/// Additionally, if MayOverwrite is false, it is known that the authenticated
/// pointer is not clobbered by Inst itself.
///
/// Use this function for simple, single-instruction patterns instead of
/// its getAuthCheckedReg(BB) counterpart.
virtual MCPhysReg getAuthCheckedReg(const MCInst &Inst,
bool MayOverwrite) const {
llvm_unreachable("not implemented");
return getNoRegister();
}

virtual bool isTerminator(const MCInst &Inst) const;

virtual bool isNoop(const MCInst &Inst) const {
Expand Down
5 changes: 2 additions & 3 deletions bolt/include/bolt/Passes/FrameAnalysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#define BOLT_PASSES_FRAMEANALYSIS_H

#include "bolt/Passes/StackPointerTracking.h"
#include <tuple>

namespace llvm {
namespace bolt {
Expand Down Expand Up @@ -53,9 +54,7 @@ struct ArgInStackAccess {
uint8_t Size;

bool operator<(const ArgInStackAccess &RHS) const {
if (StackOffset != RHS.StackOffset)
return StackOffset < RHS.StackOffset;
return Size < RHS.Size;
return std::tie(StackOffset, Size) < std::tie(RHS.StackOffset, RHS.Size);
}
};

Expand Down
Loading
Loading