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

[AutoBump] Merge with 6a3982f8 (May 30) (56) #317

Merged
merged 231 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
a4bef0c
[libc++] Mark P2845R8 `__cpp_lib_format_path` and P2587R3 `__cpp_lib_…
StephanTLavavej May 28, 2024
51752ed
[mlir][nvgpu] verify the module
grypp May 28, 2024
266fac8
[libc++] [test] Fix MSVC warnings (#93257)
StephanTLavavej May 28, 2024
2ba0838
[libc++] [test] Fix portability issues for MSVC (#93259)
StephanTLavavej May 28, 2024
bc247ba
[memprof] Rename memprof-merge-v0.test to memprof-merge-versions.test…
kazutakahirata May 28, 2024
1c3a3f0
[LegalizeTypes] Use VP_AND and VP_SHL/VP_SRA to promote operands fo V…
topperc May 28, 2024
0e96eeb
[msan] Reland: Increase k num stack origin descrs (limited to non-Pow…
thurstond May 28, 2024
d9dec10
[ci] limit parallel windows compile jobs to 24 (#93329)
lnihlen May 28, 2024
c96860a
[clang-tidy] Optimize realpath in readability-identifier-naming (#92659)
PiotrZSL May 28, 2024
0aacef3
[clang-tidy][NFC] Update identifier-length.rst (#93467)
mattanelkaim May 28, 2024
c108c1e
[WebAssembly] Rename old EH tests to *-legacy (#93585)
aheejin May 28, 2024
9e89d10
[memprof] Add MemProf format Version 3 (#93608)
kazutakahirata May 28, 2024
193e900
[OpenACC][NFC] Fix begin loc and split it from the directive location
erichkeane May 28, 2024
5a23d31
[Sample Profile] Check hot callsite threshold when inlining a functio…
huangjd May 28, 2024
6a47315
[clang-repl] Even more tests create the Interpreter and must check ho…
weliveindetail May 28, 2024
98fa0f6
DAG: Handle vector splitting for fminnum_ieee/fmaxnum_ieee
arsenm May 28, 2024
bbca20f
[Clang][NFC] remove CHAR_PUNCT duplication introduced by #93216 (#93605)
cor3ntin May 28, 2024
df542e1
Fix build: [clang-repl] Even more tests create the Interpreter and mu…
weliveindetail May 28, 2024
ed4227a
[SCEV] Add tests for symbolic max BTC requiring predicates.
fhahn May 28, 2024
e3f74d4
[OpenACC] Correct serialization of certain clause sub-expressions
erichkeane May 28, 2024
060b302
[RISCV] Move TRUNCATE_VECTOR_VL combine into a helper function. NFC (…
topperc May 28, 2024
00bd2fa
[flang][cuda] Add bind c to cudadevice procedures (#92822)
clementval May 28, 2024
2d00c6f
[RISCV] Add a rematerializable pseudo instruction for LUI+ADDI for gl…
topperc May 28, 2024
765206e
[CodeGen] Hidden visibility for prof version var (#93496)
gulfemsavrun May 28, 2024
067b4cc
Upstream libc++ buildbot restarter. (#93582)
EricWF May 28, 2024
b9cdea6
Attempt to fix issue with plus sign in libc++ workflow name
EricWF May 28, 2024
6aeea70
[mlir][dataflow] Fix for integer range analysis propagation bug (#93199)
sabauma May 28, 2024
20d497c
[Driver] Remove unneeded *-linux-gnu after D158183
MaskRay May 28, 2024
760c2aa
[lld] Support thumb PLTs (#86223)
PiJoules May 28, 2024
f7c8a03
[RISCV] Combine vXi32 (mul (and (lshr X, 15), 0x10001), 0xffff) -> (b…
topperc May 28, 2024
0694552
[libc] clean up MutexLock (#93619)
SchrodingerZhu May 28, 2024
c179d50
[WebAssembly] Add exnref type (#93586)
aheejin May 28, 2024
4486fcb
[libc] Add proxy header for float.h. (#93504)
lntue May 28, 2024
39e5036
[SCEV] Add predicated version of getSymbolicMaxBackedgeTakenCount. (#…
fhahn May 28, 2024
722a5fc
[WebAssembly] Add -wasm-enable-exnref option (#93597)
aheejin May 28, 2024
60bce6e
[WebAssembly] Implement all f16x8 binary instructions. (#93360)
brendandahl May 28, 2024
0edc97f
[IR][AArch64][PAC] Add "ptrauth(...)" Constant to represent signed po…
ahmedbougacha May 28, 2024
6f529aa
[WebAssembly] Remove IIT_EXNREF
aheejin May 28, 2024
bd5cd4b
Fix trigger for libc++ job rerunner.
EricWF May 29, 2024
5bfe4b9
[mlir][arith] Disallow casting tensor dimensions (#93349)
kuhar May 29, 2024
1c108c8
Mark operator== const to avoid errors when asserts are enabled
Sterling-Augustine May 29, 2024
44d4b3b
[libc++][test] Close LWG3382 and add tests (#93039)
huixie90 May 29, 2024
d868f09
[libc++] LWG3223 Broken requirements for shared_ptr converting constr…
huixie90 May 29, 2024
2ae3f7c
[libc++][test] Close LWG3238 and add tests (#93043)
huixie90 May 29, 2024
0380044
Fix the EditLine unittest build on Darwin after PR 92865
jimingham May 29, 2024
d11922e
Remove unneeded debug logging
EricWF May 29, 2024
f0b57b6
[Coroutines] Remove one construction of DominatorTree (#93507)
ruiling May 29, 2024
e492aa5
Remove one more unneeded debug log line
EricWF May 29, 2024
f9672cb
[NFC][libc++] Mark LWG3951 as implemented (#93191)
yronglin May 29, 2024
6abc387
Revert "Fix the EditLine unittest build on Darwin after PR 92865"
jimingham May 29, 2024
04f01a2
[libc++] Make the __availability header a sub-header of __config (#93…
ldionne May 29, 2024
633ea41
[runtimes] Reintroduce a way to select the compiler used for the test…
ldionne May 29, 2024
bd135c3
[runtimes][CMake] Simplify the propagation of test dependencies (#93558)
ldionne May 29, 2024
7832769
Revert "[lld] Support thumb PLTs" (#93631)
joker-eph May 29, 2024
c250aeb
[AMDGPU] Fix typo in VIMAGE no sampler opcode usage (NFCI)
perlfu May 27, 2024
cbf6e93
[clang codegen] Delete unnecessary GEP cleanup code. (#90303)
efriedma-quic May 29, 2024
bb42511
[Clang][Sema] Use StructuralValues to model dependent NTTP arguments …
zyn0217 May 29, 2024
465bc5e
AArch64/ARM/PPC/X86: Add some atomic tests (#92933)
arsenm May 29, 2024
3613b26
Constant Fold logf128 calls (#90611)
MDevereau May 29, 2024
b0f10a1
[C++20] [Modules] Don't generate the defintition for non-const availa…
ChuanqiXu9 May 29, 2024
70d6b8a
MCAsmParser: Amend \+ expansion
MaskRay May 29, 2024
5162027
[RISCV] Add test for #93578. NFC
topperc May 29, 2024
4e0bd3f
[MachineLICM] Hoist copies of constant physical register (#93285)
wangpc-pp May 29, 2024
476a6d8
[NFC] Construct Twines before concatenation (#90728)
MagentaTreehouse May 29, 2024
7f58ffd
[mlir][python] Yield results of `scf.for_` (#93610)
grypp May 29, 2024
c2a9a97
[LICM] Introduce test for PR92655 (NFC)
antoniofrighetto May 18, 2024
70091dc
[LICM] Invalidate cached SCEV results in `hoistMulAddAssociation`
antoniofrighetto May 18, 2024
53d79fe
[lldb/DWARF] Bypass the compres^Wconstruction of DIERefs in debug_nam…
labath May 29, 2024
2cfea14
[lldb-dap] Add timestamps to protocol logs (#93540)
labath May 29, 2024
9871486
[InstCombine] Add multiuse tests for canonicalizing (icmp eq/ne (and …
goldsteinn Mar 22, 2024
5532ab1
[InstCombine] Make the `(icmp eq/ne (and X, Y), X)` canonicalization …
goldsteinn Sep 13, 2023
a9e8a3a
[X86][CodeGen] Extend X86CompressEVEX for NF transform
KanRobert May 29, 2024
76e1a53
[llvm][bazel] Fix llvm-config after 3613b2683107bd60fda6d9348623be068…
chsigg May 29, 2024
1c6746e
[VectorCombine] Add support for zext/sext/trunc to shuffleToIdentity …
davemgreen May 29, 2024
850f30c
[ARM][MVE] Don't allow tail-predication with else predicates
davemgreen May 29, 2024
5aba0de
[flang] lower assumed-rank variables specification expressions (#93477)
jeanPerier May 29, 2024
326f58d
[flang][HLFIR] lower hlfir.declare of assumed-ranks (#93468)
jeanPerier May 29, 2024
6957c00
[RuntimeDyld][ELF][AArch64] Fix resolveAArch64ShortBranch. (#92245)
al45tair May 29, 2024
4ad2f41
[Exegesis] Changing non-standard CHECK in tests to more compliant way…
AnastasiyaChernikova May 29, 2024
93d8d74
[VectorCombine] Remove requirement for Instructions in shuffleToIdent…
davemgreen May 29, 2024
fa649df
[clang][ExtractAPI] Flatten all enum cases from anonymous enums at to…
daniel-grumberg May 29, 2024
f6ace2b
[AArch64] Expand vector ops when NEON and SVE are unavailable. (#90833)
sdesmalen-arm May 29, 2024
a72a906
[Nomination] Add an extra Red Hat representative to the security grou…
tuliom May 29, 2024
0f7b4b0
[X86][Driver] Enable feature ccmp,nf for -mapxf
KanRobert May 29, 2024
f3fb7f5
[X86] x86-atomic-float.c - cleanup unused check prefixes
RKSimon May 29, 2024
4bb6974
[X86] x86-atomic-long_double.c - cleanup check prefixes
RKSimon May 29, 2024
9c42ed1
[X86] Add x86-atomic-double.c double test coverage
RKSimon May 29, 2024
f42de69
[X86] vector-shuffle-512-v16.ll - add fast shuffle test coverage
RKSimon May 29, 2024
74014b5
Fix typo in AMDGPUUsage. NFC (#93652)
SixWeining May 29, 2024
dc8da7d
[AMDGPU] Reserved private memory register during PEI (#93536)
PankajDwivedi-25 May 29, 2024
1594ceb
[mlir][EmitC] Fix evaluation order of expressions (#93549)
simon-camp May 29, 2024
5553f27
[AMDGPU][test] Fix the wrong triples in lower-work-group-id-intrinsic…
SixWeining May 29, 2024
78cc9cb
[AArch64][SME] Add intrinsics for multi-vector BFCLAMP (#93532)
Lukacma May 29, 2024
e1aa8ad
[flang][OpenMP] Fix bug in emitting `dealloc` logic (#93641)
ergawy May 29, 2024
5c214eb
[Inline] Clone return range attribute on the callsite into inlined ca…
andjo403 May 29, 2024
971f1aa
[lldb][Test][Windows] Fix flaky address range API tests
DavidSpickett May 29, 2024
3bcccb6
[Reassociate] Drop weight reduction to fix issue 91417 (#91469)
dtcxzyw May 29, 2024
718ba5a
Reapply [InstCombine] lshr (mul (X, 2^N + 1)), N -> add (X, lshr(X, N…
AreaZR May 26, 2024
6543453
[AArch64][NFC] Pre-commit test update for Select TBL/TBX instructions…
chuongg3 May 29, 2024
aef0bdd
DAG: Preserve flags when expanding fminimum/fmaximum (#93550)
arsenm May 29, 2024
9e8ecce
[DAGCombine] Transform `shl X, cttz(Y)` to `mul (Y & -Y), X` if cttz …
dtcxzyw May 29, 2024
23a09b9
[lldb][Test] Remove some xfails for AArch64 Linux
DavidSpickett May 29, 2024
e93799f
[SME] Add intrinsics for FCVT(wid.) and FCVTL (#93202)
Lukacma May 29, 2024
1e44a96
[AArch64][SME] Add intrinsics for vector groups ZERO (#93201)
Lukacma May 29, 2024
7fa45af
[SPIR-V] Ensure that internal intrinsic functions are inserted at the…
VyacheslavLevytskyy May 29, 2024
f63adf3
[SPIR-V] Introduce support of llvm.ptr.annotation to SPIR-V Backend a…
VyacheslavLevytskyy May 29, 2024
7c917e8
[SPIR-V] Implement correct zeroinitializer for extension types in SPI…
VyacheslavLevytskyy May 29, 2024
42a0fb2
[mlir][linalg] Add linalg.conv_2d_ngchw_gfchw_q to named ops (#92136)
zjgarvey May 29, 2024
a860e89
[RISCV] Don't recompute getDemanded in RISCVInsertVSETVLI::needVSETVL…
lukel97 May 29, 2024
7ee5112
[gn build] Port 04f01a2b9ced
nico May 29, 2024
9c4bae7
[X86][CodeGen] Disable NDD2NonNDD compression for CFCMOV
KanRobert May 29, 2024
35f2caf
[AArch64][GlobalISel] Select TBL/TBX Intrinsics (#92914)
chuongg3 May 29, 2024
8e12904
[lldb/DWARF] Refactor DWARFDIE::Get{Decl,TypeLookup}Context (#93291)
labath May 29, 2024
3ce9b86
[AArch64][NFC] Pre-commit Test for Combine MUL(AND(LSHR)) to CMLTz (#…
chuongg3 May 29, 2024
3082258
[CodeGen][X86] Use TargetLowering for TypeInfo of PointerTy (#93469)
jplehr May 29, 2024
103f6a7
Reland "[gn] port 088aa81a5454 (LLVM_HAS_LOGF128)""
nico May 29, 2024
9a28272
[Reassociate] Update test after recent change
nikic May 29, 2024
23366d4
[AArch64][GlobalISel] Combine MUL(AND(LSHR(X, 15), 0x10001), 0xffff)…
chuongg3 May 29, 2024
4ffe263
[InstSimplify] Generate test checks (NFC)
nikic May 29, 2024
a49b5ca
[InferAddressSpaces] Generate test checks (NFC)
nikic May 29, 2024
9377412
[clang][OpenMP] Remove unused include of UniqueVector.h, NFC
kparzysz May 29, 2024
1ea8cae
[AArch64] Add patterns for conversions using fixed-point scvtf (#92922)
momchil-velikov May 29, 2024
0dfd2bf
[LTT] Directly create inbounds gep (NFCI)
nikic May 29, 2024
180448b
[AMDGPU] Reduce use of continue in SIWholeQuadMode. NFC. (#93659)
jayfoad May 29, 2024
24ddce6
[GISel] Legalize bitreverse with types smaller than 8 bits (#92998)
dtcxzyw May 29, 2024
fba84ec
[WPD] Directly create geteleementptr inbounds (NFCI)
nikic May 29, 2024
886d316
[AArch64][NFC] Pre-commit test for Push ADD/SUB through {S|Z}EXT (#90…
chuongg3 May 29, 2024
753ac47
[RISCV][test] Add missing check-prefix to a test (NFC) (#93683)
s-barannikov May 29, 2024
df9701b
[OpenMP] Fix multiply installing `libomp.so` (#93685)
jhuber6 May 29, 2024
7af5b68
[DFSan] Directly create gep inbounds for arg origin tls (NFCI)
nikic May 29, 2024
fbe98da
[AMDGPU] Fix filecheck annotation typos
jayfoad May 29, 2024
e8e5ba0
[AArch64][TargetParser] Move ExtensionDependencies into tablegen [NFC…
labrinea May 29, 2024
e20f0fe
[WasmEHPrepare] Explicitly create inbounds GEP (NFCI)
nikic May 29, 2024
14dc97d
[AArch64][GlobalISel] Push ADD/SUB through Extend Instructions (#90964)
chuongg3 May 29, 2024
0981dca
[mlir][arith] Add neutral element support to arith.maxnumf/arith.minn…
cxy-1993 May 29, 2024
799316f
[lldb][NFC] Pass Stream& to ToXML methods in RegisterFlags
DavidSpickett May 29, 2024
975477e
[CGBuiltin] Explicitly use inbounds GEP (NFCI)
nikic May 29, 2024
6127f15
[PowerPC] option `-msoft-float` should not block the PC-relative addr…
diggerlin May 29, 2024
cd5045a
[ValueTypes] Use bit instead of int for boolean fields in ValueTypes.…
topperc May 29, 2024
b15a0a3
[clang] Add tanf16 builtin and support for tan constrained intrinsic …
farzonl May 29, 2024
fe82a3d
Revert "[Support] Remove terminfo dependency (#92865)"
Michael137 May 29, 2024
1de6011
[ValueTypes] Remove hardcoded 224 from VTEmitter.cpp. NFC
topperc May 29, 2024
6d90ac1
[GlobalIsel] Combine freeze (#93239)
tschuett May 29, 2024
c9c2444
[mlir][spirv] Add integration test for `vector.interleave` and `vecto…
angelz913 May 29, 2024
cfb209b
[lldb][lldb-dap] Cleanup breakpoint filters. (#87550)
oontvoo May 29, 2024
2ceec68
[ValueTypes] Rename FlagVT to Glue in ValueTypes.td. NFC
topperc May 29, 2024
949ef57
AMDGPU/NFC: Reserve 0x058 EF_AMDGPU_MACHs (#93696)
kzhuravl May 29, 2024
4e251e7
Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" war…
RKSimon May 29, 2024
2665b2a
[X86] Pull out combineConstantPoolLoads helper from combineLoad. NFC.
RKSimon May 29, 2024
737a301
[nfc][InstrFDO] Add Header::getIndexedProfileVersion and use it to de…
minglotus-6 May 29, 2024
8c5a7a1
[clangd] Add config option to allow detection of unused angled includ…
vvd170501 May 29, 2024
2655897
[nfc][lldb] Move FastSearch from CommandObjectMemoryFind to Process (…
mbucko May 29, 2024
9595eb1
[libc++][test] Close LWG3018 and add tests (#93047)
huixie90 May 29, 2024
c546578
[nfc][InstrProfWriter]Store header fields in a vector and back patch …
minglotus-6 May 29, 2024
1f67f34
[MTE] add stack frame history buffer
fmayer Mar 21, 2024
3313f28
Revert "[MTE] add stack frame history buffer"
fmayer May 29, 2024
1a2f330
[clang] Improve ast-dumper text printing of TemplateArgument (#93431)
mizvekov May 29, 2024
d2f7a38
[X86] Fix a warning
kazutakahirata May 29, 2024
dcbd1fb
[TEST][Darwin] Change x86_64h UNSUPPORTED lit feature used in san cov…
thetruestblue May 29, 2024
9fe7aef
[CodeGen] Don't check attrs for stack realign (#92564)
aengelke May 29, 2024
472184d
[bazel] Port #93595 (#93716)
keith May 29, 2024
8aceb7a
[ValueTypes] Remove MVT::MAX_ALLOWED_VALUETYPE. NFC (#93654)
topperc May 29, 2024
b3bbb2d
[RISCV] Verify the VL and Mask on the outer TRUNCATE_VECTOR_VL in com…
topperc May 29, 2024
99b9ab4
[memprof] Reorder MemProf sections in profile (#93640)
kazutakahirata May 29, 2024
7348bb2
Revert "[clang] Add tanf16 builtin and support for tan constrained in…
farzonl May 29, 2024
1cff741
[RISCV] Merge RISCVCoalesceVSETVLI back into RISCVInsertVSETVLI (#92869)
lukel97 May 29, 2024
ec8fe59
[RISCV] Move vnclipu patterns into DAGCombiner. (#93596)
topperc May 29, 2024
9c4a716
[clang] Preserve Qualifiers and type sugar in TemplateNames (#93433)
mizvekov May 29, 2024
f68fdb8
DAG: Fix losing flags on select when expanding select_cc (#93662)
arsenm May 29, 2024
4e67f45
Reapply "[MTE] add stack frame history buffer"
fmayer May 29, 2024
428b9be
[mlir] Align num elements type to LLVM ArrayType (#93230)
clementval May 29, 2024
4b4d366
[RISCV] Store only VNInfo val no in VSETVLIInfo. NFC
lukel97 May 29, 2024
3255752
[Github]Update PGO with more filepaths (#93720)
minglotus-6 May 29, 2024
3fcf363
[RISCV] Make some static functions in RISCVInsertVSETVLI methods. NFC
lukel97 May 29, 2024
87e8ce3
[llvm] Re-use original global name in RelLookupTableConverter (#93626)
PiJoules May 29, 2024
025394f
Reapply "[lld] Support thumb PLTs" (#93631) (#93644)
PiJoules May 29, 2024
5bec47c
Revert "[mlir][spirv] Add integration test for `vector.interleave` an…
joker-eph May 29, 2024
0d37e5c
[RISCV] Remove redundant TSFlags parameter in RISCVInsertVSETVLI. NFC
lukel97 May 29, 2024
b98bce5
[nfc] clang-format llvm/Bitcode/BitcodeWriter.h
mtrofin May 29, 2024
b74f50a
[LAA] Store reference to SymbolicStrides in MemoryDepChecker (NFC).
fhahn May 29, 2024
6595e7f
Revert "[lldb][lldb-dap] Cleanup breakpoint filters." (#93739)
gulfemsavrun May 29, 2024
495bc3c
[DirectX][DXIL] Design document for TableGen Spec of DXIL Operations …
bharadwajy May 29, 2024
bfabc95
[DebugInfo] Add flag to only emit referenced member functions (#87018)
dwblaikie May 29, 2024
1880a7b
[LAA] Move getDependenceDistanceStrideAndSize to MemoryDepChecker (NFC).
fhahn May 29, 2024
c6c08ee
[lldb] Remove setupterm workaround on macOS (#93714)
JDevlieghere May 29, 2024
058d429
[Analysis] Fix a build error regarding std::variant
kazutakahirata May 29, 2024
34b14cc
[lld][ELF] Suppress `--orphan-handling=error/warn` without `SECTIONS`…
igorkudrin May 29, 2024
3bdc90e
[ELF] adjustOutputSections: update sortRank. NFC
MaskRay May 29, 2024
aeccfee
Add option to generate additional debug info for expression dereferen…
huangjd May 29, 2024
c3e6bd0
[NFC] [MTE] remove unused functions from test
fmayer May 29, 2024
e4b424a
[CI] Disable Flang from pre-commit tests when Flang files are not tou…
joker-eph May 29, 2024
66b9785
[NFC] [MTE] make test more robust by not hardcoding %1
fmayer May 29, 2024
8912920
[NFC] Move DIExpressionCursor to DebugInfoMetadata.h (#69768)
rastogishubham May 29, 2024
a3f9066
Add functions peekNextN(unsigned) and assignNewExpr(ArrayRef<uint64_t…
rastogishubham May 29, 2024
11d7203
[X86][GlobalISel] Enable G_BUILD_VECTOR and G_CONSTANT_POOL (#92844)
e-kud May 29, 2024
6e7b45c
[AMDGPU][MC] Support tfe operand in image_atomic instructions (#92469)
jwanggit86 May 29, 2024
e06e680
[RISCV] Replace duplicate trunc-sat-clip tests with more interesting …
topperc May 29, 2024
b12f81b
Introduce DIExpression::foldConstantMath() (#71718)
rastogishubham May 29, 2024
fb607c9
[MTE] add tests for stack tagging debug info (#93743)
fmayer May 29, 2024
69969c7
Use DIExpression::foldConstantMath() at the result of an append() (#7…
rastogishubham May 29, 2024
f4681be
Use DIExpression::foldConstantMath at the result of a Salvaged expres…
rastogishubham May 29, 2024
424f82c
[RISCV] Refactor combineTruncToVnclipu to prepare for adding signed v…
topperc May 29, 2024
ea1ecb5
Fix test - remove unnecessary/incorrect `-S`, in favor of `-emit-llvm`
dwblaikie May 29, 2024
2e0cfe6
[ELF] Simplify getSectionRank
MaskRay May 29, 2024
8a8cd8a
[RISCV] Move vnclip patterns into DAGCombiner. (#93728)
topperc May 29, 2024
c0873fa
[RISCV] Add trunc-sat-clip tests for i32->i8, i64->i8, and i64->i16. NFC
topperc May 29, 2024
3cee567
[gn build] Port b12f81b53ad6
llvmgnsyncbot May 29, 2024
246234a
[asan][windows] Eliminate the static asan runtime on windows (#81677)
barcharcraz May 30, 2024
ce2927a
[clang] fix printing of canonical template template parameters take 2…
mizvekov May 30, 2024
10436ae
Revert "[asan][windows] Eliminate the static asan runtime on windows …
barcharcraz May 30, 2024
f32ebab
[NVPTX] Improve folding to mad with immediate 1 (#93628)
AlexMaclean May 30, 2024
2b1d1c5
[NFC] Fix PPC buildbot failure https://lab.llvm.org/buildbot/#/builde…
chenzheng1030 May 30, 2024
30c10fd
Revert "[ELF] Simplify getSectionRank"
joker-eph May 30, 2024
96d2dc7
[SCEVAA] Enhance SCEVAAResult::alias() to handle two pointers with di…
csstormq May 30, 2024
8c33b33
[PGO] Add a unit test for the PGOInstrumentationGen pass (#93636)
samolisov May 30, 2024
f639b57
[ELF] Simplify getSectionRank
MaskRay May 30, 2024
d38d0a0
Revert "[ELF] Simplify getSectionRank"
joker-eph May 30, 2024
815250b
[compiler-rt] Don't rely on automatic codesigning with Apple's linker…
bdash May 30, 2024
1794046
[VPlan] Move verifier to class to reduce need to pass via args. (NFC)
fhahn May 30, 2024
3db1f31
[clang-format] Fix a regression in annotating class decl braces (#93657)
owenca May 30, 2024
32f1f5e
[PGO] Add tests for modules with only globals and function declaratio…
samolisov May 30, 2024
02c6845
Revert "[DebugInfo] Add flag to only emit referenced member functions…
joker-eph May 30, 2024
8890209
[HLSL] Default and Relaxed Availability Diagnostics (#92704)
hekota May 30, 2024
7d4a45d
Revert "Add option to generate additional debug info for expression d…
joker-eph May 30, 2024
89801c7
[MLIR][Python] add ctype python binding support for bf16 (#92489)
xurui1995 May 30, 2024
49ef21d
Remove debug print from CI generation script (NFC)
joker-eph May 30, 2024
e6821dd
Revert "[MLIR][Python] add ctype python binding support for bf16" (#9…
joker-eph May 30, 2024
3e023d8
[lldb] Remove DWARFDebugInfo DIERef footguns (#92894)
labath May 30, 2024
498da62
[NFC] [clang] add tests for merging of UsingShadowDecl
mizvekov Feb 1, 2024
6a3982f
[MLIR][LLVM] Relax the LLVM dialect's inliner assuming UCF (#93514)
Dinistro May 30, 2024
72366b7
[AutoBump] Merge with 6a3982f8 (May 30)
mgehre-amd Aug 28, 2024
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
5 changes: 4 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
105 changes: 105 additions & 0 deletions .github/workflows/restart-preempted-libcxx-jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
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: read
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/

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
})

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.
console.log('Choosing not to rerun workflow because we found a non-preemption failure');
console.log('Failure message: ' + annotation.message);
return;
}
}
}

if (!has_preempted_job) {
console.log('No preempted jobs found. Not restarting workflow.');
return;
}

console.log("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
})


12 changes: 10 additions & 2 deletions clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1414,13 +1414,21 @@ IdentifierNamingCheck::getDiagInfo(const NamingCheckId &ID,
}};
}

StringRef IdentifierNamingCheck::getRealFileName(StringRef FileName) const {
auto Iter = RealFileNameCache.try_emplace(FileName);
SmallString<256U> &RealFileName = Iter.first->getValue();
if (!Iter.second)
return RealFileName;
llvm::sys::fs::real_path(FileName, RealFileName);
return RealFileName;
}

const IdentifierNamingCheck::FileStyle &
IdentifierNamingCheck::getStyleForFile(StringRef FileName) const {
if (!GetConfigPerFile)
return *MainFileStyle;

SmallString<128> RealFileName;
llvm::sys::fs::real_path(FileName, RealFileName);
StringRef RealFileName = getRealFileName(FileName);
StringRef Parent = llvm::sys::path::parent_path(RealFileName);
auto Iter = NamingStylesCache.find(Parent);
if (Iter != NamingStylesCache.end())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ class IdentifierNamingCheck final : public RenamerClangTidyCheck {
const NamingCheckFailure &Failure) const override;

const FileStyle &getStyleForFile(StringRef FileName) const;
StringRef getRealFileName(StringRef FileName) const;

/// Find the style kind of a field in an anonymous record.
StyleKind findStyleKindForAnonField(
Expand All @@ -222,6 +223,7 @@ class IdentifierNamingCheck final : public RenamerClangTidyCheck {
/// Stores the style options as a vector, indexed by the specified \ref
/// StyleKind, for a given directory.
mutable llvm::StringMap<FileStyle> NamingStylesCache;
mutable llvm::StringMap<SmallString<256U>> RealFileNameCache;
FileStyle *MainFileStyle;
ClangTidyContext *Context;
const bool GetConfigPerFile;
Expand Down
5 changes: 3 additions & 2 deletions clang-tools-extra/clangd/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,11 @@ struct Config {
IncludesPolicy UnusedIncludes = IncludesPolicy::Strict;
IncludesPolicy MissingIncludes = IncludesPolicy::None;

/// IncludeCleaner will not diagnose usages of these headers matched by
/// these regexes.
struct {
/// IncludeCleaner will not diagnose usages of these headers matched by
/// these regexes.
std::vector<std::function<bool(llvm::StringRef)>> IgnoreHeader;
bool AnalyzeAngledIncludes = false;
} Includes;
} Diagnostics;

Expand Down
60 changes: 37 additions & 23 deletions clang-tools-extra/clangd/ConfigCompile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -572,32 +572,46 @@ struct FragmentCompiler {
#else
static llvm::Regex::RegexFlags Flags = llvm::Regex::NoFlags;
#endif
auto Filters = std::make_shared<std::vector<llvm::Regex>>();
for (auto &HeaderPattern : F.IgnoreHeader) {
// Anchor on the right.
std::string AnchoredPattern = "(" + *HeaderPattern + ")$";
llvm::Regex CompiledRegex(AnchoredPattern, Flags);
std::string RegexError;
if (!CompiledRegex.isValid(RegexError)) {
diag(Warning,
llvm::formatv("Invalid regular expression '{0}': {1}",
*HeaderPattern, RegexError)
.str(),
HeaderPattern.Range);
continue;
std::shared_ptr<std::vector<llvm::Regex>> Filters;
if (!F.IgnoreHeader.empty()) {
Filters = std::make_shared<std::vector<llvm::Regex>>();
for (auto &HeaderPattern : F.IgnoreHeader) {
// Anchor on the right.
std::string AnchoredPattern = "(" + *HeaderPattern + ")$";
llvm::Regex CompiledRegex(AnchoredPattern, Flags);
std::string RegexError;
if (!CompiledRegex.isValid(RegexError)) {
diag(Warning,
llvm::formatv("Invalid regular expression '{0}': {1}",
*HeaderPattern, RegexError)
.str(),
HeaderPattern.Range);
continue;
}
Filters->push_back(std::move(CompiledRegex));
}
Filters->push_back(std::move(CompiledRegex));
}
if (Filters->empty())
// Optional to override the resulting AnalyzeAngledIncludes
// only if it's explicitly set in the current fragment.
// Otherwise it's inherited from parent fragment.
std::optional<bool> AnalyzeAngledIncludes;
if (F.AnalyzeAngledIncludes.has_value())
AnalyzeAngledIncludes = **F.AnalyzeAngledIncludes;
if (!Filters && !AnalyzeAngledIncludes.has_value())
return;
auto Filter = [Filters](llvm::StringRef Path) {
for (auto &Regex : *Filters)
if (Regex.match(Path))
return true;
return false;
};
Out.Apply.push_back([Filter](const Params &, Config &C) {
C.Diagnostics.Includes.IgnoreHeader.emplace_back(Filter);
Out.Apply.push_back([Filters = std::move(Filters),
AnalyzeAngledIncludes](const Params &, Config &C) {
if (Filters) {
auto Filter = [Filters](llvm::StringRef Path) {
for (auto &Regex : *Filters)
if (Regex.match(Path))
return true;
return false;
};
C.Diagnostics.Includes.IgnoreHeader.emplace_back(std::move(Filter));
}
if (AnalyzeAngledIncludes.has_value())
C.Diagnostics.Includes.AnalyzeAngledIncludes = *AnalyzeAngledIncludes;
});
}

Expand Down
4 changes: 4 additions & 0 deletions clang-tools-extra/clangd/ConfigFragment.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ struct Fragment {
/// unused or missing. These can match any suffix of the header file in
/// question.
std::vector<Located<std::string>> IgnoreHeader;

/// If false (default), unused system headers will be ignored.
/// Standard library headers are analyzed regardless of this option.
std::optional<Located<bool>> AnalyzeAngledIncludes;
};
IncludesBlock Includes;

Expand Down
4 changes: 4 additions & 0 deletions clang-tools-extra/clangd/ConfigYAML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ class Parser {
if (auto Values = scalarValues(N))
F.IgnoreHeader = std::move(*Values);
});
Dict.handle("AnalyzeAngledIncludes", [&](Node &N) {
if (auto Value = boolValue(N, "AnalyzeAngledIncludes"))
F.AnalyzeAngledIncludes = *Value;
});
Dict.parse(N);
}

Expand Down
Loading