Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
576 commits
Select commit Hold shift + click to select a range
01921bd
[RISCV] Fix typo zamo -> zaamo (#93792)
jerryzj May 30, 2024
4d65887
[LLVM] Remove executable permission from some non-executable files (#…
jayfoad May 30, 2024
8b600a3
Revert "Add SBAddressRange and SBAddressRangeList to SB API (#92014)"
Michael137 May 30, 2024
b49c0b8
[mlir][ArmSME] Simplify permutation map handling (#93515)
c-rhodes May 30, 2024
662b130
[libc][NFC] Tighten up guard conditions for sqrt and polyeval (#93791)
gchatelet May 30, 2024
08d168c
AMDGPU/GlobalISel: Use correct type for intrinsic ID
arsenm May 30, 2024
0d0851b
[gn] port 8c33b3380b80 (InstrumentationTests)
nico May 30, 2024
806ed26
[docs] Update security group nomination to use gh pr (#93679)
kbeyls May 30, 2024
191e64f
[lldb][bazel] Fix BUILD after 540a36ad7e31bfeb11e795047a42bb6e30bf9985.
chsigg May 30, 2024
05e6bb4
[SelectionDAG] Add an ISD::CLEAR_CACHE node to lower llvm.clear_cache…
rofirrim May 30, 2024
eb88e7c
[Frontend][OpenMP] Remove `reduction` from allowed clauses for `targe…
kparzysz May 30, 2024
7b77301
[clang] fix(93002): clang/lib/Sema/SemaOpenMP.cpp:7405: Possible & / …
a-tarasyuk May 30, 2024
ed25d1a
[AMDGPU] Regenerate checks in inst-select-load-global.s96.mir
jayfoad May 30, 2024
c28566c
[gn build] Port 8b600a37325b
llvmgnsyncbot May 30, 2024
2b9c158
[InstCombine] Add test for miscompile in gep-of-gep fold (NFC)
nikic May 30, 2024
6179036
[flang] Support calling ieee_support_flag with an array argument (#93…
vdonaldson May 30, 2024
1bf1f93
[Offload] Temporarily disable failing test after eb88e7c1
kparzysz May 30, 2024
57da040
[clang-tidy] Check number of arguments to size/length in readability-…
PiotrZSL May 30, 2024
b5db2e1
[MCP] Remove unused TII argument. NFC
davemgreen May 30, 2024
1f46729
[polynomial] Move primitive root attribute to ntt/intt ops. (#93227)
j2kun May 30, 2024
a871470
[clang-repl] Introduce common fixture class in unittests (NFC) (#93816)
weliveindetail May 30, 2024
adc4e45
[Offload] Update test to use `target parallel for reduction`
kparzysz May 30, 2024
1159e76
[mlir][linalg] Add folder for transpose(transpose) -> transpose (#93606)
ryanpholt May 30, 2024
f55622f
[flang] Lower non optional inquired argument in custom intrinsic lowe…
clementval May 30, 2024
e8de977
[AMDGPU] Fixed subtarget name in the lit test check-prefix string (NF…
cdevadas May 30, 2024
647d272
[clang-repl] Fix SetUp in CodeCompletionTest fixture (#93816)
weliveindetail May 30, 2024
1ee02f9
[Clang] Fix overloading for constrained variadic functions (#93817)
cor3ntin May 30, 2024
a2bcb93
[lldb] Attempt to fix TestCompletion on macos
labath May 30, 2024
6147a7b
[RISCV] Adjust FP load latencies from 6 to 5 in SiFiveP400/P600 sched…
mshockwave May 30, 2024
facb767
[lldb] Fixed the TestGdbRemoteLibrariesSvr4Support test running on a …
slydiman May 30, 2024
59e2a6b
[lldb] Fixed the TestDebuggerAPI test running on a remote target (#93…
slydiman May 30, 2024
b62ba7f
[lldb] Fixed the TestGdbRemotePlatformFile test running on a remote t…
slydiman May 30, 2024
ed35a92
[clang] Introduce target-specific `Sema` components (#93179)
Endilll May 30, 2024
8aa8019
[WebAssembly] Implement all f16x8 relation instructions. (#93751)
brendandahl May 30, 2024
32546bd
[gn build] Port ed35a92c4046
llvmgnsyncbot May 30, 2024
a8e03ae
[DebugInfo][RemoveDIs] Add documentation for updating code to handle …
SLTozer May 30, 2024
cc2fafa
[InstSimplify] Add constant folding support for `ucmp`/`scmp` intrins…
Poseydon42 May 30, 2024
f6c8e7d
[MLIR][AMDGPU] Remove support for old llvm.amdgcn.buffer.* intrinsics…
jayfoad May 30, 2024
3d9d485
[lldb][DWARF] Fix adding children to clang type that hasn't started d…
ZequanWu May 30, 2024
435114f
[mlir][test] Rename Vector integration tests for CPU (nfc) (#93521)
banach-space May 30, 2024
ce5b371
[BOLT,test] Make linker scripts less sensitive to lld's orphan placem…
MaskRay May 30, 2024
5f243b3
AMDGPU: Generalize instruction shrinking code (#93810)
arsenm May 30, 2024
48175a5
[lldb] Add SBAddressRange and SBAddressRangeList to SB API (#93836)
May 30, 2024
ded04bf
[gn build] Port 48175a5d9f62
llvmgnsyncbot May 30, 2024
270d95b
[ELF] Improve orphan placement tests
MaskRay May 30, 2024
692ae54
[mlir][polynomial] verify from_tensor coeff type (#93243)
j2kun May 30, 2024
73e07e9
[ELF] Add RW then text test
MaskRay May 30, 2024
747d670
[ELF] Make .interp/SHT_NOTE not special
MaskRay May 30, 2024
8fa66c6
[asan][windows] Eliminate the static asan runtime on windows (#93770)
May 30, 2024
5785048
[VPlan] Add VPIRBasicBlock, use to model pre-preheader. (#93398)
fhahn May 30, 2024
485f9f5
Reland: [libc][POSIX][pthreads] implemented missing pthread_rwlockatt…
HendrikHuebner May 30, 2024
3af717d
[flang] Add parsing of DO CONCURRENT REDUCE clause (#92518)
khaki3 May 30, 2024
0a93e9f
Revert "[asan][windows] Eliminate the static asan runtime on windows …
May 30, 2024
f8cc183
Fix the dsymutil heuristic for excluding system interfaces. (#93745)
adrian-prantl May 30, 2024
7cfffe7
Unittests and usability for BitstreamWriter incremental flushing (#92…
mtrofin May 30, 2024
0eb9e02
[libc][math][c23] Add fabsf16 C23 math function (#93567)
overmighty May 30, 2024
baabaa4
[clang][NFC] Move `PDiag` into `SemaBase` (#93849)
Endilll May 30, 2024
973821c
[MTE] rename RecordStackHistoryMode
fmayer May 30, 2024
c803c29
[nfc][InstrProf]Remove 'offsetOf' when parsing indexed profiles (#93346)
mingmingl-llvm May 30, 2024
9faa623
[compiler-rt] [test] Work around MS CRT stdio format quirks on mingw …
mstorsjo May 30, 2024
ce7b670
[clang][OpenMP] Simplify check for repeated clauses (#93611)
kparzysz May 30, 2024
61afebd
[MemProf][NFC] Switch to DenseMaps (#93868)
teresajohnson May 30, 2024
7b80489
[clang][AST] fix ast-print of `extern <lang>` with >=2 declarators (#…
temyurchenko May 30, 2024
224581c
[flang] Fix a warning
kazutakahirata May 30, 2024
22ada55
[dsymutil] Also detect external downloadable toolchains (#93872)
adrian-prantl May 30, 2024
6f576d9
[libc] android atest compat (#93852)
nickdesaulniers May 30, 2024
d471860
[bazel] Port #92983 (#93874)
keith May 30, 2024
6e975ec
Reapply "[DebugInfo] Add flag to only emit referenced member function…
dwblaikie May 30, 2024
8247068
[RISCV] Support (truncate (smin (smax X, C1), C2)) for vnclipu in com…
topperc May 30, 2024
167cad5
[ELF] Improve ADDR tests
MaskRay May 30, 2024
493eefc
[lldb][test] Fix failing test TestAddressRange.py (#93871)
May 30, 2024
031f08c
[bazel] Port #93567 (#93877)
keith May 30, 2024
f795853
raw_ostream: Fix a comment in llvm::errs
MaskRay May 30, 2024
c4dad9a
[DirectX] Fix BitcodeWriter ctor after #92983
MaskRay May 30, 2024
215f92b
[AMDGPU] Fix crash in the SILoadStoreOptimizer (#93862)
rampitec May 30, 2024
d5f077c
[ELF] Simplify assignOffsets. NFC
MaskRay May 30, 2024
90acfbf
[memprof] Use linear IDs for Frames and call stacks (#93740)
kazutakahirata May 30, 2024
629b6f4
[BOLT][NFC] Extend updateLayoutIndices (#93861)
shawbyoung May 30, 2024
fc2b159
Send output to a temp file, even in the error case
Sterling-Augustine May 30, 2024
419d363
AMDGPU: Add kernarg input attributes to preloaded kernarg test (#93669)
arsenm May 30, 2024
d9fbccf
Fix test on MacOS where -fstandalone-debug is the default
dwblaikie May 30, 2024
235ddbd
[DirectX] [Docs] Add DXILOpTableGenDesign.rst to toctree of DirectXUs…
bharadwajy May 30, 2024
d4ff961
Add missing #include for ObjCMethodDecl.
slackito May 30, 2024
852aaf5
Reapply "[Support] Remove terminfo dependency (#92865)" (#93889)
aaronmondal May 30, 2024
e1c3e16
[clang] Fix a crash when a variable is captured by a block nested ins…
ahatanak May 30, 2024
f38d84c
[VPlan] Use ir-bb prefix for VPIRBasicBlock.
fhahn May 31, 2024
e9954ec
[BOLT] Detect .warm split functions as cold fragments (#93759)
aaupov May 31, 2024
aa98c75
Revert "[clang][AST] fix ast-print of `extern <lang>` with >=2 declar…
gulfemsavrun May 31, 2024
db6de1a
[DAGCombiner][VP] Add DAGCombine for VP_MUL (#80105)
jacquesguan May 31, 2024
461cc86
[LAA] Add test where stride is also used for BTC.
fhahn May 31, 2024
c5fdb5c
[clang-format] Insert a space between a keyword and a literal (#93632)
owenca May 31, 2024
1fa073a
[MachO] Stop parsing past end of rebase/bind table (#93897)
zixu-w May 31, 2024
089dfee
[X86] Add support for MS inp functions. (#93804)
MalaySanghi May 31, 2024
71ccd0d
[IRInterpreter] Return zero address for missing weak function (#93548)
nikic May 31, 2024
4985f25
[IR] Fix IWYU violation (#93918)
cyndyishida May 31, 2024
f49d26b
[flang][runtime] add IsAssumedSize API (#93857)
jeanPerier May 31, 2024
5228c2c
[flang][FIR] add fir.is_assumed_size operation (#93853)
jeanPerier May 31, 2024
0821b79
[AMDGPU] Copy Defs and Uses from Pseudo to Real Instructions (#93004)
ritter-x2a May 31, 2024
63dc31b
Reapply [IR] Avoid creating icmp/fcmp constant expressions (#92885)
nikic May 22, 2024
e1cc9e4
[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)
nikic May 31, 2024
be566d2
[clang] AST Visitor: skip empty qualifiers in QualifiedTemplateName (…
mizvekov May 31, 2024
f484c79
[AArch64] Avoid NEON ctpop in Streaming-SVE mode (#93826)
sdesmalen-arm May 31, 2024
ae86278
[Nomination] Add ST representative to Security group (#93176)
yroux May 31, 2024
b86a9c5
[mlir][irdl] Lookup symbols near dialects instead of locally (#92819)
Moxinilian May 31, 2024
51e459a
Revert "[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)"
nikic May 31, 2024
b1be480
[DAGCombiner] Move CanReassociate down to first use. NFC.
jayfoad May 31, 2024
48ba7da
[libc][NFC] Allow compilation of `memcpy` with `-m32` (#93790)
gchatelet May 31, 2024
2766a66
[AMDGPU] Remove FlatVariant argument from isLegalFlatAddressingMode. …
rampitec May 31, 2024
de32a3d
[Clang] Regenerate test checks (NFC)
nikic May 31, 2024
60a890d
[LoopPeel] Add pre-commit test for min/max intrinsics
skachkov-sc May 16, 2024
c8fad4f
[flang][OpenMP][NFC] Reduce OMPMarkDeclareTarget boilerplate (#93797)
tblah May 31, 2024
a65771f
[SPIR-V] Prefer llvm-spirv-<LLVM_VERSION_MAJOR> tool (#77897)
linehill May 31, 2024
196dca7
[clang][analyzer][NFC] Improve docs of alpha.unix.BlockInCriticalSect…
gamesh411 May 31, 2024
46b3145
[clang][analyzer][NFC] Add test for a limitation of alpha.unix.BlockI…
gamesh411 May 31, 2024
f34dedb
[LoopPeel] Support min/max intrinsics in loop peeling (#93162)
skachkov-sc May 31, 2024
189efb0
[X86] vselect-pcmp.ll - add tests showing poor codegen on AVX1 target…
RKSimon May 31, 2024
8f4d5a3
[mlir][tensor] Fold unpadding collapse_shape into extract_slice (#93554)
adam-smnk May 31, 2024
f917c39
[flang] improve and rename Entity::hasNonDefaultLowerBounds (#93848)
jeanPerier May 31, 2024
7acd2c0
[lld][ELF][AArch64] Support `R_AARCH64_GOT_LD_PREL19` relocation (#89…
kovdan01 May 31, 2024
23427b8
[BOLT][NFC] Fix typo in DWARFRewriter.cpp (#93955)
ElvinaYakubova May 31, 2024
37ecd43
[ExecutionEngine] Remove handling for removed ConstantExprs (NFCI)
nikic May 31, 2024
765ce86
[BOLT][DOC] Add script for automatic user guide generation (#93822)
ElvinaYakubova May 31, 2024
f0e8d00
[X86] widen_load-3.ll - add missing nounwind attributes
RKSimon May 31, 2024
6ee845d
[IR] Remove handling for removed ConstantExprs (NFC)
nikic May 31, 2024
654cd94
[VPlan] Unconditionally run optimizeForVFAndUF.
fhahn May 31, 2024
b52962d
[X86] LowerVSELECT - split v16i16/v32i8 pre-AVX2 VSELECT ops if enoug…
RKSimon May 31, 2024
5c7f7cc
[flang] Fix exec.f90 test on LIT integrated shell (#93961)
DavidTruby May 31, 2024
edf4e02
[RISCV] Support multiple levels of truncates in combineTruncToVnclip.…
topperc May 31, 2024
6163775
[clang] ``README.txt``: Replace the link to the old bug tracker with …
Eclips4 May 31, 2024
fb87e11
[RISCV] Add test case for strided scatter with scalar offset. NFC
lukel97 May 31, 2024
c5e417a
[lldb] Fix 'session save' command on Windows
dzhidzhoev May 10, 2024
e6bef08
[flang] Avoid double free in bufferize pass (#93922)
clementval May 31, 2024
5e423f1
[lldb][test] Add --sysroot argument to dotest.py
dzhidzhoev Apr 17, 2024
ca0dae0
[AMDGPU][NFC] Eliminate GCNPredicateControl. (#93964)
kosarev May 31, 2024
85ea1aa
[OpenACC] Fix device_type clause appertainment
erichkeane May 31, 2024
98d5d34
[MLIR][GPU-LLVM] Define `-convert-gpu-to-llvm-spv` pass (#90972)
victor-eds May 31, 2024
7b6a89f
[ELF] Detect convergence of output section addresses
MaskRay May 31, 2024
57eb92e
[llvm-objdump][test] Relax directory prefix check in source-interleav…
nikic May 31, 2024
775f1cd
AMDGPU: Add gfx12-generic target (#93875)
kzhuravl May 31, 2024
97c34eb
[CUDA] Fix a couple of driver tests that really weren't being run (#9…
pogo59 May 31, 2024
6416958
Revert "[CUDA] Fix a couple of driver tests that really weren't being…
pogo59 May 31, 2024
07bd439
[libc] added quick_exit function (#93620)
RoseZhang03 May 31, 2024
3b79c82
[gn] port a65771fce4a2
nico May 31, 2024
41ddf12
Remove dangling conversion to `optional<T> &` (#93385)
davidstone May 31, 2024
37f3023
[memprof] Use uint32_t for linear call stack IDs (#93924)
kazutakahirata May 31, 2024
13b6284
[bazel] Port #92819 (#93992)
keith May 31, 2024
7caa812
[bazel] Port #92819 take 2 (#93995)
keith May 31, 2024
1e81b67
[lldb] FormatManager::GetPossibleMatches assumes all ValueObjects hav…
jimingham May 31, 2024
3459926
[bazel] Port #90972 (#93996)
keith May 31, 2024
9482af3
[flang] Carry over BIND(C) information to fir.call (#93981)
clementval May 31, 2024
c232137
[flang][HLFIR] compute elemental function result length parameters (#…
clementval May 31, 2024
68a6481
[C11] Claim conformance to N1464
AaronBallman May 31, 2024
458a315
[RISCV] Add more tests for strided gathers with scalar offsets. NFC
lukel97 May 31, 2024
f46d146
[clang] require template arg list after template kw (#80801)
evelez7 May 31, 2024
3b81d9d
Reapply "[CUDA] Fix a couple of driver tests that really weren't bein…
pogo59 May 31, 2024
b06e736
[MC] Speed up AttemptToFoldSymbolOffsetDifference in the absence of M…
MaskRay May 31, 2024
5a02a9a
[lldb] Improve identification of Dlang mangled names (#93881)
kastiglione May 31, 2024
a966440
[flang][openmp] Fix test after PR #93981
clementval May 31, 2024
e19565c
[Offload][AMDGPU] Only allow memory pool access to valid agents (#93969)
jhuber6 May 31, 2024
e79c080
[cmake] Allow multiple LibEdit_LIBRARIES (#93896)
mysterymath May 31, 2024
435e5c1
[libc] restored original no_stack_protector syntax (#94005)
RoseZhang03 May 31, 2024
ed155f3
[runtimes] Correctly apply libdir subdir for multilib (#93354)
petrhosek May 31, 2024
4be3083
[BOLT] Remove mutable from BB::LayoutIndex (#93224)
shawbyoung May 31, 2024
9581069
[lld][test] Precommit test for ld -r links with FatLTO PIC objects (#…
ilovepi May 31, 2024
f2f6569
[mlir][polynomial] ensure primitive root calculation doesn't overflow…
j2kun May 31, 2024
96d19fd
[ADT] Remove llvm::erase_value (#94003)
kazutakahirata May 31, 2024
99a0cd6
[RISCV] Use TU policy for C reduction intrinsics. (#93970)
topperc May 31, 2024
3320249
[MLIR][NVVM] Make the call to findTool optional for fatbinary (#93968)
apaszke May 31, 2024
fc21387
[AMDGPU] Enable constant offset promotion to immediate FLAT (#93884)
rampitec May 31, 2024
5849cba
[libc] Add line numbers to libc utility error messages (#94010)
jhuber6 May 31, 2024
6119340
[OpenACC] Audit/add tests to ensure we enforce appertainment correctly
erichkeane May 31, 2024
cab81dd
[EntryExitInstrumenter] Move passes out of clang into LLVM default pi…
pasko May 31, 2024
8578b60
[clang] Add ABI-defined key assignments to ptrauth.h. (#93901)
ahmedbougacha May 31, 2024
2db190f
[mlir][tensor][NFC] Move function comments to where they are declared…
hanhanW May 31, 2024
68fdc1c
[lldb] Fix Dlang symbol test breakage (#94046)
kastiglione May 31, 2024
cc548ec
[AArch64][PAC] Lower authenticated calls with ptrauth bundles. (#85736)
ahmedbougacha May 31, 2024
62c61aa
[msan] Change #ifdef SANITIZER_PPC to #if (#94009)
thurstond May 31, 2024
9a8b73c
[memprof] Replace uint32_t with LinearCallStackId where appropriate (…
kazutakahirata May 31, 2024
ad884d9
A few updates around "transcript" (#92843)
royitaqi May 31, 2024
11791ae
[BOLT][DWARF][NFC] Added double escape characters (#93348)
sayhaan May 31, 2024
278b396
[BOLT][DWARF][NFC] Add tests with multiple CUs (#93615)
sayhaan May 31, 2024
8d239d7
[BOLT][DWARF][NFC] Fix formatting issue in DWARF5 split-dwarf test (#…
sayhaan May 31, 2024
a585446
[BOLT][DWARF][NFC] Fix formatting issue in DWARF4 split-dwarf test (#…
sayhaan May 31, 2024
bba5ee4
[memprof] Introduce memprof::LinearFrameId (NFC) (#94057)
kazutakahirata May 31, 2024
840f9de
[memprof] Use LinearFrameId and LinearCallStackId where appropriate (…
kazutakahirata May 31, 2024
f5bab96
[M68k] Fix compilation pipeline check
darkbuck Jun 1, 2024
0353f6a
[BOLT][test] Use correct normalized triple
MaskRay Jun 1, 2024
16832eb
Guard against nullptr (#94084)
Sterling-Augustine Jun 1, 2024
1697030
[MachO LLD] Respect -all_load with --start-lib --end-lib style archiv…
NuriAmari Jun 1, 2024
d337c50
[SLP][NFCI] Address issues seen in downstream Coverity scan. (#93757)
tylanphear Jun 1, 2024
142afde
[libc] rework mutex (#92168)
SchrodingerZhu Jun 1, 2024
85fd168
Revert "A few updates around "transcript"" (#94088)
gulfemsavrun Jun 1, 2024
8057756
[libc] fix test build on platforms without `SYS_fork` (#94087)
SchrodingerZhu Jun 1, 2024
f3444f6
[RISCV] Fix incorrect use of TA in some tablegen class names. NFC
topperc Jun 1, 2024
4d4d6eb
[ELF] findOrphanPos: avoid redundant getRankProximity call. NFC
MaskRay Jun 1, 2024
1af0778
[RISCV] Use vadd.vi for tail undisturbe vsub intrinsic with small imm…
topperc Jun 1, 2024
59116e0
[PowerPC] Update test so that target flags are exposed. NFC.
Jun 1, 2024
0f3d646
[ELF] Simplify findOrphanPos. NFC
MaskRay Jun 1, 2024
26814bb
[clang] Fix a typo: ExplicitObje[C]tArgument. NFC (#94094)
samolisov Jun 1, 2024
f859048
[ELF] Simplify findOrphanPos. NFC
MaskRay Jun 1, 2024
63fc26c
[libc] fix build failures due to SIGCHLD (#94093)
SchrodingerZhu Jun 1, 2024
5d31360
[libc++] Remove the inline namespace for std::filesystem in ABIv2 (#9…
philnik777 Jun 1, 2024
bfa8b64
[libc++][NFC] Format pair.h (#94101)
philnik777 Jun 1, 2024
0864501
[GISel] Convert zext nneg to sext if it is cheaper (#93856)
dtcxzyw Jun 1, 2024
daaaf4e
[analyzer][NFC] Fix comparison to True/False (#94038)
e-kwsm Jun 1, 2024
16397e8
[Clang][Sema] Push an evaluation context for type constraints (#93945)
zyn0217 Jun 1, 2024
cd676e5
[lldb] Guard some GCC-style flags from MSVC
Endilll Jun 1, 2024
9d4b20a
[mlir][bufferization] Allow mixed static/dynamic shapes in `materiali…
matthias-springer Jun 1, 2024
cb7a03b
[libc++] Fix failures with GCC 14 (#92663)
philnik777 Jun 1, 2024
47fd32f
[DAGCombine] Fix type mismatch in `(shl X, cttz(Y)) -> (mul (Y & -Y),…
dtcxzyw Jun 1, 2024
4c6367b
[LV] Add test with strided interleave groups and maximizing bandwidth.
fhahn Jun 1, 2024
b263033
AMDGPU: Remove arbitrary SCC liveness scan threshold (#94097)
arsenm Jun 1, 2024
f7e63e8
[LV] Operands feeding pointers of interleave member pointers are free.
fhahn Jun 1, 2024
598f37b
[BOLT][DWARF][NFC] Add split-dwarf4 test with multiple CUs (#93741)
sayhaan Jun 1, 2024
2b1dfd2
[DAG] Replace getValid*ShiftAmountConstant helpers with getValid*Shif…
RKSimon Jun 1, 2024
86bb5c8
Create annotations to better explain restarter decision
EricWF Jun 1, 2024
e9057c3
Create check run on workflow run to better display result.
EricWF Jun 1, 2024
661d64b
[NVPTX] disable combine-mad test for newer ptxas (#93919)
AlexMaclean Jun 1, 2024
867c9f6
Fix permissions on restarter workflow
EricWF Jun 1, 2024
ee8e0f3
Fix order of include flags for the target & regular include paths. (#…
EricWF Jun 1, 2024
8256c59
Fix GCC Wparentheses warning. NFC.
RKSimon Jun 1, 2024
2a1ea15
Use StringRef::starts_with (NFC) (#94112)
kazutakahirata Jun 1, 2024
9e22c7a
[DAG] canCreateUndefOrPoison - only compute shift amount knownbits wh…
RKSimon Jun 1, 2024
2b2ce50
[MLIR][SCF] Add an API to fuse consumer to a producer within scf loop…
Abhishek-Varma Jun 1, 2024
6e22b53
[libc++] Fix `std::atomic::wait` ulock wait UL_COMPARE_AND_WAIT64 (#9…
huixie90 Jun 1, 2024
e7e6e1e
[mlir][bazel] Add bazel build support for https://github.com/llvm/llv…
MaheshRavishankar Jun 1, 2024
c877eb3
[InstCombine] Add tests for folding `(add X, (sext/zext (icmp eq X, C…
goldsteinn May 30, 2024
0310f7f
[InstCombine] Fold `(add X, (sext/zext (icmp eq X, C)))`
goldsteinn May 30, 2024
d2cdc8a
[NewPM][CodeGen] Port selection dag isel to new pass manager (#83567)
paperchalice Jun 2, 2024
f63b1d2
[SelectionDAG] Mark `SelectionDAGISel` destructor virtual (#94132)
paperchalice Jun 2, 2024
3f9ba00
[BPF] Remove unused ID in `SelectionDAGISel` (#94134)
paperchalice Jun 2, 2024
de37c06
[Targets] Remove unused ID in *DAGToDAGISel (#94135)
paperchalice Jun 2, 2024
8917afa
Revert "[NewPM][CodeGen] Port selection dag isel to new pass manager"…
paperchalice Jun 2, 2024
c9a86fa
[DAG] canCreateUndefOrPoison - fix missing argument typo
RKSimon Jun 2, 2024
45964eb
[libc++] [test] Fix `__has_include` usage, expand condvarany and spac…
StephanTLavavej Jun 2, 2024
b6ea134
Fix pagination issue in libc++ buildbot restarter
EricWF Jun 2, 2024
197c3a3
Use llvm::less_first (NFC) (#94136)
kazutakahirata Jun 2, 2024
e044283
[memprof] Use GlobalValue::GUID instead of uint64_t (NFC) (#94086)
kazutakahirata Jun 2, 2024
df9167b
[libc++] [test] Cleanup compile-only tests (#94121)
StephanTLavavej Jun 2, 2024
c26a993
[clang][NFC] Update CWG issues list
Endilll Jun 2, 2024
d929351
[TableGen] Use llvm::unique (NFC) (#94163)
kazutakahirata Jun 2, 2024
5367b2c
[libc++] Don't give functions C linkage (#94102)
philnik777 Jun 2, 2024
80303cb
[clang-format] Handle attributes before lambda return arrow (#94119)
owenca Jun 2, 2024
f06f016
[clang-format][NFC] Add missing parens of __attribute in unit tests
owenca Jun 2, 2024
4ce6542
[memprof] Use const ref for IndexedRecord (#94114)
kazutakahirata Jun 2, 2024
ab08df2
[IR] Do not set `none` for function uwtable (#93387)
caojoshua Jun 2, 2024
2fbc9f2
[clang-format][doc] Clean up quotes, etc.
owenca Jun 2, 2024
d7d2d4f
[clang-format] Fix documentation build error
owenca Jun 3, 2024
f779ec7
[BPI] Cache LoopExitBlocks to improve compile time (#93451)
Enna1 Jun 3, 2024
34b4bcf
[RISCV] Codegen support for XCVmem extension
ChunyuLiao Dec 29, 2023
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
  •  
  •  
  •  
17 changes: 13 additions & 4 deletions .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ echo "Directories modified:" >&2
echo "$modified_dirs" >&2

function compute-projects-to-test() {
isForWindows=$1
shift
projects=${@}
for project in ${projects}; do
echo "${project}"
Expand All @@ -63,9 +65,13 @@ function compute-projects-to-test() {
done
;;
llvm)
for p in bolt clang clang-tools-extra flang lld lldb mlir polly; do
for p in bolt clang clang-tools-extra lld lldb mlir polly; do
echo $p
done
# Flang is not stable in Windows CI at the moment
if [[ $isForWindows == 0 ]]; then
echo flang
fi
;;
clang)
for p in clang-tools-extra compiler-rt lldb cross-project-tests; do
Expand All @@ -76,7 +82,10 @@ function compute-projects-to-test() {
echo libc
;;
mlir)
echo flang
# Flang is not stable in Windows CI at the moment
if [[ $isForWindows == 0 ]]; then
echo flang
fi
;;
*)
# Nothing to do
Expand Down Expand Up @@ -241,15 +250,15 @@ fi
all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
modified_projects="$(keep-modified-projects ${all_projects})"

linux_projects_to_test=$(exclude-linux $(compute-projects-to-test ${modified_projects}))
linux_projects_to_test=$(exclude-linux $(compute-projects-to-test 0 ${modified_projects}))
linux_check_targets=$(check-targets ${linux_projects_to_test} | sort | uniq)
linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq)

linux_runtimes_to_test=$(compute-runtimes-to-test ${linux_projects_to_test})
linux_runtime_check_targets=$(check-targets ${linux_runtimes_to_test} | sort | uniq)
linux_runtimes=$(echo ${linux_runtimes_to_test} | sort | uniq)

windows_projects_to_test=$(exclude-windows $(compute-projects-to-test ${modified_projects}))
windows_projects_to_test=$(exclude-windows $(compute-projects-to-test 1 ${modified_projects}))
windows_check_targets=$(check-targets ${windows_projects_to_test} | sort | uniq)
windows_projects=$(add-dependencies ${windows_projects_to_test} | sort | uniq)

Expand Down
6 changes: 5 additions & 1 deletion .ci/monolithic-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
# see https://github.com/llvm/llvm-project/pull/82393 and
# https://discourse.llvm.org/t/rfc-future-of-windows-pre-commit-ci/76840/40
# for further information.
# We limit the number of parallel compile jobs to 24 control memory
# consumption and improve build reliability.
cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
-D LLVM_ENABLE_PROJECTS="${projects}" \
-G Ninja \
Expand All @@ -58,7 +60,9 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
-D MLIR_ENABLE_BINDINGS_PYTHON=ON \
-D CMAKE_EXE_LINKER_FLAGS="/MANIFEST:NO" \
-D CMAKE_MODULE_LINKER_FLAGS="/MANIFEST:NO" \
-D CMAKE_SHARED_LINKER_FLAGS="/MANIFEST:NO"
-D CMAKE_SHARED_LINKER_FLAGS="/MANIFEST:NO" \
-D LLVM_PARALLEL_COMPILE_JOBS=16 \
-D LLVM_PARALLEL_LINK_JOBS=4

echo "--- ninja"
# Targets are not escaped as they are passed as separate arguments.
Expand Down
19 changes: 18 additions & 1 deletion .github/new-prs-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ llvm-lit:
- llvm/utils/lit/**/*

PGO:
- llvm/**/ProfileData/**/*
- llvm/**/SampleProfile*
- llvm/**/CodeGen/MIRSampleProfile*
- llvm/lib/Transforms/Instrumentation/CGProfile.cpp
- llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
- llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
Expand All @@ -62,9 +65,9 @@ PGO:
- llvm/lib/Transforms/Instrumentation/ValueProfile*
- llvm/test/Instrumentation/InstrProfiling/**/*
- llvm/test/Transforms/PGOProfile/**/*
- llvm/test/Transforms/SampleProfile/**/*
- llvm/**/llvm-profdata/**/*
- llvm/**/llvm-profgen/**/*
- llvm/unittests/ProfileData/**/*

vectorization:
- llvm/lib/Transforms/Vectorize/**/*
Expand Down Expand Up @@ -746,6 +749,8 @@ backend:ARM:
- clang/lib/CodeGen/Targets/ARM.cpp
- clang/include/clang/Basic/BuiltinsARM*
- llvm/test/MC/DisasemblerARM/**
- clang/include/clang/Sema/SemaARM.h
- clang/lib/Sema/SemaARM.cpp

backend:AArch64:
- llvm/include/llvm/IR/IntrinsicsAArch64.td
Expand All @@ -757,6 +762,8 @@ backend:AArch64:
- clang/lib/CodeGen/Targets/AArch64.cpp
- clang/include/clang/Basic/BuiltinsAArch64*
- llvm/test/MC/Disassembler/AArch64/**
- clang/include/clang/Sema/SemaARM.h
- clang/lib/Sema/SemaARM.cpp

backend:loongarch:
- llvm/include/llvm/IR/IntrinsicsLoongArch.td
Expand All @@ -767,6 +774,8 @@ backend:loongarch:
- clang/lib/Driver/ToolChains/Arch/LoongArch.*
- clang/lib/CodeGen/Targets/LoongArch.cpp
- clang/include/clang/Basic/BuiltinsLoongArch*
- clang/include/clang/Sema/SemaLoongArch.h
- clang/lib/Sema/SemaLoongArch.cpp

backend:MSP430:
- llvm/include/llvm/IR/IntrinsicsMSP430.td
Expand Down Expand Up @@ -814,6 +823,8 @@ backend:WebAssembly:
- llvm/unittests/Target/WebAssembly/**
- llvm/test/DebugInfo/WebAssembly/**
- llvm/test/MC/WebAssembly/**
- clang/include/clang/Sema/SemaWasm.h
- clang/lib/Sema/SemaLoongWasm.cpp

backend:X86:
- llvm/include/llvm/IR/IntrinsicsX86.td
Expand All @@ -833,6 +844,8 @@ backend:X86:
- llvm/include/llvm/TargetParser/X86*
- llvm/lib/TargetParser/X86*
- llvm/utils/TableGen/X86*
- clang/include/clang/Sema/SemaX86.h
- clang/lib/Sema/SemaX86.cpp

backend:PowerPC:
- llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC*
Expand All @@ -857,6 +870,8 @@ backend:PowerPC:
- clang/lib/Driver/ToolChains/AIX*
- clang/lib/Driver/ToolChains/Arch/PPC.*
- clang/test/CodeGen/PowerPC/**
- clang/include/clang/Sema/SemaPPC.h
- clang/lib/Sema/SemaPPC.cpp

backend:SystemZ:
- llvm/include/llvm/BinaryFormat/ELFRelocs/SystemZ*
Expand All @@ -877,6 +892,8 @@ backend:SystemZ:
- clang/lib/Driver/ToolChains/ZOS*
- clang/lib/Driver/ToolChains/Arch/SystemZ.*
- clang/test/CodeGen/SystemZ/**
- clang/include/clang/Sema/SemaSystemZ.h
- clang/lib/Sema/SemaSystemZ.cpp

third-party:unittests:
- third-party/unittests/**
Expand Down
134 changes: 134 additions & 0 deletions .github/workflows/restart-preempted-libcxx-jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
name: Restart Preempted Libc++ Workflow

# The libc++ builders run on preemptable VMs, which can be shutdown at any time.
# This workflow identifies when a workflow run was canceled due to the VM being preempted,
# and restarts the workflow run.

# We identify a canceled workflow run by checking the annotations of the check runs in the check suite,
# which should contain the message "The runner has received a shutdown signal."

# Note: If a job is both preempted and also contains a non-preemption failure, we do not restart the workflow.

on:
workflow_run:
workflows: [Build and Test libc\+\+]
types:
- completed

permissions:
contents: read

jobs:
restart:
if: github.repository_owner == 'llvm' && (github.event.workflow_run.conclusion == 'failure' || github.event.workflow_run.conclusion == 'cancelled')
name: "Restart Job"
permissions:
statuses: read
checks: write
actions: write
runs-on: ubuntu-latest
steps:
- name: "Restart Job"
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v7.0.1
with:
script: |
const failure_regex = /Process completed with exit code 1./
const preemption_regex = /The runner has received a shutdown signal/

const wf_run = context.payload.workflow_run
core.notice(`Running on "${wf_run.display_title}" by @${wf_run.actor.login} (event: ${wf_run.event})\nWorkflow run URL: ${wf_run.html_url}`)


async function create_check_run(conclusion, message) {
// Create a check run on the given workflow run to indicate if
// we are restarting the workflow or not.
if (conclusion != 'success' && conclusion != 'skipped' && conclusion != 'neutral') {
core.setFailed('Invalid conclusion: ' + conclusion)
}
await github.rest.checks.create({
owner: context.repo.owner,
repo: context.repo.repo,
name: 'Restart Preempted Job',
head_sha: wf_run.head_sha,
status: 'completed',
conclusion: conclusion,
output: {
title: 'Restarted Preempted Job',
summary: message
}
})
}

console.log('Listing check runs for suite')
const check_suites = await github.rest.checks.listForSuite({
owner: context.repo.owner,
repo: context.repo.repo,
check_suite_id: context.payload.workflow_run.check_suite_id,
per_page: 100 // FIXME: We don't have 100 check runs yet, but we should handle this better.
})

check_run_ids = [];
for (check_run of check_suites.data.check_runs) {
console.log('Checking check run: ' + check_run.id);
if (check_run.status != 'completed') {
console.log('Check run was not completed. Skipping.');
continue;
}
if (check_run.conclusion != 'failure' && check_run.conclusion != 'cancelled') {
console.log('Check run had conclusion: ' + check_run.conclusion + '. Skipping.');
continue;
}
check_run_ids.push(check_run.id);
}

has_preempted_job = false;

for (check_run_id of check_run_ids) {
console.log('Listing annotations for check run: ' + check_run_id);

annotations = await github.rest.checks.listAnnotations({
owner: context.repo.owner,
repo: context.repo.repo,
check_run_id: check_run_id
})

for (annotation of annotations.data) {
if (annotation.annotation_level != 'failure') {
continue;
}

const preemption_match = annotation.message.match(preemption_regex);

if (preemption_match != null) {
console.log('Found preemption message: ' + annotation.message);
has_preempted_job = true;
}

const failure_match = annotation.message.match(failure_regex);
if (failure_match != null) {
// We only want to restart the workflow if all of the failures were due to preemption.
// We don't want to restart the workflow if there were other failures.
core.notice('Choosing not to rerun workflow because we found a non-preemption failure' +
'Failure message: "' + annotation.message + '"');
await create_check_run('skipped', 'Choosing not to rerun workflow because we found a non-preemption failure\n'
+ 'Failure message: ' + annotation.message)
return;
}
}
}

if (!has_preempted_job) {
core.notice('No preempted jobs found. Not restarting workflow.');
await create_check_run('neutral', 'No preempted jobs found. Not restarting workflow.')
return;
}

core.notice("Restarted workflow: " + context.payload.workflow_run.id);
await github.rest.actions.reRunWorkflowFailedJobs({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.payload.workflow_run.id
})
await create_check_run('success', 'Restarted workflow run due to preempted job')


Loading