Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

LLVM and SPIRV-LLVM-Translator pulldown (WW04 2025) #16781

Merged
merged 2,204 commits into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2204 commits
Select commit Hold shift + click to select a range
d7fb4a2
[LLVM][Clang][AArch64] Implement AArch64 build attributes (#118771)
sivan-shani Jan 22, 2025
e30b703
[mlir:python] Construct PyOperation objects in-place on the Python he…
hawkinsp Jan 22, 2025
d80eb92
[llvm] Remove `undef` from `llvm/test/Transforms` tests (#123889)
Yeaseen Jan 22, 2025
ccd7795
[SLP][NFC]Add a test with potential alternate node, marked for minbit…
alexey-bataev Jan 22, 2025
4f40b07
[X86][AVX10.2-SATCVT][NFC] Remove NE from intrinsic and instruction n…
phoebewang Jan 22, 2025
1df50e6
[PS5][Driver] Don't link with --build-id when -static (#123930)
playstation-edd Jan 22, 2025
a2063ba
[clangd][NFC] Delete a pessimizing move
kadircet Jan 22, 2025
a7a8694
Remove references to mips within Android (#123856)
hiraditya Jan 22, 2025
70a16b9
[HIP] Support managed variables using the new driver (#123437)
jhuber6 Jan 22, 2025
4170d61
[gn] port 6aeffcdb9130
nico Jan 22, 2025
d0a89e7
[gn] fix mistake in d7fb4a275c98f
nico Jan 22, 2025
c938436
Revert "[GISel] Add more FP opcodes to CSE (#123624)" (#123954)
dklimkin Jan 22, 2025
aa580c2
[clang-tidy] Add `EnableQtSupport` option to modernize-use-integer-si…
qt-tatiana Jan 22, 2025
93d35ad
AMDGPU: Delete FillMFMAShadowMutation (#123861)
arsenm Jan 22, 2025
6b486f4
[Clang][Arch] Disable mve.fp when explicit -mfpu option (#123028)
flopop01 Jan 22, 2025
b0d35cf
[SSAUpdater] Avoid scanning basic blocks to find instruction order. (…
jcranmer-intel Jan 22, 2025
58c6d44
[CMake] Remove HAVE_DLFCN_H and HAVE_DLADDR (#123879)
MaskRay Jan 22, 2025
5a9b74d
[mlir] Fix a warning
kazutakahirata Jan 22, 2025
75ce2dc
[llvm][AArch64] apple-m4 does not have FEAT_{SPEv1p2,SEL2,MPAM} (#123…
jroelofs Jan 22, 2025
fa6f88a
[MLIR][XeGPU] Allow some nd ops to have argument shapes mismatch for …
kurapov-peter Jan 22, 2025
13d09df
[X86] Simplify ArrayRef construction. NFC (#123899)
topperc Jan 22, 2025
9e6494c
[CodeGen] Rename RegisterMaskPair to VRegMaskOrUnit. NFC (#123799)
topperc Jan 22, 2025
f63e8ed
Revert "[Modules] Delay deserialization of preferred_name attribute a…
ilya-biryukov Jan 22, 2025
038544b
Merge from 'main' to 'sycl-web' (180 commits)
frasercrmck Jan 22, 2025
16298e4
[X86] var-permute-256.ll - regenerate VPTERNLOG comments
RKSimon Jan 22, 2025
603529b
[X86] add/sub signed sat vec tests - regenerate VPTERNLOG comments
RKSimon Jan 22, 2025
e6c7d6a
[X86] avx512-broadcast-unfold.ll - regenerate VPTERNLOG comments
RKSimon Jan 22, 2025
bb754f2
[X86] avx512 intrinsics tests - regenerate VPTERNLOG comments
RKSimon Jan 22, 2025
a25f2cb
[X86] vector rotate tests - regenerate VPTERNLOG comments
RKSimon Jan 22, 2025
44f3168
[X86] vector reduction tests - regenerate VPTERNLOG comments
RKSimon Jan 22, 2025
2476417
Reapply "[sanitizer][NFCI] Add Options parameter to LowerAllowCheckPa…
thurstond Jan 22, 2025
f3c3a9b
[libc][cmake] error if user disables sanitizers but wants scudo (#123…
nickdesaulniers Jan 22, 2025
ddb8607
[libc][docs] disable pthreads docs (#123824)
nickdesaulniers Jan 22, 2025
8e79ade
[libc][LIBC_ADD_NULL_CHECKS] replace volatile deref with __builtin_tr…
nickdesaulniers Jan 22, 2025
f78359c
[mlir][spirv] Add definition for OpEmitVertex and OpEndPrimitive (#12…
IgWod-IMG Jan 22, 2025
511dc26
[lldb][DWARFASTParserClang][NFCI] Factor out CV-qualifier/is_static p…
Michael137 Jan 22, 2025
b1943f4
[BranchFolding] Remove getBranchDebugLoc() (#114613)
ellishg Jan 22, 2025
a56ba1f
[ValueTracking] Handle recursive select/PHI in ComputeKnownBits (#114…
goldsteinn Jan 22, 2025
afcbcae
[mlir][OpenMP] inscan reduction modifier and scan op mlir support (#…
anchuraj Jan 22, 2025
9f83c4e
[flang][cuda] Allocate descriptor in managed memory on rebox block ar…
clementval Jan 22, 2025
053795b
Merge from 'sycl' to 'sycl-web' (23 commits)
mdfazlay Jan 22, 2025
7bf188f
[NFC] Minor fix to tryEmitAbstract type in EmitCXXNewAllocSize (#123433)
andykaylor Jan 22, 2025
b40739a
Revert "[LLVM][Clang][AArch64] Implement AArch64 build attributes (#1…
kazutakahirata Jan 22, 2025
195a1fc
Reapply "[Clang][Sema] Use the correct lookup context when building o…
sdkrystian Jan 22, 2025
137d706
[SCEV] Do not attempt to collect loop guards for loops without predec…
juliannagele Jan 22, 2025
146ee98
[RISCV] Remove duplicate WriteRes<WriteJalr for MIPSP8700. (#123865)
topperc Jan 22, 2025
ec15b24
[llvm][Support] Only enable backtrace test when it's enabled (#123852)
jroelofs Jan 22, 2025
5895932
[RISCV][VLOpt] Reorganize visit order and worklist management (#123973)
preames Jan 22, 2025
340706f
[PowerPC] Fix saving of Link Register when using ROP Protect (#123101)
stefanp-ibm Jan 22, 2025
1687aa2
[RISCV][VLOPT] Don't reduce the VL is the same as CommonVL (#123878)
michaelmaitland Jan 22, 2025
5ede7b6
Revert "Reapply "[Clang][Sema] Use the correct lookup context when bu…
sdkrystian Jan 22, 2025
7ad8a3d
[MemProf] Simplify edge iterations (NFC) (#123469)
teresajohnson Jan 22, 2025
df5f3c3
Merge from 'main' to 'sycl-web' (135 commits)
mdfazlay Jan 22, 2025
3057d0f
Android defaults to pic (#123955)
hiraditya Jan 22, 2025
22a4f6e
Merge from 'sycl' to 'sycl-web' (1 commits)
Jan 22, 2025
7e622b6
[TOSA] Change PadOp padding to tosa.shape (#123133)
Jerry-Ge Jan 22, 2025
719f0d9
[HLSL] Fix global resource initialization (#123394)
hekota Jan 22, 2025
1cf0af3
[AMDGPU][True16][MC] true16 for v_cmpx_class_f16 (#123251)
broxigarchen Jan 22, 2025
18e9d3d
[AMDGPU][True16][MC] true16 for v_cmpx_xx_u/i16 (#123424)
broxigarchen Jan 22, 2025
213e03c
[Clang] Fix handling of immediate escalation for inherited constructo…
cor3ntin Jan 22, 2025
c6e7b4a
[flang][cuda][NFC] Add kernel name in translation error (#123987)
clementval Jan 22, 2025
2656928
Reland "[HLSL] Implement the `reflect` HLSL function" (#123853)
Icohedron Jan 22, 2025
8fb4230
[SYCL] AST support for SYCL kernel entry point functions. (#122379)
tahonermann Jan 22, 2025
517334b
[TableGen] Add maps from Write/ReadType to the parent WriteRes/ReadAd…
topperc Jan 22, 2025
dee80e9
Merge from 'main' to 'sycl-web' (176 commits)
mdfazlay Jan 22, 2025
ac94fad
[SPIR-V] Rename internal command line flags for optimization level an…
VyacheslavLevytskyy Jan 22, 2025
68c6b2e
[ASTMatchers][NFC] use `Matcher<QualType>` instead of `DynTypedMatche…
HerrCai0907 Jan 22, 2025
a2c683b
[LLD][COFF] Use EC symbol table for exports defined in module definit…
cjacek Jan 22, 2025
4e9d5a3
[LLD][COFF] Add support for the -defArm64Native argument (#123850)
cjacek Jan 22, 2025
a77250f
[mlir] Add C and Python interface for file range (#123276)
jpienaar Jan 22, 2025
223bd0c
[libc++] Avoid unnecessary instantiations for __copy_cvref_t (#123718)
philnik777 Jan 22, 2025
27ccc99
[RISCV][VLOpt] Minor worklist invariant cleanup [NFC] (#123989)
preames Jan 22, 2025
e0ae889
[SandboxIR][Doc] Add Quick start notes (#123992)
vporpo Jan 22, 2025
630177c
[compiler-rt][rtsan] Fix madvise/posix_madvise for macOs. (#124020)
devnexen Jan 22, 2025
939f290
[compiler-rt][rtsan] getsockopt/setsockopt interception. (#124004)
devnexen Jan 22, 2025
fd08713
[SandboxVec][Legality] Diamond reuse multi input (#123426)
vporpo Jan 22, 2025
6436089
[BoundsSafety][Doc] Add BoundsSafetyAdoptionGuide.rst (#120674)
rapidsna Jan 22, 2025
a939a9f
[LLDB-DAP] Send Progress update message over DAP (#123837)
Jlalond Jan 22, 2025
6e498bc
[flang][cuda] Handle simple device pointer allocation (#123996)
clementval Jan 22, 2025
98de5df
[mlir] Add NamedAttribute ctor taking StringRef. NFC. (#123974)
kuhar Jan 23, 2025
2dc1c95
[SandboxVec][VecUtils] Implement VecUtils::getLowest() (#124024)
vporpo Jan 23, 2025
96dbd00
[RISCV] Re-generate test checks so we pick up implicit on whole regi…
topperc Jan 22, 2025
9fbf5cf
[clang][modules] Partially revert 48d0eb518 to fix -gmodules output (…
benlangmuir Jan 23, 2025
8f45452
workflows/release-binaries: Restrict jobs based on owner instead of r…
tstellar Jan 23, 2025
cb35278
Merge from 'sycl' to 'sycl-web' (1 commits)
Jan 23, 2025
8110af7
[SandboxVec][BottomUpVec] Fix codegen when packing constants. (#124033)
vporpo Jan 23, 2025
d5457e4
[NFC][Index] Disable LSAN on crash recovery tests (#124035)
vitalybuka Jan 23, 2025
eaaac05
[Sema] Fix a warning
kazutakahirata Jan 23, 2025
a9d2834
[llvm][CodeGen] Fix the issue caused by live interval checking in win…
huaatian Jan 23, 2025
847acbb
[ExceptionDemo] Transition example from MCJIT to ORC and fix errors (…
epitavy Jan 23, 2025
23d2a18
PeepholeOpt: Remove unnecessary check for null TargetInstrInfo (#123929)
arsenm Jan 23, 2025
d3aea77
[SLP] Move transformMaskAfterShuffle into BaseShuffleAnalysis and use…
HanKuanChen Jan 23, 2025
1042ddc
[gn] port ec15b242505
nico Jan 23, 2025
6f69ade
PeepholeOpt: Remove null TargetRegisterInfo check (#123933)
arsenm Jan 23, 2025
2646e2d
PeepholeOpt: Stop allocating tiny helper classes (NFC) (#123936)
arsenm Jan 23, 2025
ba70368
[Clang][Driver] Support linker relaxation options for LoongArch (#123…
zhaoqi5 Jan 23, 2025
15c2d4b
PeepholeOpt: Remove check for subreg index on a def operand (#123943)
arsenm Jan 23, 2025
9cefa3e
[msan] Generalize handleIntrinsicByApplyingToShadow by adding bitcast…
thurstond Jan 23, 2025
ba3e6f0
[RISCV][VLOPT] Remove dead passthru check in getOperandLog2EEW. NFC (…
lukel97 Jan 23, 2025
0fe8e70
Revert "Reland "[HLSL] Implement the `reflect` HLSL function"" (#124046)
inbelic Jan 23, 2025
3ef90f8
[emitc] Fix the translation switchop with argument of expressionop (#…
jacquesguan Jan 23, 2025
5e174f8
Merge from 'main' to 'sycl-web' (36 commits)
Chenyang-L Jan 23, 2025
b46fcb9
[Clang] Implement CWG 2628 "Implicit deduction guides should propagat…
zyn0217 Jan 23, 2025
652ff20
[flang][cuda] Adding atomicadd as a cudadevice intrinsic and converti…
Renaud-K Jan 23, 2025
892a804
[NVPTX] Stop using 16-bit CAS instructions from PTX (#120220)
akshayrdeodhar Jan 23, 2025
1c5d971
[Signals] Exclude dladdr for AIX after #123879
MaskRay Jan 23, 2025
7575072
[llvm-exegesis] Disable exhaustive tests on Windows
boomanaiden154 Jan 23, 2025
19834b4
[LoongArch] Support sc.q instruction for 128bit cmpxchg operation (#1…
tangaac Jan 23, 2025
0bcf34e
[Clang] [NFC] Mark `UnresolvedSetImpl`'s move operations as defaulted…
MagentaTreehouse Jan 23, 2025
d80b814
[LoongArch] Summary llvm20 release notes
SixWeining Jan 23, 2025
3c7a878
[LoongArch] Summary clang20 release notes
SixWeining Jan 23, 2025
aa273fd
[LoongArch] Update lld20 release notes
SixWeining Jan 23, 2025
163935a
[RISCV] Add Qualcomm uC Xqcilo (Large Offset Load Store) extension (#…
hchandel Jan 23, 2025
de209fa
[CodeGen] Introduce Static Data Splitter pass (#122183)
mingmingl-llvm Jan 23, 2025
d15f3e8
[LoopInterchange] Constrain LI within supported loop nest depth (#118…
madhur13490 Jan 23, 2025
646f034
[gn build] Port de209fa11b54
llvmgnsyncbot Jan 23, 2025
daa1820
[Flang][OpenMP] Fix copyin allocatable lowering to MLIR (#122097)
kaviya2510 Jan 23, 2025
ea49d47
Specify triple for llc test
mingmingl-llvm Jan 23, 2025
5d8390d
Temporarily disable test on Fuchsia
mingmingl-llvm Jan 23, 2025
c3dfd34
[WebAssembly] Add unreachable before catch destinations (#123915)
aheejin Jan 23, 2025
ba17485
[clang][CodeComplete] Use HeuristicResolver to resolve DependentNameT…
HighCommander4 Jan 23, 2025
220004d
[GISel] Add more FP opcodes to CSE (#123949)
lialan Jan 23, 2025
3fb8c5b
[X86] Fix invalid instructions on x32 with large stack frames (#124041)
mconst Jan 23, 2025
8eb99bb
Reland [LLD] [COFF] Fix linking MSVC generated implib header objects …
mstorsjo Jan 23, 2025
cd5694e
[StrTable] Switch the option parser to `llvm::StringTable` (#123308)
chandlerc Jan 23, 2025
2b67ece
Android no longer supports arm < 7 (#123952)
hiraditya Jan 23, 2025
2a51a0d
Remove reference to android-mips (#124021)
hiraditya Jan 23, 2025
091741a
[libfuzzer] Clarify -max_len behavior on bigger files (#123095)
chfast Jan 23, 2025
70d7c84
[mlir][docs] Add usage/example of OpAsmOpInterface (#123610)
ZenithalHourlyRate Jan 23, 2025
4b0df28
[clang][Tooling] Prefer <atomic> for atomic_* family in C++
kadircet Jan 23, 2025
7781381
[SDAG] Use BatchAAResults for querying alias analysis (AA) results (#…
MacDue Jan 23, 2025
d7c14c8
[IR] Replace of PointerType::getUnqual(Type) with opaque version (NFC…
junlarsen Jan 23, 2025
9fd9263
[libc++abi] Remove support for Android 4 and older (#124054)
brad0 Jan 23, 2025
6bc68d0
[libc++] Remove support for Android 4 and older (#124062)
brad0 Jan 23, 2025
0429bfe
[libc++] Remove a few unused includes (#124025)
philnik777 Jan 23, 2025
ee99c4d
[LLVM][Clang][AArch64] Implement AArch64 build attributes (#123990)
sivan-shani Jan 23, 2025
7fb97be
[ConstraintElimination] Add eq/ne facts to signed constraint system (…
zsrkmyn Jan 23, 2025
08195f3
[libc++] Inline basic_streambuf functions (#123379)
philnik777 Jan 23, 2025
8388040
[mlir][tosa] Add NaN Propagation Mode Support (#121951)
FranklandJack Jan 23, 2025
1930635
[clang][Modules] Raise empty.modulemap expected size to <70KB to fix …
asb Jan 23, 2025
cad6bba
[C++20][Modules] Fix crash/compiler error due broken AST links (#123648)
dmpolukhin Jan 23, 2025
2e6cc79
[MLIR][NVVM] Migrate CpAsyncOp to intrinsics (#123789)
durga4github Jan 23, 2025
cb714e7
[DebugInfo][InstrRef] Avoid producing broken DW_OP_deref_sizes (#123967)
jmorse Jan 23, 2025
ad6d808
[lldb][DWARFASTParserClang] Make C++ method parsing aware of explicit…
Michael137 Jan 23, 2025
fa7f0e5
[NVPTX] Add Bulk Copy Prefetch Intrinsics (#123226)
abhilash1910 Jan 23, 2025
17756aa
[Clang] [Release Notes] Implicit lifetimes are a C++23 feature
cor3ntin Jan 23, 2025
a802093
Revert "[lldb][DWARFASTParserClang] Make C++ method parsing aware of …
Michael137 Jan 23, 2025
05fbc38
[VPlan] Move VPBlockUtils to VPlanUtils.h (NFC)
fhahn Jan 23, 2025
4bcdb26
Revert "[lldb][test] Remove compiler version check and use regex" (#1…
Michael137 Jan 23, 2025
4f26edd
[NFC][YAML] Add `IO::error()` (#123475)
vitalybuka Jan 23, 2025
1311b36
[llvm][Support] Put back filename into FileToRemoveList (#124065)
vitalybuka Jan 23, 2025
636bc72
Reland "[lldb][DWARFASTParserClang] Make C++ method parsing aware of …
Michael137 Jan 23, 2025
3ea2b54
[lldb/windows] Make "anonymous" pipe names more unique (#123905)
labath Jan 23, 2025
0236cb6
[lldb] Enable "frame diagnose" on linux (#123217)
labath Jan 23, 2025
6f68481
[libc++] Use [[clang::no_specializations]] to diagnose invalid user s…
philnik777 Jan 23, 2025
9705500
[libclc] Move nextafter to the CLC library (#124097)
frasercrmck Jan 23, 2025
e069518
SCEV: cover a codepath in isImpliedCondBalancedTypes (#123070)
artagnon Jan 23, 2025
0e944a3
[SCFToGPU] Convert scf.parallel+scf.reduce to gpu.all_reduce (#122782)
tkarna Jan 23, 2025
90e9895
[X86] Handle BSF/BSR "zero-input pass through" behaviour (#123623)
RKSimon Jan 23, 2025
0c66644
[bazel]Fix bazel build past 2e6cc79f816d942ab09d6a310cd925c1da148aa9 …
dklimkin Jan 23, 2025
590e5e2
[M68k] Fix llc pass test after 3630d9ef65b30af7e4ca78e668649bbc48b5be66
darkbuck Jan 23, 2025
d3d605b
[FileCheck] Use move semantics instead of std::swap. NFC. (#123304)
jayfoad Jan 23, 2025
fb3fa41
MachineRegisterInfo: Use variable for TRI
arsenm Jan 7, 2025
6fdaaaf
[AMDGPU] SIPeepholeSDWA: Disable on existing SDWA instructions (#123942)
frederik-h Jan 23, 2025
d8eb4ac
[Support] Remove ciso646 include (#123578)
nikic Jan 23, 2025
ff55c9b
[llvm][amdgpu] Handle indirect refs to LDS GVs during LDS lowering (#…
ergawy Jan 23, 2025
92b839e
[gn] fix mistake in ee99c4d4845db
nico Jan 22, 2025
e28e935
AMDGPU: Make vector_shuffle legal for v2i32 with v_pk_mov_b32 (#123684)
arsenm Jan 23, 2025
0c71fdd
[NVPTX] Fix ctor / dtor lowering when NVPTX target is not enabled (#1…
jhuber6 Jan 23, 2025
99d450e
Revert "[AMDGPU] SIPeepholeSDWA: Disable on existing SDWA instruction…
nico Jan 23, 2025
4d3a530
[bazel]Fix(2) bazel build past 2e6cc79f816d942ab09d6a310cd925c1da148a…
dklimkin Jan 23, 2025
25653e5
[AVX10.2] Update convert chapter intrinsic and mnemonics names (#123656)
mikolaj-pirog Jan 23, 2025
1f0964f
[llvm][Docs] Clarify finding maintainers
DavidSpickett Jan 23, 2025
26b61e1
[LoopVectorizer] Propagate underlying instruction to the cloned insta…
NickGuy-Arm Jan 23, 2025
6206f54
[AMDGPU] Occupancy w.r.t. workgroup size range is also a range (#123748)
lucas-rami Jan 23, 2025
c3b40c7
[X86] Regenerate test checks (NFC)
nikic Jan 23, 2025
f61d93f
[Flang] Generate math.acos op for non-precise acos intrinsic calls (#…
jsjodin Jan 23, 2025
6fe0fc6
[CallingConv] Return ArrayRef from AllocateRegBlock() (NFC) (#124120)
nikic Jan 23, 2025
9498fc2
Merge from 'sycl' to 'sycl-web' (6 commits)
Jan 23, 2025
e1aa1e4
[WPD]Provide branch weight for checking mode. (#124084)
mingmingl-llvm Jan 23, 2025
96410ed
mark test as unsupported as I investigate test failure on certain env…
mingmingl-llvm Jan 23, 2025
cb426b1
[NFC][DirectX] Clean-up of `DXIL.td` (#124005)
inbelic Jan 23, 2025
4bd0440
[RISCV] Add RVVConstraint to SiFive custom matrix multiply instructio…
topperc Jan 23, 2025
1937a36
[RISCV] Add @earlyclobber to SiFive custom matrix multiply instructio…
topperc Jan 23, 2025
df29995
[mlir] Fix warnings
kazutakahirata Jan 23, 2025
bca6dbd
[X86] Add additional i128 abi test (NFC)
nikic Jan 23, 2025
7db4ba3
[GlobalMerge][NFC] Fix inaccurate comments (#124136)
michaelmaitland Jan 23, 2025
fa29929
[SLP][NFC]Modernize code base in several places
alexey-bataev Jan 23, 2025
e622468
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#124074)
kazutakahirata Jan 23, 2025
113e1fd
[CodeGen] Migrate away from PointerUnion::dyn_cast (NFC) (#124076)
kazutakahirata Jan 23, 2025
d050083
[lldb] Avoid repeated map lookups (NFC) (#124077)
kazutakahirata Jan 23, 2025
bb019dd
[CodeGen] Avoid repeated hash lookups (NFC) (#124078)
kazutakahirata Jan 23, 2025
bda39a6
[ExecutionEngine] Include <map> (#124083)
kazutakahirata Jan 23, 2025
7ddeea3
[LLVM][AMDGPU] MC support for ds_bpermute_fi_b32 (#124108)
Acim-Maravic Jan 23, 2025
d8cd8d5
[SLP] getSpillCost - fully populate IntrinsicCostAttributes to improv…
RKSimon Jan 23, 2025
2f76e2b
[Driver] -fno-plt: warn for unsupported targets
MaskRay Jan 23, 2025
082b148
[TableGen] Pass CodeGenProcModel reference instead of index to addWri…
topperc Jan 23, 2025
1a8f49f
[mlir][python][cmake] Allow skipping nanobind compile options changes…
ScottTodd Jan 23, 2025
8c138be
[flang][cuda] Handle pointer allocation with source (#124070)
clementval Jan 23, 2025
caf0540
[LoopVectorizer] Add support for chaining partial reductions (#120272)
NickGuy-Arm Jan 23, 2025
a245309
[llvm-profdata] Add block percent to detailed summary (#105915)
ellishg Jan 23, 2025
e00f1f8
[ELF] Error for executable .note.GNU-stack unless -z execstack or -r
MaskRay Jan 23, 2025
6d4e72a
[GVN] Add extra vscale tests with different types. NFC
davemgreen Jan 22, 2025
3d72619
[InstCombine] Add a test for splitting scalable structs. NFC
davemgreen Jan 23, 2025
e062224
[test] Remove misleading ''
MaskRay Jan 23, 2025
ed51271
[Offload] Make MemoryManager threshold ENV var size_t type. (#124063)
hidekisaito Jan 23, 2025
6a97897
[NFC][modules] Create objects on the stack (#124034)
vitalybuka Jan 23, 2025
c7e6ca7
[SLP][NFC]Add dump() method for ScheduleData struct type for better d…
alexey-bataev Jan 23, 2025
66e49e3
[YAML] Don't validate `Fill::Size` after error (#123280)
vitalybuka Jan 23, 2025
ff17a41
[lldb] Remove support and workarounds for Android 4 and older (#124047)
brad0 Jan 23, 2025
5a7d92f
[NFC] Remove invalid features from test and autogenerate checks. (#12…
labrinea Jan 23, 2025
e0cd57d
[compiler-rt] Remove support and workarounds for Android 4 and older …
brad0 Jan 23, 2025
6045146
[libc] change return type of pthread_setspecific to int in generated …
alexprabhat99 Jan 23, 2025
0290693
[llvm-profdata] XFAIL broken test on windows (#124165)
ellishg Jan 23, 2025
db6b7a8
[libc][NFC] Strip all training whitespace and missing newlines (#124163)
jhuber6 Jan 23, 2025
2f6b0b4
[RISCV] Add SiFive sf.vqmacc tests to vmv-copy.mir. NFC (#124075)
topperc Jan 23, 2025
bec4c7f
[InstCombine] Unpack scalable struct loads/stores. (#123986)
davemgreen Jan 23, 2025
3dec24d
Stats are sorted before they are printed. Try fixing test failure by …
mingmingl-llvm Jan 23, 2025
6d5697f
[SystemZ] Fix ICE with i128->i64 uaddo carry chain
uweigand Jan 23, 2025
0d01908
[TailDup] Allow large number of predecessors/successors without phis.…
fhahn Jan 23, 2025
1c28b92
[Clang] __has_builtin should return false for aux triple builtins (#1…
sarnex Jan 23, 2025
a6211a6
[gn build] Port ff17a4136ded
llvmgnsyncbot Jan 23, 2025
4cf1fe2
[lldb] Add missing operations to GetOpcodeDataSize (#120163)
JDevlieghere Jan 23, 2025
775d0f3
[GVN] Handle scalable vectors with the same size in VNCoercion (#123984)
davemgreen Jan 23, 2025
c9b7303
Add [[maybe_unused]] to a variable used only in assert in VPlan.h (#1…
basioli-k Jan 23, 2025
c3ecbe6
Disable the test again.
mingmingl-llvm Jan 23, 2025
4018317
[Clang] restrict use of attribute names reserved by the C++ standard …
a-tarasyuk Jan 23, 2025
4600de9
Merge from 'main' to 'sycl-web' (90 commits)
frasercrmck Jan 24, 2025
76271f1
Merge from 'sycl' to 'sycl-web' (10 commits)
Jan 24, 2025
915f3ed
Merge from 'main' to 'sycl-web' (70 commits)
mdfazlay Jan 24, 2025
f260c2e
adds support for SPV_EXT_arithmetic_fence (#2954)
bashbaug Jan 13, 2025
cbc1b1b
Update for deprecation of llvm::PointerUnion::get (#2961)
svenvh Jan 14, 2025
789f0e6
Update more llvm::PointerUnion::get calls (#2962)
svenvh Jan 16, 2025
45da762
Align translation of `OpCooperativeMatrixLengthKHR` to match the spec…
vmaksimo Jan 17, 2025
aaf026b
Adapt to change introduced by #122928 in upstream. (#2965)
AlexVlx Jan 20, 2025
41f6405
Update dwarf-public-names.ll after LLVM change (#2966)
svenvh Jan 20, 2025
33696aa
Use `poison` instead of `undef` values wherever possible (#2960)
vmaksimo Jan 20, 2025
70c569c
[SLP]Adjust NumberOfParts value for adjusted number of buildvector sc…
alexey-bataev Jan 28, 2025
9f10ac0
[libclc] Fix build after bad merge
jsji Jan 26, 2025
3665b1a
[HIP] Remove XFail from accessor.cpp
jsji Jan 29, 2025
69b0c17
Update spirv-headers-tag.conf despite revert of dd33e595
jsji Jan 26, 2025
6f7939d
[Clang][Driver] Add --no-offload-new-driver to sycl cuda test after 9…
jsji Jan 24, 2025
66cfb5c
[Clang][Driver] Update test after 0d352b2ea767 (#26825)
jsji Jan 17, 2025
4b22e2c
[SYCL][E2E] XFAIL multisource.cpp for now
jsji Jan 27, 2025
248b2d2
[SYCL] XFail sycl-kernel-entry-point*pch/module first
jsji Jan 24, 2025
87c57b3
[SYCL][CUDA] include PTX in new driver
jsji Jan 28, 2025
64daf45
[SYCL][NVPTX] Use ptx_kernel cc instead of metadata
jsji Jan 29, 2025
16914cb
Merge remote-tracking branch 'origin/sycl' into llvmspirv_pulldown
jsji Jan 30, 2025
594e3ce
[SYCL] Remove unecessary cc change
jsji Jan 30, 2025
5a6655a
[NFC] Add comments about early exiting in populateKernels
jsji Jan 30, 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.
102 changes: 88 additions & 14 deletions .ci/generate_test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ def junit_from_xml(xml):

class TestReports(unittest.TestCase):
def test_title_only(self):
self.assertEqual(_generate_report("Foo", []), ("", "success"))
self.assertEqual(_generate_report("Foo", 0, []), ("", "success"))

def test_no_tests_in_testsuite(self):
self.assertEqual(
_generate_report(
"Foo",
1,
[
junit_from_xml(
dedent(
Expand All @@ -45,6 +46,7 @@ def test_no_failures(self):
self.assertEqual(
_generate_report(
"Foo",
0,
[
junit_from_xml(
dedent(
Expand All @@ -70,10 +72,51 @@ def test_no_failures(self):
),
)

def test_no_failures_build_failed(self):
self.assertEqual(
_generate_report(
"Foo",
1,
[
junit_from_xml(
dedent(
"""\
<?xml version="1.0" encoding="UTF-8"?>
<testsuites time="0.00">
<testsuite name="Passed" tests="1" failures="0" skipped="0" time="0.00">
<testcase classname="Bar/test_1" name="test_1" time="0.00"/>
</testsuite>
</testsuites>"""
)
)
],
buildkite_info={
"BUILDKITE_ORGANIZATION_SLUG": "organization_slug",
"BUILDKITE_PIPELINE_SLUG": "pipeline_slug",
"BUILDKITE_BUILD_NUMBER": "build_number",
"BUILDKITE_JOB_ID": "job_id",
},
),
(
dedent(
"""\
# Foo

* 1 test passed

All tests passed but another part of the build **failed**.

[Download](https://buildkite.com/organizations/organization_slug/pipelines/pipeline_slug/builds/build_number/jobs/job_id/download.txt) the build's log file to see the details."""
),
"error",
),
)

def test_report_single_file_single_testsuite(self):
self.assertEqual(
_generate_report(
"Foo",
1,
[
junit_from_xml(
dedent(
Expand Down Expand Up @@ -166,6 +209,7 @@ def test_report_single_file_multiple_testsuites(self):
self.assertEqual(
_generate_report(
"ABC and DEF",
1,
[
junit_from_xml(
dedent(
Expand Down Expand Up @@ -198,6 +242,7 @@ def test_report_multiple_files_multiple_testsuites(self):
self.assertEqual(
_generate_report(
"ABC and DEF",
1,
[
junit_from_xml(
dedent(
Expand Down Expand Up @@ -238,6 +283,7 @@ def test_report_dont_list_failures(self):
self.assertEqual(
_generate_report(
"Foo",
1,
[
junit_from_xml(
dedent(
Expand Down Expand Up @@ -272,6 +318,7 @@ def test_report_dont_list_failures_link_to_log(self):
self.assertEqual(
_generate_report(
"Foo",
1,
[
junit_from_xml(
dedent(
Expand Down Expand Up @@ -312,6 +359,7 @@ def test_report_size_limit(self):
self.assertEqual(
_generate_report(
"Foo",
1,
[
junit_from_xml(
dedent(
Expand Down Expand Up @@ -351,12 +399,18 @@ def test_report_size_limit(self):
# and output will not be.
def _generate_report(
title,
return_code,
junit_objects,
size_limit=1024 * 1024,
list_failures=True,
buildkite_info=None,
):
if not junit_objects:
# Note that we do not post an empty report, therefore we can ignore a
# non-zero return code in situations like this.
#
# If we were going to post a report, then yes, it would be misleading
# to say we succeeded when the final return code was non-zero.
return ("", "success")

failures = {}
Expand Down Expand Up @@ -385,7 +439,11 @@ def _generate_report(
if not tests_run:
return ("", None)

style = "error" if tests_failed else "success"
style = "success"
# Either tests failed, or all tests passed but something failed to build.
if tests_failed or return_code != 0:
style = "error"

report = [f"# {title}", ""]

tests_passed = tests_run - tests_skipped - tests_failed
Expand All @@ -400,17 +458,17 @@ def plural(num_tests):
if tests_failed:
report.append(f"* {tests_failed} {plural(tests_failed)} failed")

if not list_failures:
if buildkite_info is not None:
log_url = (
"https://buildkite.com/organizations/{BUILDKITE_ORGANIZATION_SLUG}/"
"pipelines/{BUILDKITE_PIPELINE_SLUG}/builds/{BUILDKITE_BUILD_NUMBER}/"
"jobs/{BUILDKITE_JOB_ID}/download.txt".format(**buildkite_info)
)
download_text = f"[Download]({log_url})"
else:
download_text = "Download"
if buildkite_info is not None:
log_url = (
"https://buildkite.com/organizations/{BUILDKITE_ORGANIZATION_SLUG}/"
"pipelines/{BUILDKITE_PIPELINE_SLUG}/builds/{BUILDKITE_BUILD_NUMBER}/"
"jobs/{BUILDKITE_JOB_ID}/download.txt".format(**buildkite_info)
)
download_text = f"[Download]({log_url})"
else:
download_text = "Download"

if not list_failures:
report.extend(
[
"",
Expand All @@ -435,11 +493,23 @@ def plural(num_tests):
"</details>",
]
)
elif return_code != 0:
# No tests failed but the build was in a failed state. Bring this to the user's
# attention.
report.extend(
[
"",
"All tests passed but another part of the build **failed**.",
"",
f"{download_text} the build's log file to see the details.",
]
)

report = "\n".join(report)
if len(report.encode("utf-8")) > size_limit:
return _generate_report(
title,
return_code,
junit_objects,
size_limit,
list_failures=False,
Expand All @@ -449,9 +519,10 @@ def plural(num_tests):
return report, style


def generate_report(title, junit_files, buildkite_info):
def generate_report(title, return_code, junit_files, buildkite_info):
return _generate_report(
title,
return_code,
[JUnitXml.fromfile(p) for p in junit_files],
buildkite_info=buildkite_info,
)
Expand All @@ -463,6 +534,7 @@ def generate_report(title, junit_files, buildkite_info):
"title", help="Title of the test report, without Markdown formatting."
)
parser.add_argument("context", help="Annotation context to write to.")
parser.add_argument("return_code", help="The build's return code.", type=int)
parser.add_argument("junit_files", help="Paths to JUnit report files.", nargs="*")
args = parser.parse_args()

Expand All @@ -477,7 +549,9 @@ def generate_report(title, junit_files, buildkite_info):
if len(buildkite_info) != len(env_var_names):
buildkite_info = None

report, style = generate_report(args.title, args.junit_files, buildkite_info)
report, style = generate_report(
args.title, args.return_code, args.junit_files, buildkite_info
)

if report:
p = subprocess.Popen(
Expand Down
Loading
Loading