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 357c1970 (Sep 30) (3) #439

Merged
merged 474 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
474 commits
Select commit Hold shift + click to select a range
cc6c059
[ELF] Pass Ctx & to Writer
MaskRay Sep 29, 2024
079b832
[ELF] Pass Ctx & to InputFiles and SyntheticSections
MaskRay Sep 29, 2024
c490d34
[ELF] Pass Ctx & to Relocations
MaskRay Sep 29, 2024
129ade2
[mlir][sparse] Replace `getSparseTensorType` with `tryGetSparseTensor…
CoTinker Sep 30, 2024
dbad963
[SPARC] Align i128 to 16 bytes in SPARC datalayouts (#106951)
koachan Sep 30, 2024
1efd122
[InstCombine] Fold `icmp eq/ne (X *nw Z), (Y *nw Z) -> icmp eq/ne Z, …
dtcxzyw Sep 30, 2024
64f2bff
[ReachingDefAnalysis] Turn MBBReachingDefsInfo into a proper class (N…
kazutakahirata Sep 30, 2024
4ef77d6
[include-cleaner] Attach Header to AnalysisResults for misisng header…
kadircet Sep 30, 2024
6292f11
[ORC-RT] Rename sections_tracker.h to record_section_tracker.h.
lhames Sep 30, 2024
e20bf28
[HLSL] Replace `element_type*` handles in HLSLExternalSemaSource with…
hekota Sep 30, 2024
6f3c151
[SPIR-V] Fix of OpString separator in DI test (#110249)
bwlodarcz Sep 30, 2024
0bc9834
[LICM] Use DomTreeUpdater version of SplitBlockPredecessors, nfc (#10…
caojoshua Sep 30, 2024
af47038
[clangd] [C++20] [Modules] Support code complete for C++20 modules (#…
ChuanqiXu9 Sep 30, 2024
a87640c
AMDGPU: Fix assertion on load of vector of pointers (#110436)
arsenm Sep 30, 2024
0d384fe
[clang][analyzer] Move 'alpha.core.PointerSub' checker into 'security…
balazske Sep 30, 2024
147558e
[clang][ItaniumMangle] Mangle friend function templates with a constr…
VitaNuo Sep 30, 2024
f8373cb
[LV] Reuse VPReplicateRecipe to handle scalar stores in exit block. (…
Mel-Chen Sep 30, 2024
f5c02dd
[MemCpyOpt] Use EarliestEscapeInfo (#110280)
nikic Sep 30, 2024
a548ede
[AArch64][SME]Check streaming mode when using SME2 instruction in fra…
CarolineConcatto Sep 30, 2024
dd2792a
[bazel] Fix build past 6292f117c39b9fc72da4e40328eeeda2aa94a5f2 (#110…
dklimkin Sep 30, 2024
f445e39
[SimplifyCFG] Use isWritableObject() API (#110127)
nikic Sep 30, 2024
f627c45
Fix test for PR#109680
CarolineConcatto Sep 30, 2024
e9d12a6
AMDGPU: Add test for 16 bit unsigned scratch offsets (#110255)
petar-avramovic Sep 30, 2024
93eaa99
[abi] [ItaniumMangle] Remove a test case that fails due to expected r…
VitaNuo Sep 30, 2024
83fe851
AMDGPU: Fix inst-selection of large scratch offsets with sgpr base (#…
petar-avramovic Sep 30, 2024
8e0daab
AMDGPU: Make a frame index test more realistic
arsenm Sep 30, 2024
b8c974f
[MLIR][TilingInterface] Extend consumer fusion for multi-use of produ…
Abhishek-Varma Sep 30, 2024
6f956e3
[AMDGPU] Rename LocalMemorySize features to AddressableLocalMemorySiz…
jayfoad Sep 30, 2024
d556e38
[flang][debug] Support derived type components with box types. (#109424)
abidh Sep 30, 2024
5883ad3
DAG: Handle vector legalization of minimumnum/maximumnum (#109779)
arsenm Sep 30, 2024
81ba95c
FastISel: Fix incorrectly using getPointerTy (#110465)
arsenm Sep 30, 2024
9f3728d
[libclc] Fix installation w/ ENABLE_RUNTIME_SUBNORMAL (#109926)
frasercrmck Sep 30, 2024
dc6e480
[clang][bytecode] Cast fixed-point cmp result to int if necessary (#1…
tbaederr Sep 30, 2024
79382eb
[clang][bytecode] Remove superfluous check from fixed-point div (#110…
tbaederr Sep 30, 2024
3c85102
[clang][bytecode] Handle DiscardResult for fixed-point literals (#110…
tbaederr Sep 30, 2024
c897c13
[AMDGPU] Convert AMDGPUResourceUsageAnalysis pass from Module to MF p…
JanekvO Sep 30, 2024
8f50dbd
[gn build] Port c897c13dde3b
llvmgnsyncbot Sep 30, 2024
82e594a
[AMDGPU] Remove unused lambda capture in AMDGPUMCResourceInfo.cpp (NFC)
DamonFool Sep 30, 2024
bdd3559
[X86] pmulh.ll - add extra test coverage from #109790
RKSimon Sep 30, 2024
412d59f
[DAG] combineShiftToMULH - handle zext nneg as sext
RKSimon Sep 30, 2024
587eaef
[sanitizer_common] Handle ptrace on Linux/sparc64 (#109310)
rorth Sep 30, 2024
c0e97c4
[Clang][LLVM][AArch64] Add intrinsic for LUTI4 SME2 instruction (#977…
CarolineConcatto Sep 30, 2024
735a5f6
[AMDGPU] When allocating VGPRs, VGPR spills are not part of the prolo…
jayfoad Sep 30, 2024
8e6bba2
[libc++][NFC] Rename fold.h to ranges_fold.h (#109696)
ldionne Sep 27, 2024
18df9d2
[libc++] Add an ABI setting to harden unique_ptr<T[]>::operator[] (#9…
ldionne Sep 27, 2024
3d9cf8b
[clangd] Improve filtering logic for undesired proto symbols (#110091)
kadircet Sep 30, 2024
7061d38
[gn build] Port 18df9d23ea39
llvmgnsyncbot Sep 30, 2024
5df7d88
[gn build] Port 8e6bba230e1c
llvmgnsyncbot Sep 30, 2024
282fc93
[clang-tidy][NFC] optimize unused using decls performance (#110200)
HerrCai0907 Sep 30, 2024
ec08c11
[mlir][doc][SPIR-V] Add missing `>` (#110464)
trdthg Sep 30, 2024
054eadc
[flang] Implement GETUID and GETGID intrinsics (#108017)
DavidTruby Sep 30, 2024
bfa8519
[LLVM][TableGen] Change GlobalISelEmitter to use const RecordKeeper (…
jurahul Sep 30, 2024
619688f
[IR] Avoid repeated hash lookups (NFC) (#110450)
kazutakahirata Sep 30, 2024
47b2230
[ExecutionEngine] Avoid repeated hash lookups (NFC) (#110451)
kazutakahirata Sep 30, 2024
db9e1fb
[MachineLICM] Avoid repeated hash lookups (NFC) (#110452)
kazutakahirata Sep 30, 2024
be6a5dc
[Analysis] Avoid repeated hash lookups (NFC) (#110453)
kazutakahirata Sep 30, 2024
0617629
[SLP][REVEC] Fix cost model for getBuildVectorCost with FixedVectorTy…
HanKuanChen Sep 30, 2024
bfde178
[mlir] Update the return type of `getNum{Dynamic|Scalable}Dims` (#110…
banach-space Sep 30, 2024
ac0f64f
[AMDGPU] Split vgpr regalloc pipeline (#93526)
cdevadas Sep 30, 2024
9f6cd56
[HLSL] Use HLSLToolChain for Vulkan (#110306)
s-perron Sep 30, 2024
38450df
[gn build] Port ac0f64f06d67
llvmgnsyncbot Sep 30, 2024
1b7b3b8
[NFC] Move intrinsic related functions to Intrinsic namespace (#110125)
jurahul Sep 30, 2024
1e0d3c6
LV: reuse getSmallBestKnownTC in a TC estimation (NFC) (#105834)
artagnon Sep 30, 2024
7eea55f
LoopLoadElim: re-org tests after invalid #96656 (#97598)
artagnon Sep 30, 2024
f2ad39b
LV/test: improve a couple of tests, regen with UTC (#107225)
artagnon Sep 30, 2024
9177e81
X86: Fix asserting on bfloat argument/return without sse2 (#93146)
arsenm Sep 30, 2024
93af9d6
[clang][x86] Add constexpr support for LZCNT/TZCNT intrinsics (#110499)
RKSimon Sep 30, 2024
f9fbfc5
[SystemZ] Dump function signature on missing arg extension. (#109699)
JonPsson1 Sep 30, 2024
4ae0c50
[clang] Fix static analyzer concerns (#110243)
Fznamznon Sep 30, 2024
20f4ade
[MLIR][OpenMP] Move loop wrapper verification to the interface (NFC) …
skatrak Sep 30, 2024
01135de
[llvm-profdata] Fix typo in usage (#110434)
cerisier Sep 30, 2024
f256222
[clang][x86] Add constexpr support for BZHI intrinsics (#110508)
RKSimon Sep 30, 2024
9d4ddf3
[rtsan] Update docs to include run-time flags (#110296)
cjappl Sep 30, 2024
f3ebf22
[MLIR] Fix: `cast` were meant to be `dyn_cast`. (#110518)
bjacob Sep 30, 2024
fb6feb8
[ADT] Restore handwritten vector find in SmallSet (#110254)
vhscampos Sep 30, 2024
2121b96
[libc++abi][libunwind] Run c++abi and unwind tests against a fake ins…
ldionne Sep 30, 2024
b086f75
Fix an integer trunctation issues for the DW_AT_frame_base DWARF loca…
clayborg Sep 30, 2024
df691ca
[SystemZ] Fix a warning
kazutakahirata Sep 30, 2024
8815328
[clang][x86] Add constexpr support for all remaining TBM intrinsics (…
RKSimon Sep 30, 2024
7a0a794
Revert "[flang] Implement GETUID and GETGID intrinsics" (#110531)
DavidTruby Sep 30, 2024
5d19d55
[SimplifyCFG] Better aligned a comment. (#109307)
scampanoni Sep 30, 2024
39e254e
[flang][cuda] Convert cuf.alloc and cuf.free for scalar and arrays (#…
clementval Sep 30, 2024
511439b
[clang][x86] Make sure we undef __DEFAULT_FN_ATTRS_CONSTEXPR attribut…
RKSimon Sep 30, 2024
7e542a2
[libc++abi] Avoid using deprecated throw specifications in >= C++11 (…
ldionne Sep 30, 2024
6e6dee9
[llvm][Coroutines] Avoid Type::getPointerTo() (NFC) (#110520)
JOE1994 Sep 30, 2024
4b95806
[llvm][unittests] Avoid Type::getPointerTo() (NFC)
JOE1994 Sep 30, 2024
7ac474b
[LLVM][TableGen] Change SeachableTableEmitter to use const RecordKeep…
jurahul Sep 30, 2024
fcb5905
[MLIR][TableGen] Minor code cleanup in DirectiveCommonGen (#110290)
jurahul Sep 30, 2024
e22b07e
[SandboxIR][NFC] Move Function class to a separate file (#110526)
vporpo Sep 30, 2024
78f9a8b
[libc++] LWG3870: Remove `voidify` (#110355)
frederick-vs-ja Sep 30, 2024
432ba35
[libc++][test] Cover move construction of allocators again (#110375)
frederick-vs-ja Sep 30, 2024
7dbc664
[flang][cuda] Convert data transfer between scalar and arrays (#110180)
clementval Sep 30, 2024
357c197
[gn build] Port e22b07e766e4
llvmgnsyncbot Sep 30, 2024
005f815
[LIBC] Fix build failure caused by #110032 (#110539)
jurahul Sep 30, 2024
ce6369e
Fix build break when building RISCVInstrInfo.cpp with MSVC (#110342)
dpaoliello Sep 30, 2024
3e5e48a
[flang][cuda] Fix buildbot failure (#110540)
clementval Sep 30, 2024
5d45815
[docs][amdgpu] Update kernarg documentation for gfx90a (#109690)
kuhar Sep 30, 2024
8518178
[clang][bytecode] Implement ia32_bextr builitns (#110513)
tbaederr Sep 30, 2024
bbdca53
[KnownBitsTest] Add optimality tests to some optimal impls; NFC
goldsteinn Sep 30, 2024
607c525
[ARM64] [Windows] Mark block address as taken when expanding catchret…
momo5502 Sep 30, 2024
41145fe
[libc++][modules] Rewrite the modulemap to have fewer top-level modul…
ldionne Sep 30, 2024
8ab50da
Include <cstdlib> in Toy Lexer examples. (#110449)
vonosmas Sep 30, 2024
9e85937
[SandboxIR][NFC] Rename SandboxIRValues.def to Values.def (#110538)
vporpo Sep 30, 2024
18fa9fa
[LLD][COFF] Add support for ARM64EC delay-load imports (#110042)
cjacek Sep 30, 2024
ab393ce
[RISCV] Take known minimum vlen into account when calculating alignme…
topperc Sep 30, 2024
92a8b81
[LegalizeVectorOps] Enable ExpandFABS/COPYSIGN to use integer ops for…
topperc Sep 30, 2024
df3f291
[TBAA] Add tests with pointers to structs to tbaa-pointers.c.
fhahn Sep 30, 2024
023f7c9
[mlir][Transforms][NFC] Dialect Conversion: Update docs for `remapVal…
matthias-springer Sep 30, 2024
49df12c
[mlir][NFC] Minor cleanup around `ModuleOp` usage (#110498)
matthias-springer Sep 30, 2024
1094ee7
[flang][debug] Better handle array lower bound of assumed shape array…
abidh Sep 30, 2024
b5aea32
[flang] Improve error recovery for bad statement after CONTAINS (#109…
klausler Sep 30, 2024
1759f3b
[flang] Improve error messages about overflowed integer conversions (…
klausler Sep 30, 2024
9b3818e
[flang] Downgrade specific format error to warning (#110314)
klausler Sep 30, 2024
4dfed69
[flang][preprocessor] Don't expand INCLUDE under -E by default (#110333)
klausler Sep 30, 2024
f8ba021
[mlir][spirv] Add gpu printf op lowering to spirv.CL.printf op (#78510)
drprajap Sep 30, 2024
53943de
[GlobalISel] Import extract/insert subvector (#110287)
tschuett Sep 30, 2024
6c5277b
[X86] Decode VPTERNLOG truth tables when disassembling
majnemer Sep 30, 2024
b8e79b3
[NFC][AMDGPU] Pre-commit tests for buffer contents legalization (#110…
krzysz00 Sep 30, 2024
0547e57
[runtimes] Run backdeployment CI on Github hosted runners (#109984)
ldionne Sep 30, 2024
725eb6b
[VPlan] Move createVPIRBasicBlock helper to VPIRBasicBlock (NFC).
fhahn Sep 30, 2024
78ccffc
[flang] Add MALLOC and FREE intrinsics for Cray pointers (#110018)
DavidTruby Sep 30, 2024
4980f21
CMake: Remove unnecessary dependencies on LLVM/MLIR (#110362)
Adnios Sep 30, 2024
96f37ae
[NFC] Use initial-stack-allocations for more data structures (#110544)
jmorse Sep 30, 2024
c214af8
[SandboxVec][Interval] Implement intersection and difference operatio…
vporpo Sep 30, 2024
27a8f00
[Bazel] Fixup for #110538, Rename SandboxIRValues.def to Values.def
chapuni Sep 30, 2024
7b23468
[WebAssembly] Use 'any' type in more cases in AsmTypeCheck (#110403)
aheejin Sep 30, 2024
8b47711
Revert "CMake: Remove unnecessary dependencies on LLVM/MLIR" (#110594)
joker-eph Sep 30, 2024
f3a4def
[libcxx][ios] initialize __fill_val_ in _FillHelper (#110279)
daltenty Sep 30, 2024
915df1a
[Clang] Implement CWG 2707 "Deduction guides cannot have a trailing r…
zyn0217 Sep 30, 2024
a5cd5d3
[lld][WebAssembly] Avoid emitting empty __wasm_apply_data_relocs func…
yamt Oct 1, 2024
50e5411
[Clang][Sema] Retain the expanding index for unevaluated type constra…
zyn0217 Oct 1, 2024
78ff340
[LLDB][Minidump] Fix bug where we were using the wrong collection for…
Jlalond Oct 1, 2024
45e1a38
[PGO] use -fprofile-update=atomic instead of mllvm option in Continuo…
Oct 1, 2024
4852374
[llvm][opt][Transforms] Replacement `calloc` should match replaced `m…
AlexVlx Oct 1, 2024
75fad47
[llvm][AMDGPU] Avoid Type::getPointerTo() (NFC)
JOE1994 Sep 30, 2024
00128a2
[RISCV] Implement Clang Builtins for XCValu Extension in CV32E40P (#1…
realqhc Oct 1, 2024
f86526c
[gn build] Port 00128a20eec2
llvmgnsyncbot Oct 1, 2024
f2f9cdd
[MLIR] Add test fort #110518 `cast`-to-`dyn_cast` fix (#110563)
bjacob Oct 1, 2024
47d42cf
[mlir][OpenMP] - MLIR to LLVMIR translation support for delayed priva…
bhandarkar-pranav Oct 1, 2024
463a4f1
[Clang][Concepts] Normalize SizeOfPackExpr's pack declaration (#110238)
zyn0217 Oct 1, 2024
eea5e7e
[libc++][string] Add regression test for sized new/delete bug (#110210)
vitalybuka Oct 1, 2024
570871e
[X86] Don't convert local function foo in the same section to foo(%ri…
MaskRay Oct 1, 2024
9ad5573
[bazel] Fix build past 00128a20eec27246719d73ba427bf821883b00b4 (#110…
dklimkin Oct 1, 2024
a81902f
[RISCV] Fold vfmv.f.s of f16 into load from stack (#110214)
lukel97 Oct 1, 2024
9e45e7f
[RISCV][GISel] Remove unused isel patterns for s32 shifts with s64 sh…
topperc Oct 1, 2024
b609163
[RISCV] Update stack-folding.ll test
lukel97 Oct 1, 2024
23c0850
[RISCV][VCIX] Add vcix_state to GNU inline assembly register set (#10…
4vtomat Oct 1, 2024
c26a522
[compiler-rt] Fix C and C++ compilers being switched when compiling t…
tambry Oct 1, 2024
8897dd6
[mlir][Transforms][NFC] Dialect Conversion: Simplify `finalize` signa…
matthias-springer Oct 1, 2024
2da417e
[mlir][GPU] gpu.printf: Do not emit duplicate format strings (#110504)
matthias-springer Oct 1, 2024
ec61311
[LLVM][TableGen] Support type casts of nodes with multiple results (#…
stephenchouca Oct 1, 2024
0089f39
[ProfileData] Avoid repeated hash lookups (NFC) (#110619)
kazutakahirata Oct 1, 2024
d50d961
[MCA] Avoid repeated hash lookups (NFC) (#110622)
kazutakahirata Oct 1, 2024
36235ce
Add a testcase for the -Wdangling-assignment-gsl warning, NFC.
hokein Oct 1, 2024
257707b
[Clang][NFC] Add a test for CWG 2913 (#110614)
zyn0217 Oct 1, 2024
cc3cc5e
[flang][NFC] simplify dispatching of reduction runtime calls (#110479)
jeanPerier Oct 1, 2024
0cf4cb4
Revert "[clang] Fix FIXME in dynamic initializer emission, NFCI"
mstorsjo Oct 1, 2024
3ba4092
[AMDGPU] Check vector sizes for physical register constraints in inli…
ritter-x2a Oct 1, 2024
8bc8b84
[SPIR-V] Fix inconsistency between previously deduced element type of…
VyacheslavLevytskyy Oct 1, 2024
3e79c7f
[SPIR-V] Implement OpSpecConstantOp with ptr-cast operation (#109979)
VyacheslavLevytskyy Oct 1, 2024
c538d5c
[SPIR-V] Discard some llvm intrinsics which we do not expect to actua…
VyacheslavLevytskyy Oct 1, 2024
0e34766
[SPIR-V] Implement support of the SPV_EXT_arithmetic_fence SPIRV exte…
VyacheslavLevytskyy Oct 1, 2024
670a98a
[AArch64] Consistently use EmitToStreamer across the AArch64AsmPrinte…
atrosinenko Oct 1, 2024
1f5e826
[mlir][vector] Add a new TD Op for patterns leveraging ShapeCastOp (#…
banach-space Oct 1, 2024
308c9a9
[Clang][LLVM][AArch64] Add intrinsic for MOVT SME2 instruction (#97602)
CarolineConcatto Oct 1, 2024
09b8dbf
[analyzer] Add optin.taint.TaintedDiv checker (#106389)
dkrupp Oct 1, 2024
271dc4a
[clang][x86] Add constexpr support for PDEP/PEXT intrinsics (#110535)
RKSimon Oct 1, 2024
091dc23
BasicAA: update comments in a routine (NFC) (#110492)
artagnon Oct 1, 2024
e2a855d
[InstCombine] Fix SimplifyDemandedBits recursion cutoff for Arguments
nikic Oct 1, 2024
39b2e35
[RISCV][test] Precommit tests showing codegen for unaligned load/stor…
asb Oct 1, 2024
520562c
Revert 412d59f0a510a05c08ed45545943dfd2f901bc5d "[DAG] combineShiftTo…
RKSimon Oct 1, 2024
47861fa
AMDGPU: Mark ds append/consume intrinsics with align 4 (#110533)
arsenm Oct 1, 2024
a5f3a2a
[lldb][TypeSystemClang] Add warning and defensive checks when ASTCont…
Michael137 Oct 1, 2024
7147e88
[clang][bytecode] Implement lzcnt/tzcnt/bzhi builtins (#110639)
tbaederr Oct 1, 2024
8a8e7f3
[clang][x86] Add constexpr support for all remaining BMI1 intrinsics …
RKSimon Oct 1, 2024
be9461c
[LLVM][InstCombine][SVE] fcvtnt(a,all_active,b) != fcvtnt(undef,all_a…
paulwalker-arm Oct 1, 2024
e96f778
[clang][x86] Fix bad merge in #110581
RKSimon Oct 1, 2024
79ecb81
[libc][math] Fix exceptional cases pow(-0, 1/2) and pow(-inf, 1/2). (…
lntue Oct 1, 2024
cc01112
[SLP][REVEC] getTypeSizeInBits should apply to scalar type instead of…
HanKuanChen Oct 1, 2024
7b8f7be
[clang-tidy] Add new check bugprone-tagged-union-member-count (#89925)
tigbr Oct 1, 2024
574e2dc
[gn build] Port 7b8f7beadcf1
llvmgnsyncbot Oct 1, 2024
a889018
[APFloat] Correct semantics of minimum/maximum for signaling NaN argu…
asb Oct 1, 2024
91ef1f7
A few tweaks to the MLIR .pyi files (#110488)
superbobry Oct 1, 2024
c4d9cd8
[LLD][ELF][AArch64] Add BTI Aware long branch thunks (#108989)
smithp35 Oct 1, 2024
0344123
[VPlan] Manage FMFs for VPWidenCall via VPRecipeWithIRFlags. (NFC)
fhahn Oct 1, 2024
4b3ba64
[SCEVExpander] Clear flags when reusing GEP (#109293)
nikic Oct 1, 2024
b2a6814
[AArch64][NEON][SVE] Lower i8 to i64 partial reduction to a dot produ…
JamesChesterman Oct 1, 2024
ba340b2
[LLD][COFF] Define remaining ARM64EC builtin symbols (#110640)
cjacek Oct 1, 2024
b8b036a
[HLSL] Treat `main` as any other function (#110546)
llvm-beanz Oct 1, 2024
a57a83f
Add missing extendhfxf2 in compiler rt (#109090)
biabbas Oct 1, 2024
cab8c87
[libc] Fix race conditions in sprintf_test. (#110624)
lntue Oct 1, 2024
14c4f28
[RISCV] Enable load clustering by default (#73789)
asb Oct 1, 2024
9f81acf
[Mips] Regenerate test checks (NFC)
nikic Oct 1, 2024
a59e5d8
[ConstantFold][RFC] Add AllowLHSConstant parameter in getBinOpAbsorbe…
eric-xtang1008 Oct 1, 2024
2e559c3
[NFC] Correct the misuse of the API in the Clang test-report script (…
c8ef Oct 1, 2024
f3d58f4
Revert "[libc++] LWG3870: Remove `voidify` (#110355)" (#110587)
Michael137 Oct 1, 2024
007780f
Revert "Add missing extendhfxf2 in compiler rt" (#110662)
lntue Oct 1, 2024
8f2aa9d
workflow/release-binaries: Checkout sources before downloading artifa…
tstellar Oct 1, 2024
9cd289f
workflows/release-documentation: Submit a pull request with changes (…
tstellar Oct 1, 2024
fe61dbf
[AMDGPU] Specify width and align for all AMDGPU builtin types. NFC. (…
jayfoad Oct 1, 2024
936142e
[flang] IEEE_RINT, IEEE_INT (#110509)
vdonaldson Oct 1, 2024
2672037
[AMDGPU][True16][MC] Support VOP3 only instructions with true16 and f…
broxigarchen Oct 1, 2024
be6b4f6
[HLSL][SPIRV] Fix calling convention for call in entry function. (#11…
s-perron Oct 1, 2024
bb78a0b
[clang] Fix the local parameter of void type inside the `Requires` ex…
c8ef Oct 1, 2024
677e8cd
[libc++] Avoid re-exporting a few specific symbols from libc++abi (#1…
ldionne Oct 1, 2024
97da34e
[OpenACC] Add 'collapse' clause AST/basic Sema implementation (#109461)
erichkeane Oct 1, 2024
d6d3d2f
[libc++] Run additional LLDB data formatters tests as part of libc++'…
ldionne Oct 1, 2024
bea1c90
[NFC] Fix line width to fit in 80 columns (#110605)
jurahul Oct 1, 2024
a86e966
[TableGen] Change TableGenMain to use const RecordKeeper (#110578)
jurahul Oct 1, 2024
017c2ab
[Clang][TableGen] Change ClangAttrEmitter to use const Record * (#110…
jurahul Oct 1, 2024
52e7c69
[Clang][TableGen] Change ClangDiagnosticEmitter to use const Record *…
jurahul Oct 1, 2024
5831eed
[Clang][TableGen] Change Opcodes Emitter to use const Record * (#110588)
jurahul Oct 1, 2024
fdfd326
[Clang][LLVM] Change OpenCL Emitter to use const Record * (#110590)
jurahul Oct 1, 2024
9d95e26
[TableGen] Change all type pointers to const (#110602)
jurahul Oct 1, 2024
2469d7e
[NFC] Add a new Intrinsics.cpp file for intrinsic code (#110078)
jurahul Oct 1, 2024
60b604a
[libc++][z/OS] Fix shared_ptr control block test when aligned allocat…
zibi2 Oct 1, 2024
2026501
[MLIR] Make `OneShotModuleBufferize` use `OpInterface` (#110322)
tzunghanjuang Oct 1, 2024
28be39f
[Flang][Driver] Enable the -B option (#109965)
kiranchandramohan Oct 1, 2024
d0f6777
[MLIR][OpenMP] Normalize handling of entry block arguments (#109808)
skatrak Oct 1, 2024
cb52e8e
[clang][x86] Add constexpr support for MULX intrinsics (#110654)
RKSimon Oct 1, 2024
2a2c35a
[InstCombine] Fold `icmp spred (mul nsw X, Z), (mul nsw Y, Z)` into `…
dtcxzyw Oct 1, 2024
616d1d2
[gn build] Port 2469d7e361a2
llvmgnsyncbot Oct 1, 2024
f01d45c
[DebugInfo] Avoid repeated hash lookups (NFC) (#110620)
kazutakahirata Oct 1, 2024
ede866d
[ExecutionEngine] Avoid repeated hash lookups (NFC) (#110621)
kazutakahirata Oct 1, 2024
8395b3f
AMDGPU: Mark scc dead when materialized frame base registers
arsenm Oct 1, 2024
dc98482
AMDGPU: Fix executable permissions on file
arsenm Oct 1, 2024
7ca4128
[AArch64] Generalize the instruction size checking in AsmPrinter (#11…
atrosinenko Oct 1, 2024
e565a4f
[IR] Extract helper for GEPNoWrapFlags intersection (NFC)
nikic Oct 1, 2024
16ba126
[AMDGPU][GlobalISel][NFC] Use amdhsa target for flat/private tests (#…
ritter-x2a Oct 1, 2024
55c70f6
[clang][bytecode] Check GetPtrBase ops for null pointers (#110673)
tbaederr Oct 1, 2024
cd40070
[RegisterPressure] NFC: Clean up RP handling for instructions with ov…
jrbyrnes Oct 1, 2024
f3baa73
[clang][bytecode] Implement ia32_{pdep,pext} builtins (#110675)
tbaederr Oct 1, 2024
cdb3ebf
[MLIR][OpenMP] Normalize representation of entry block arg-defining c…
skatrak Oct 1, 2024
9f6f6af
LoopSimplify: strip dependency on DA (NFC) (#107379)
artagnon Oct 1, 2024
c66dee4
[AMDGPU] Refactor several functions for merging with downstream work.…
cmc-rep Oct 1, 2024
5894d4e
[MLIR][OpenMP] Use map format to represent use_device_{addr,ptr} (#10…
skatrak Oct 1, 2024
d071fda
[llvm][OMPIRBuilder] Avoid Type::getPointerTo() (NFC) (#110678)
JOE1994 Oct 1, 2024
c63112a
[libc][stdio] Use proxy headers of stdio.h in src and test folders. (…
lntue Oct 1, 2024
4e52e6a
[MLIR][OpenMP] Document entry block argument-defining clauses (NFC) (…
skatrak Oct 1, 2024
f61abee
AMDGPU: Add missing tests for local stack alloc s_add_i32 handling
arsenm Oct 1, 2024
54a4965
[MLIR][OpenMP] Improve omp.section block arguments handling (#110266)
skatrak Oct 1, 2024
0eb2602
[libc++] Remove potential 0-sized array in __compressed_pair_padding …
serge-sans-paille Oct 1, 2024
0de0354
[LLVM][TableGen] Decrease code size of `Intrinsic::getAttributes` (#1…
jurahul Oct 1, 2024
0dab022
[SLP][NFC]Add a test with external cast and extracted operand, NFC
alexey-bataev Oct 1, 2024
afc0557
[IR][Attribute] Add support for intersecting AttributeLists; NFC (#10…
goldsteinn Oct 1, 2024
ce9a9cc
[AutoBump] Merge with 357c1970 (Sep 30)
mgehre-amd Jan 10, 2025
b659815
[AutoBump] Merge with fixes of 005f8153 (Sep 30)
mgehre-amd Jan 10, 2025
f233f51
Merge pull request #440 from Xilinx/bump_to_005f8153
mgehre-amd Jan 10, 2025
a3b7199
[AutoBump] Merge with afc0557a (Oct 01)
mgehre-amd Jan 10, 2025
44962f7
Merge pull request #441 from Xilinx/bump_to_afc0557a
mgehre-amd Jan 13, 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
  •  
  •  
  •  
23 changes: 15 additions & 8 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,17 +193,24 @@ jobs:
**/crash_diagnostics/*

macos:
runs-on: macos-14
needs: [ stage1 ]
strategy:
fail-fast: true
fail-fast: false
matrix:
config: [
generic-cxx03,
generic-cxx23,
generic-modules,
apple-configuration
]
include:
- config: generic-cxx03
os: macos-latest
- config: generic-cxx23
os: macos-latest
- config: generic-modules
os: macos-latest
- config: apple-configuration
os: macos-latest
- config: apple-system
os: macos-13
- config: apple-system-hardened
os: macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-binaries-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ on:
- '.github/workflows/release-binaries.yml'
- '.github/workflows/release-binaries-setup-stage/*'
- '.github/workflows/release-binaries-save-stage/*'
- 'clang/cmake/caches/Release.cmake'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || 'dispatch' }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,14 @@ jobs:
attestations: write # For artifact attestations

steps:
- name: Checkout Release Scripts
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
sparse-checkout: |
llvm/utils/release/github-upload-release.py
llvm/utils/git/requirements.txt
sparse-checkout-cone-mode: false

- name: 'Download artifact'
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
with:
Expand All @@ -442,14 +450,6 @@ jobs:
name: ${{ needs.prepare.outputs.release-binary-filename }}-attestation
path: ${{ needs.prepare.outputs.release-binary-filename }}.jsonl

- name: Checkout Release Scripts
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
sparse-checkout: |
llvm/utils/release/github-upload-release.py
llvm/utils/git/requirements.txt
sparse-checkout-cone-mode: false

- name: Install Python Requirements
run: |
pip install --require-hashes -r ./llvm/utils/git/requirements.txt
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/release-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,20 @@ jobs:
ref: main
fetch-depth: 0
path: www-releases
persist-credentials: false

- name: Upload Release Notes
if: env.upload
env:
WWW_RELEASES_TOKEN: ${{ secrets.WWW_RELEASES_TOKEN }}
GH_TOKEN: ${{ secrets.WWW_RELEASES_TOKEN }}
run: |
mkdir -p ../www-releases/${{ inputs.release-version }}
mv ./docs-build/html-export/* ../www-releases/${{ inputs.release-version }}
cd ../www-releases
mkdir -p www-releases/${{ inputs.release-version }}
mv ./docs-build/html-export/* www-releases/${{ inputs.release-version }}
cd www-releases
git checkout -b ${{ inputs.release-version }}
git add ${{ inputs.release-version }}
git config user.email "[email protected]"
git config user.name "llvmbot"
git commit -a -m "Add ${{ inputs.release-version }} documentation"
git push "https://[email protected]/${{ github.repository_owner }}/www-releases" main:main
git push --force "https://[email protected]/llvmbot/www-releases.git" HEAD:refs/heads/${{ inputs.release-version }}
gh pr create -f -B main -H ${{ inputs.release-version }} -R llvmbot/www-releases
3 changes: 3 additions & 0 deletions clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
#include "SuspiciousStringviewDataUsageCheck.h"
#include "SwappedArgumentsCheck.h"
#include "SwitchMissingDefaultCaseCheck.h"
#include "TaggedUnionMemberCountCheck.h"
#include "TerminatingContinueCheck.h"
#include "ThrowKeywordMissingCheck.h"
#include "TooSmallLoopVariableCheck.h"
Expand Down Expand Up @@ -229,6 +230,8 @@ class BugproneModule : public ClangTidyModule {
"bugprone-suspicious-stringview-data-usage");
CheckFactories.registerCheck<SwappedArgumentsCheck>(
"bugprone-swapped-arguments");
CheckFactories.registerCheck<TaggedUnionMemberCountCheck>(
"bugprone-tagged-union-member-count");
CheckFactories.registerCheck<TerminatingContinueCheck>(
"bugprone-terminating-continue");
CheckFactories.registerCheck<ThrowKeywordMissingCheck>(
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ add_clang_library(clangTidyBugproneModule
SuspiciousSemicolonCheck.cpp
SuspiciousStringCompareCheck.cpp
SwappedArgumentsCheck.cpp
TaggedUnionMemberCountCheck.cpp
TerminatingContinueCheck.cpp
ThrowKeywordMissingCheck.cpp
TooSmallLoopVariableCheck.cpp
Expand Down
61 changes: 35 additions & 26 deletions clang-tools-extra/clang-tidy/bugprone/PosixReturnCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,52 +7,58 @@
//===----------------------------------------------------------------------===//

#include "PosixReturnCheck.h"
#include "../utils/Matchers.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Lex/Lexer.h"

using namespace clang::ast_matchers;

namespace clang::tidy::bugprone {

static StringRef getFunctionSpelling(const MatchFinder::MatchResult &Result,
const char *BindingStr) {
const CallExpr *MatchedCall = cast<CallExpr>(
(Result.Nodes.getNodeAs<BinaryOperator>(BindingStr))->getLHS());
static StringRef getFunctionSpelling(const MatchFinder::MatchResult &Result) {
const auto *MatchedCall = Result.Nodes.getNodeAs<CallExpr>("call");
const SourceManager &SM = *Result.SourceManager;
return Lexer::getSourceText(CharSourceRange::getTokenRange(
MatchedCall->getCallee()->getSourceRange()),
SM, Result.Context->getLangOpts());
}

void PosixReturnCheck::registerMatchers(MatchFinder *Finder) {
const auto PosixCall =
callExpr(callee(functionDecl(
anyOf(matchesName("^::posix_"), matchesName("^::pthread_")),
unless(hasName("::posix_openpt")))))
.bind("call");
const auto ZeroIntegerLiteral = integerLiteral(equals(0));
const auto NegIntegerLiteral =
unaryOperator(hasOperatorName("-"), hasUnaryOperand(integerLiteral()));

Finder->addMatcher(
binaryOperator(
hasOperatorName("<"),
hasLHS(callExpr(callee(functionDecl(
anyOf(matchesName("^::posix_"), matchesName("^::pthread_")),
unless(hasName("::posix_openpt")))))),
hasRHS(integerLiteral(equals(0))))
anyOf(allOf(hasOperatorName("<"), hasLHS(PosixCall),
hasRHS(ZeroIntegerLiteral)),
allOf(hasOperatorName(">"), hasLHS(ZeroIntegerLiteral),
hasRHS(PosixCall))))
.bind("ltzop"),
this);
Finder->addMatcher(
binaryOperator(
hasOperatorName(">="),
hasLHS(callExpr(callee(functionDecl(
anyOf(matchesName("^::posix_"), matchesName("^::pthread_")),
unless(hasName("::posix_openpt")))))),
hasRHS(integerLiteral(equals(0))))
anyOf(allOf(hasOperatorName(">="), hasLHS(PosixCall),
hasRHS(ZeroIntegerLiteral)),
allOf(hasOperatorName("<="), hasLHS(ZeroIntegerLiteral),
hasRHS(PosixCall))))
.bind("atop"),
this);
Finder->addMatcher(binaryOperator(hasAnyOperatorName("==", "!="),
hasOperands(PosixCall, NegIntegerLiteral))
.bind("binop"),
this);
Finder->addMatcher(
binaryOperator(
hasAnyOperatorName("==", "!=", "<=", "<"),
hasLHS(callExpr(callee(functionDecl(
anyOf(matchesName("^::posix_"), matchesName("^::pthread_")),
unless(hasName("::posix_openpt")))))),
hasRHS(unaryOperator(hasOperatorName("-"),
hasUnaryOperand(integerLiteral()))))
binaryOperator(anyOf(allOf(hasAnyOperatorName("<=", "<"),
hasLHS(PosixCall), hasRHS(NegIntegerLiteral)),
allOf(hasAnyOperatorName(">", ">="),
hasLHS(NegIntegerLiteral), hasRHS(PosixCall))))
.bind("binop"),
this);
}
Expand All @@ -61,23 +67,26 @@ void PosixReturnCheck::check(const MatchFinder::MatchResult &Result) {
if (const auto *LessThanZeroOp =
Result.Nodes.getNodeAs<BinaryOperator>("ltzop")) {
SourceLocation OperatorLoc = LessThanZeroOp->getOperatorLoc();
StringRef NewBinOp =
LessThanZeroOp->getOpcode() == BinaryOperator::Opcode::BO_LT ? ">"
: "<";
diag(OperatorLoc, "the comparison always evaluates to false because %0 "
"always returns non-negative values")
<< getFunctionSpelling(Result, "ltzop")
<< FixItHint::CreateReplacement(OperatorLoc, Twine(">").str());
<< getFunctionSpelling(Result)
<< FixItHint::CreateReplacement(OperatorLoc, NewBinOp);
return;
}
if (const auto *AlwaysTrueOp =
Result.Nodes.getNodeAs<BinaryOperator>("atop")) {
diag(AlwaysTrueOp->getOperatorLoc(),
"the comparison always evaluates to true because %0 always returns "
"non-negative values")
<< getFunctionSpelling(Result, "atop");
<< getFunctionSpelling(Result);
return;
}
const auto *BinOp = Result.Nodes.getNodeAs<BinaryOperator>("binop");
diag(BinOp->getOperatorLoc(), "%0 only returns non-negative values")
<< getFunctionSpelling(Result, "binop");
<< getFunctionSpelling(Result);
}

} // namespace clang::tidy::bugprone
Loading
Loading