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 9edd998e (Aug 29) (14) #367

Open
wants to merge 315 commits into
base: bump_to_d4f97da1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
315 commits
Select commit Hold shift + click to select a range
0642cd7
[lldb] Turn lldb_private::Status into a value type. (#106163)
adrian-prantl Aug 27, 2024
d1d8edf
[lldb] Add transitional backwards-compatible API to Status
adrian-prantl Aug 27, 2024
c349ded
[lldb] Add missing namespace
adrian-prantl Aug 27, 2024
fac87b8
[llvm-exegesis] Switch from intptr_t to uintptr_t in most cases (#102…
boomanaiden154 Aug 27, 2024
0df7812
[libc++] Add missing include to three_way_comp_ref_type.h
ldionne Aug 27, 2024
2abed78
[AIX][PGO] Handle atexit functions when dlclose'ing shared libraries …
w2yehia Aug 27, 2024
abd69b3
[BOLT] Handle internal calls in ValidateInternalCalls (#105736)
maksfb Aug 27, 2024
ff81f9f
[SandboxIR] Implement VAArgInst (#106247)
vporpo Aug 27, 2024
155e3aa
[InstCombine] Add tests for reassosiating `(add/sub (sub/add) (sub/ad…
goldsteinn Aug 22, 2024
a6edcea
[InstCombine] Simplify `(add/sub (sub/add) (sub/add))` irrelivant of …
goldsteinn Aug 22, 2024
511500e
[TypeProf][ICP]Allow vtable-comparison as long as vtable count is com…
mingmingl-llvm Aug 27, 2024
23144e8
[SampleFDO][NFC] Refactoring sample reader to support on-demand read …
wlei-llvm Aug 27, 2024
b2dd840
[libc++] Add missing newline and remove unintended escape sequence
ldionne Aug 27, 2024
1d7bb2b
[MachO] Give the CPUSubTypeARM64 enum uint32_t type. NFCI.
ahmedbougacha Aug 27, 2024
edbd9d1
[X86] Check if there is stack access in the spilled FP/BP range (#106…
weiguozhi Aug 27, 2024
ed03070
[SLP] Support vectorizing 2^N-1 reductions (#106266)
preames Aug 27, 2024
5e64520
[lldb] Update Windows test to new Status API
adrian-prantl Aug 27, 2024
6a74b0e
[SLP] Use early-return in canVectorizeLoads [nfc]
preames Aug 27, 2024
b24ffa6
[lldb] Update ProcessLauncherWinows to new Status API
adrian-prantl Aug 27, 2024
2bdc0da
[ICP] Fix warnings
kazutakahirata Aug 27, 2024
29bb523
[LTO] Introduce a helper lambda in gatherImportedSummariesForModule (…
kazutakahirata Aug 27, 2024
4d7a0ab
[DataLayout] Change return type of `getStackAlignment` to `MaybeAlign…
s-barannikov Aug 27, 2024
4c4908c
[AMDGPU] adjust tests to prevent fpclass bitcast folding (#106268)
AlexMaclean Aug 27, 2024
ee764a2
[SLP] Remove -slp-optimize-identity-hor-reduction-ops option (#106238)
preames Aug 27, 2024
74e70ba
[libc++] Disallow character types being index types of `extents` (#10…
frederick-vs-ja Aug 27, 2024
2a3d735
[bazel][mlir] Add ConvertToSPIRV dep to mlir-vulkan-runner (#106285)
rupprecht Aug 27, 2024
bcb6e27
[MachO] Silence GCC warning on enum/non-enum in ternary. NFC.
ahmedbougacha Aug 27, 2024
fc51797
[lldb] Fix test expectation in `TestFrameRecognizer.py` (#106281)
vogelsgesang Aug 27, 2024
4ea2c73
[libc++] Deprecate and remove std::uncaught_exception (#101830)
frederick-vs-ja Aug 27, 2024
b6b6482
[Headers][X86] Add a test for MMX/SSE intrinsics (#105852)
pogo59 Aug 27, 2024
377257f
[Clang] Support initializing structured bindings from an array with d…
zwuis Aug 27, 2024
751e681
[SandboxIR][NFC] Create a DEF_CONST() macro in SandboxIRValues.def (#…
vporpo Aug 27, 2024
b959532
Revert "[LLDB][SBSaveCore] Add selectable memory regions to SBSaveCor…
Jlalond Aug 27, 2024
e19c3a7
[libc++] Move some macOS CI jobs to Github actions (#89083)
ldionne Aug 27, 2024
93b8d07
[MachineOutliner][NFC] Refactor (#105398)
kyulee-com Aug 27, 2024
ff2baf0
Revert "[lldb] Add transitional backwards-compatible API to Status"
adrian-prantl Aug 27, 2024
5f2389d
[libc++] Do not redeclare lgamma_r when targeting the LLVM C library …
jhuber6 Aug 27, 2024
67eb727
[lldb] Update NativeProcessLinux to new Status API
adrian-prantl Aug 27, 2024
3280292
[lldb] Don't scan more than 10MB of assembly insns (#105890)
jasonmolenda Aug 27, 2024
f2f78b2
[lldb] Update NativeThreadLinux to new Status API
adrian-prantl Aug 27, 2024
f9ad249
[StableHash] Implement stable global name for the hash computation (#…
kyulee-com Aug 27, 2024
c2cac7e
[profile] Move test into Posix
vitalybuka Aug 27, 2024
d48b0f8
[lldb] Update File to new Status API
adrian-prantl Aug 27, 2024
47667ee
[lldb] Update NativeProcess*BSD to new Status API
adrian-prantl Aug 27, 2024
bb27dd8
[compiler-rt] Fix definition of `usize` on 32-bit Windows
arichardson Aug 27, 2024
1022323
[ctx_prof] Move the "from json" logic more centrally to reuse it from…
mtrofin Aug 27, 2024
de687ea
[lldb] Update Host/windows to new Status API
adrian-prantl Aug 27, 2024
016e1eb
[mlir][gpu] Add metadata attributes for storing kernel metadata in GP…
fabianmcg Aug 27, 2024
73c3b73
[ctx_prof] Add support for ICP (#105469)
mtrofin Aug 27, 2024
d22bee1
[lldb] Update PipeWindows.cpp to new Status API
adrian-prantl Aug 27, 2024
51aceb5
[llvm/llvm-project][Coroutines] Improve debugging and minor refactori…
TylerNowicki Aug 27, 2024
aaed557
[mlir][GPU] Fix docs modified by #94910 (#106295)
fabianmcg Aug 27, 2024
91e09c3
Fix dynamic linking bots after PR #105469
mtrofin Aug 27, 2024
0b1c8fd
[lldb][ClangExpressionParser] Remove duplicate construction of Extern…
Michael137 Aug 27, 2024
6ae657b
[lldb] Adapt Plugins/Process/Windows to new Status API
adrian-prantl Aug 28, 2024
32abe5d
[lldb] Adapt WindowsMiniDump to new Status API
adrian-prantl Aug 28, 2024
2def1c4
[RISCV][MCP] Remove redundant move from tail duplication (#89865)
BeMg Aug 28, 2024
f215447
[flang][cuda] Add missing dependency (#106298)
clementval Aug 28, 2024
ccbee71
[flang][cuda] Use declare op results instead of memref (#106287)
clementval Aug 28, 2024
1601879
[compiler-rt][nsan] Fix strsep interceptor (#106307)
alexander-shaposhnikov Aug 28, 2024
82db08e
[bazel][mlir] Add missing ROCDLTarget srcs/deps (#106322)
rupprecht Aug 28, 2024
c1a4896
[bazel][test] Add missing transforms test dep (#106323)
rupprecht Aug 28, 2024
c0ebc18
[orc] Fix asan error in RTDyldObjectLinkingLayer.cpp (#106300)
ezhulenev Aug 28, 2024
bacf312
[mlir][Linalg] Fix match convolution message (#106197)
yifeizh2 Aug 28, 2024
815bf0f
Revert "[Clang] [Test] Use lit Syntax for Environment Variables in Cl…
Harini0924 Aug 28, 2024
656d5aa
[clang-format] Fix misalignments of pointers in angle brackets (#106013)
owenca Aug 28, 2024
fac7e87
[clang-format] Insert a space between new/delete and a C-style cast (…
owenca Aug 28, 2024
d2b420c
[Release] Add keith to valid archive uploaders (#106018)
keith Aug 28, 2024
b1d1c33
[lit] Remove legacy python version checks (NFC) (#105948)
keith Aug 28, 2024
7a4013f
[ORC] Generalize loadRelocatableObject to loadLinkableFile, add archi…
lhames Aug 28, 2024
097138f
[mlir] Add option to control the `emissionKind` to DIScopeForLLVMFunc…
Observer007 Aug 28, 2024
3c5ab5a
[lldb] unique_ptr-ify some GetUserExpression APIs. (#106034)
lhames Aug 28, 2024
e6cbea1
Revert "[lldb] unique_ptr-ify some GetUserExpression APIs. (#106034)"
lhames Aug 28, 2024
8067b88
[AArch64] Fix buildbot breakage of ubsan
vfdff Aug 26, 2024
e5a5ac0
[AArch64] Fold more load.x into load.i with large offset
vfdff Dec 18, 2023
190449a
[analyzer] Detect leaks of stack addresses via output params, indirec…
necto Aug 28, 2024
3dbb6be
[NFC] Comment fix: "does specify state that" -> "does specify that" (…
mpark Aug 28, 2024
0b554dd
[llvm-cxxfilt][macOS] Don't strip underscores on macOS by default (#1…
Michael137 Aug 28, 2024
175aa86
[LoongArch] Format LoongArchL{A}SXInstrInfo.td. NFC
wangleiat Aug 28, 2024
6332c36
[AMDGPU] Use range-based for loops (NFC) (#106328)
kazutakahirata Aug 28, 2024
22e55ba
[llvm] Prefer StringRef::substr to StringRef::slice (NFC) (#106330)
kazutakahirata Aug 28, 2024
866bec7
[libc++][math] Provide overloads for cv-unqualified floating point ty…
robincaloudis Aug 28, 2024
902b2a2
[clang] Add lifetimebound attr to std::span/std::string_view construc…
hokein Aug 28, 2024
07514fa
[Coroutines] Salvage the debug information for coroutine frames withi…
ChuanqiXu9 Aug 20, 2024
82e314e
[analyzer] Fix false positive for mutexes inheriting mutex_base (#106…
necto Aug 28, 2024
0bd5130
[LLVM][C API] Clearing initializer and personality by passing NULL (#…
maleadt Aug 28, 2024
dfde1a7
[LV][NFC] Update and clean up the test case LoopVectorize/RISCV/inloo…
Mel-Chen Aug 28, 2024
fe182dd
[LoopUnrollAnalyzer] Use constant folding API for loads
nikic Aug 27, 2024
9cf052d
[clang] Update C++ DR page (#106299)
Endilll Aug 28, 2024
69437a3
Revert "[clang] Add nuw attribute to GEPs" (#106343)
vitalybuka Aug 28, 2024
69c4346
[LoopUnrollAnalyzer] Don't simplify signed pointer comparison
nikic Aug 28, 2024
7660981
[LSR] Use computeConstantDifference()
nikic Aug 28, 2024
760b172
[X86] Add additional test coverage for half libcall expansion/promotion
RKSimon Aug 28, 2024
2f0661c
[libc++][math] Remove constrained overloads of `std::{isnan, isinf, i…
robincaloudis Aug 28, 2024
53d1c21
[LLVM][SVE] Improve code generation for vector.insert into posion. (#…
paulwalker-arm Aug 28, 2024
15405b3
[Clang] [Docs] Document runtime config directory options (#66593)
xbjfk Aug 28, 2024
c9a5e1b
[IndVars] Check if WideInc available before trying to use it
nikic Aug 28, 2024
94ed47f
fix(llvm/**.py): fix comparison to None (#94018)
e-kwsm Aug 28, 2024
f7a74ec
[clang][bytecode] Diagnose array-to-pointer decays of dummy pointers …
tbaederr Aug 28, 2024
77d63cf
[clang-format] js handle anonymous classes (#106242)
krasimirgg Aug 28, 2024
95d2d1c
Move stepvector intrinsic out of experimental namespace (#98043)
mgabka Aug 28, 2024
8fd9ec5
[libc] Fix incorrect check for NVPTX backend
jhuber6 Aug 28, 2024
439d7de
[libc] Disable failing scanf test on AMDGPU temporarily
jhuber6 Aug 28, 2024
f4e7e5d
[test-release.sh] Fix python 3.12 compatibility (#105993)
keith Aug 28, 2024
71ede8d
VPlan: factor out VPlanUtils into its own file (NFC) (#105857)
artagnon Aug 28, 2024
026210e
[libc++][ranges] P2609R3: Relaxing Ranges Just A Smidge (#101715)
frederick-vs-ja Aug 28, 2024
96e1320
[VPlan] Move properlyDominates to VPDominatorTree (NFCI).
fhahn Aug 28, 2024
ec9f36a
[libc++] Switch to the current XCode beta on macOS builders (#106363)
philnik777 Aug 28, 2024
a5b6068
[ValueLattice] Move intersect from LVI into ValueLattice API (NFC)
nikic Aug 28, 2024
f581553
[RemoveDIs] Simplify spliceDebugInfo, fixing splice-to-end edge case …
OCHyams Aug 28, 2024
0e8208e
[libc++] Run the Lit test suite against an installed version of the l…
ldionne Aug 28, 2024
7808541
[libc++] P2747R2: `constexpr` placement new (library part) (#105768)
frederick-vs-ja Aug 28, 2024
74d1960
[mlir][tensor] Add a test for invalid tensor.pack (#106246)
banach-space Aug 28, 2024
8b198ee
[flang] Update the date_and_time intrinsic for AIX (#104849)
kkwli Aug 28, 2024
fc39cc1
[clang] Minor updates to C++ DR page design (#106360)
Endilll Aug 28, 2024
b8c0e8a
[IPSCCP] Add extra tests for interprocedural arg attr handling (NFC)
nikic Aug 28, 2024
b2f1d06
[mlir][amdgpu] Improve Chipset version utility (#106169)
kuhar Aug 28, 2024
8a50e35
Fix MSVC "not all control paths return a value" warning. NFC.
RKSimon Aug 28, 2024
51a0951
[InstCombine][X86] Only demand used bits for PSHUFB mask values (#106…
RKSimon Aug 28, 2024
158ba73
Fix clang-format-test.el past 625841c (#106398)
dklimkin Aug 28, 2024
cc0f2d5
[libc++] Mark a few papers as done or "Nothing To Do"
ldionne Aug 28, 2024
140381d
[MachineOutliner][NFC] Remove unnecessary RepeatedSequenceLocs.clear(…
kyulee-com Aug 28, 2024
fee4836
[compiler-rt][rtsan] NFC: Introduce __rtsan_expect_not_realtime helpe…
cjappl Aug 28, 2024
a3cd8d7
[lldb][lldb-dap][test] Enable variable tests on Windows
DavidSpickett Aug 28, 2024
16910a2
[VPlan] Move logic to create interleave groups to VPlanTransforms (NFC).
fhahn Aug 28, 2024
89bbcbe
[PowerPC] fix legalization crash (#105563)
RolandF77 Aug 28, 2024
114ff99
[flang] Warn when F128 is unsupported (#102147)
tblah Aug 28, 2024
37d0841
[Support] Fix unused parameter warning in `reserveExtraSpace`; NFC (#…
goldsteinn Aug 28, 2024
ecd9e0b
[X86][LegalizeDAG] FPOWI: promote f16 operand (#105775)
v01dXYZ Aug 28, 2024
82113a4
[LLVM][NVPTX] Remove nonexistent ftz ops (#106100)
zyx-billy Aug 28, 2024
73e0aa5
[CodeGen] Create IFUNCs in the program address space, not hard-coded …
jrtc27 Aug 28, 2024
829c47f
[InterleavedAccess] Use SmallVectorImpl references. NFC
topperc Aug 28, 2024
af3ee62
[lldb][lldb-dap][test] Enable more attach tests on Windows
DavidSpickett Aug 28, 2024
be7014e
[SLP][NFC]Add a test with non-power-of-2 (but still whole vector) ope…
alexey-bataev Aug 28, 2024
40db261
[clang][bytecode] Fix #55390 here as well (#106395)
tbaederr Aug 28, 2024
b40677c
[SandboxIR] Add InsertValueInst (#106273)
slackito Aug 28, 2024
1bde8e0
[AMDGPU] Don't realign already allocated LDS. Point fix for 106412 (#…
JonChesterfield Aug 28, 2024
4f15039
[LTO] Introduce new type alias ImportListsTy (NFC) (#106420)
kazutakahirata Aug 28, 2024
c2cac69
[libc++] Replace 'tags' in CSV status pages by inline notes (#105581)
ldionne Aug 28, 2024
ef403f9
[CGData] Document for llvm-cgdata (#106320)
kyulee-com Aug 28, 2024
a4989cd
[CodeGen] Use MachineInstr::{all_uses,all_defs} (NFC) (#106404)
kazutakahirata Aug 28, 2024
4b84288
[VPlan] Pass live-ins used as exit values straight to live-out.
fhahn Aug 28, 2024
41b5507
DAG: Change round-mode operand type to i32 for FPTRUNC_ROUND (#106424)
changpeng Aug 28, 2024
b5977b5
[gn build] Port 71ede8d83159
llvmgnsyncbot Aug 28, 2024
5a5cf51
[gn build] Port 7a4013f029c4
llvmgnsyncbot Aug 28, 2024
efbafbc
[gn build] Port f9ad24946026
llvmgnsyncbot Aug 28, 2024
3cf1018
[SandboxIR] Add test that checks if classof() is missing. (#106313)
vporpo Aug 28, 2024
7912abe
[LV] Add extra tests with interleave groups and different insert pos.
fhahn Aug 28, 2024
b978bcc
[compiler-rt][test] Rewrote test to remove curly braces (#105696)
connieyzhu Aug 28, 2024
e03669a
[profile][test] Build Posix/instrprof-dlopen-norpath.test objects as …
rorth Aug 28, 2024
c43190f
[RISCV] Add cost model coverage for insert/extract element w/ 2^N - 1…
preames Aug 28, 2024
2d1fba6
[NVPTX] Support __usAtomicCAS builtin (#99646)
DenisGZM Aug 28, 2024
e61d606
[LTO] Turn ImportListsTy into a proper class (NFC) (#106427)
kazutakahirata Aug 28, 2024
aa7497a
[clang] check deduction consistency when partial ordering function te…
mizvekov Aug 28, 2024
6b4b8dc
[ADT] Relax iterator constraints on all_equal (#106400)
aws-taylor Aug 28, 2024
ec360d6
[SLP][NFC]Add getValueType function and use instead of complex scalar…
alexey-bataev Aug 28, 2024
898d52b
[compiler-rt][rtsan] Fix failing file permissions test by checking um…
cjappl Aug 28, 2024
e99aa4a
[clang][HLSL] Update DXIL/SPIRV hybird CodeGen tests to use temp var …
AmrDeveloper Aug 28, 2024
17b7a9d
[mlir][spirv] Add an argmax integration test with `mlir-vulkan-runner…
angelz913 Aug 28, 2024
38b252a
Disable ThreadPlanSingleThreadTimeout during step over breakpoint (#…
jeffreytan81 Aug 28, 2024
0281339
Revert "[CodeGen] Use MachineInstr::{all_uses,all_defs} (NFC)" (#106451)
vitalybuka Aug 28, 2024
53d95f3
AMDGPU: Rename fail.llvm.fptrunc.round.ll to llvm.fptrunc.round.err.l…
changpeng Aug 28, 2024
eb9c49c
[LTO] Make getImportType a proper function (NFC) (#106450)
kazutakahirata Aug 28, 2024
26c582b
[DXIL] Don't generate per-variable guards for DirectX (#106096)
pow2clk Aug 28, 2024
18c79ca
[LV][NFC] Remove unnecessary space in comment
michaelmaitland Aug 28, 2024
1bc7057
Revert "[mlir][spirv] Add an argmax integration test with `mlir-vulka…
kuhar Aug 28, 2024
ee0d706
[clang][bytecode] Implement constexpr vector unary operators +, -, ~,…
yronglin Aug 28, 2024
13fa78c
[OpenMP][NFC] Remove executable cases from declaration switch (#106438)
mikerice1969 Aug 28, 2024
431db18
[RISCV] Remove effectively duplicate RUN lines form fixed-vectors-fp.…
topperc Aug 28, 2024
a7ba73b
[RISCV] Fix conflicting CHECK prefixes in fixed-vectors-fp.ll. NFC
topperc Aug 28, 2024
75e9d19
[llvm-profdata] Enabled functionality to write split-layout profile (…
huangjd Aug 29, 2024
b75fe11
[NFC] Fix formatv() usage in preparation of validation (#106454)
jurahul Aug 29, 2024
3a5c578
[MachineLoopInfo] Fix getLoopID to handle multi latches. (#106195)
FreddyLeaf Aug 29, 2024
8927576
workflows/release-binaries: Enable flang builds on Windows (#101344)
tstellar Aug 29, 2024
438ad9f
[clang-format] Revert "[clang-format][NFC] Delete TT_LambdaArrow (#70…
owenca Aug 29, 2024
87c86aa
[X86,SimplifyCFG] Support hoisting load/store with conditional faulti…
KanRobert Aug 29, 2024
121fb2c
[SLP] Fix the Vec lane overridden by the shuffle mask (#106341)
tcwzxx Aug 29, 2024
ee6961d
[clangd] Do not collect macros when clang-tidy checks call into the p…
HighCommander4 Aug 29, 2024
82ebd33
[LLDB][Minidumps] Read x64 registers as 64b and handle truncation in …
Jlalond Aug 29, 2024
8bf69ce
Reapply "[mlir] NFC: fix dependence of (Tensor|Linalg|MemRef|Complex)…
christopherbate Aug 29, 2024
55cdb3c
[C++20] [Modules] Merge lambdas in source to imported lambdas (#106483)
ChuanqiXu9 Aug 29, 2024
619efd7
[RISCV] Fix v[f]slide1down.vx having VL changed (#106110)
lukel97 Aug 29, 2024
051054e
[clang][RISCV] Remove `experimental` for vector crypto intrinsics (#1…
4vtomat Aug 29, 2024
572d2fd
[Attributor] Fix an issue that could potentially cause `AccessList` a…
shiltian Aug 29, 2024
9d81e7e
workflows/release-tasks: Pass required secrets to all called workflow…
tstellar Aug 29, 2024
95361cf
[mlir] fix missing LLVMDialect dependency for MLIRSCFToControlFlow
christopherbate Aug 29, 2024
62c5de3
[RISCV] Fix a place that convert an immediate to MCRegister and back …
topperc Aug 29, 2024
2adc94c
AMDGPU/NewPM: Port SIFoldOperands to new pass manager (#105801)
optimisan Aug 29, 2024
3b64ede
[RISCV] Decompose LMUL > 1 reverses into LMUL * M1 vrgather.vv (#104574)
lukel97 Aug 29, 2024
8f96be9
[bugpoint] Fix bugpoint for LLVM_ENABLE_EXPORTED_SYMBOLS_IN_EXECUTABL…
lhames Aug 29, 2024
c7a4efa
[AVR] Fix 16-bit LDDs with immediate overflows (#104923)
Patryk27 Aug 29, 2024
7f59264
[IPSCCP] Intersect attribute info for interprocedural args (#106397)
nikic Aug 29, 2024
c954306
[lldb][lldb-dap][test] Enable more tests on Windows
DavidSpickett Aug 29, 2024
47615ff
[C++20] [Modules] Don't insert class not in named modules to PendingE…
ChuanqiXu9 Aug 29, 2024
e5b55e6
[clang-repl] Fix clang-repl for LLVM_ENABLE_EXPORTED_SYMBOLS_IN_EXECU…
lhames Aug 29, 2024
2eeeff8
[C++20] [Modules] Embed all source files for C++20 Modules (#102444)
ChuanqiXu9 Aug 29, 2024
b822b69
[Driver] Add -mbranch-protection to ARM and AArch64 multilib flags (#…
pratlucas Aug 29, 2024
b7981a7
[mlir] Apply ClangTidyPerformance finding (NFC).
akuegel Aug 29, 2024
efad561
[LLD][COFF] Add support for range extension thunks for ARM64EC target…
cjacek Aug 29, 2024
f9ee9f5
[llvm][Docs] Update TestSuiteGuide.md (#79613)
VisdaVokhshoori Aug 29, 2024
ae34257
[lldb][lldb-dap][test] Skip logpoint test on Windows again
DavidSpickett Aug 29, 2024
c9b6e01
[AMDGPU] Graph-based Module Splitting Rewrite (#104763)
Pierre-vh Aug 29, 2024
e37d6d2
[mlir][ArmSME] Merge consecutive `arm_sme.intr.zero` ops (#106215)
MacDue Aug 29, 2024
31684c6
[AMDGPU][llvm-split] Remove declarations-debug
Pierre-vh Aug 29, 2024
b9f4afa
[clang][ExtractAPI] Fix iteration order of TopLevelRecords (#106411)
daniel-grumberg Aug 29, 2024
575be3e
[AMDGPU][llvm-split] Make declarations test more stable
Pierre-vh Aug 29, 2024
fdca2c3
AMDGPU/NewPM Port GCNDPPCombine to NPM (#105816)
optimisan Aug 29, 2024
60e9fb9
[Flang][OpenMP] Don't expect block arguments using early privatizatio…
skatrak Aug 29, 2024
c28b84e
Update BUILD.bazel after e37d6d2a74d7
JoelWee Aug 29, 2024
2505546
[compiler-rt][RISCV][NFC] Update code_model with latest spec (#106498)
BeMg Aug 29, 2024
911b960
PPC: Custom lower ppcf128 is_fpclass if is_fpclass is custom (#105540)
arsenm Aug 29, 2024
7b7b0b9
DAG: Check if is_fpclass is custom, instead of isLegalOrCustom (#105577)
arsenm Aug 29, 2024
fcb3a04
[analyzer] Add missing include <unordered_map> to llvm/lib/Support/Z3…
lukeshingles Aug 29, 2024
36b7c30
[X86, MC] Recognize OSIZE=64b when EVEX.W = 1, EVEX.pp = 01 (#103816)
FreddyLeaf Aug 29, 2024
ddbc8f3
[SLP] Move some of X86 tests to common directory (#106401)
ElvinaYakubova Aug 29, 2024
3ef37e2
[DebugInfo][DWARF] Set is_stmt on first non-line-0 instruction in BB …
SLTozer Aug 29, 2024
2784060
[MLIR][Flang][OpenMP] Remove omp.parallel from loop wrapper ops (#105…
skatrak Aug 29, 2024
0f206b1
[Flang][OpenMP] Move loop privatization out of dispatch (#106066)
skatrak Aug 29, 2024
113806d
[AArch64] optimise SVE cvt intrinsics with no active lanes (#104809)
Lukacma Aug 29, 2024
9c8ce5f
[Flang][OpenMP] DISTRIBUTE PARALLEL DO lowering (#106207)
skatrak Aug 29, 2024
57726c4
[Flang][OpenMP] DISTRIBUTE PARALLEL DO SIMD lowering (#106211)
skatrak Aug 29, 2024
fdf72c9
[SLP]Fix a crash when requestin the cost for buildvector cmp nodes ty…
alexey-bataev Aug 29, 2024
c3cb273
Fix MSVC "not all control paths return a value" warning. NFC.
RKSimon Aug 29, 2024
616f7d3
[DebugInfo][NFC] Make is_stmt-at-block-start test X86-specific
SLTozer Aug 29, 2024
0a272d3
[LV] Use SCEV to analyze second operand for cost query.
fhahn Aug 29, 2024
926f097
Revert "[DebugInfo][DWARF] Set is_stmt on first non-line-0 instructio…
SLTozer Aug 29, 2024
606a934
[LAA] Add test cases where evaluating AddRecs at symbolic max BTC wraps.
fhahn Aug 29, 2024
50515db
[SLP][NFC]Format canVectorizeLoads after previous NFC patches.
alexey-bataev Aug 29, 2024
9167667
[SLP] Fix REQUIRES line for failing tests (#106531)
ElvinaYakubova Aug 29, 2024
cb608cc
[clang][bytecode] Properly diagnose non-const reads (#106514)
tbaederr Aug 29, 2024
25c9410
[InstCombine][X86] Add vpermilpd/vpermilps test coverage for #106413
RKSimon Aug 29, 2024
d57c046
[InstCombine][X86] Only demand used bits for VPERMILPD/VPERMILPS mask…
RKSimon Aug 29, 2024
2a28df6
Restrict LLVM_TARGETS_TO_BUILD in Windows release packaging (#106059)
zmodem Aug 29, 2024
b2a820f
[lldb][lldb-dap][test] Enable Launch tests
DavidSpickett Aug 29, 2024
0a48482
Restore missing link in CodeOfConduct.rst (#106385)
cor3ntin Aug 29, 2024
73ef397
[libc][x86] Use prefetch for write for memcpy (#90450)
gchatelet Aug 29, 2024
acff429
[include-cleaner] Mark RecordDecls referenced in UsingDecls as explic…
kadircet Aug 29, 2024
7955760
[SPARC][IAS] Add `illtrap` alias for `unimp` (#105928)
koachan Aug 29, 2024
ba52a09
[IPSCCP] Add test for returning nonnull pointer (NFC)
nikic Aug 29, 2024
43661a1
[RemoveDIs] Fix spliceDebugInfo splice-to-end edge case (#105671)
OCHyams Aug 29, 2024
1f8f2ed
[NFC][AMDGPU] Autogenerate tests for uniform i32 promo in ISel (#106382)
Pierre-vh Aug 29, 2024
df11ee2
[clang][bytecode] Diagnose member calls on deleted blocks (#106529)
tbaederr Aug 29, 2024
c57abc6
[LoopVectorize][X86] amdlibm-calls.ll - cleanup test checks for 2/4/8…
RKSimon Aug 29, 2024
2f95298
[LoopVectorize][X86] amdlibm-calls.ll - add additional 2/4/8/16 vecto…
RKSimon Aug 29, 2024
f7d6dfa
[lldb][lldb-dap] Enable more tests on Windows
DavidSpickett Aug 29, 2024
56152fa
[Analysis] Guard logf128 cst folding (#106543)
RoboTux Aug 29, 2024
5fef40c
Reapply "[DebugInfo][DWARF] Set is_stmt on first non-line-0 instructi…
SLTozer Aug 29, 2024
8ae877a
Revert "[flang] Warn when F128 is unsupported" (#106561)
tblah Aug 29, 2024
9edd998
[LoopUnroll] Add test for #53205 (NFC)
nikic Aug 29, 2024
e9c77eb
[AutoBump] Merge with 9edd998e (Aug 29)
mgehre-amd Sep 24, 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
  •  
  •  
  •  
36 changes: 36 additions & 0 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,42 @@ jobs:
**/CMakeError.log
**/CMakeOutput.log
**/crash_diagnostics/*

macos:
runs-on: macos-14
needs: [ stage1 ]
strategy:
fail-fast: true
matrix:
config: [
generic-cxx03,
generic-cxx23,
generic-modules,
apple-configuration
]
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 'latest'
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Build and test
run: |
python3 -m venv .venv
source .venv/bin/activate
python -m pip install psutil
bash libcxx/utils/ci/run-buildbot ${{ matrix.config }}
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always() # Upload artifacts even if the build or test suite fails
with:
name: macos-${{ matrix.config }}-results
path: |
**/test-results.xml
**/*.abilist
**/CMakeError.log
**/CMakeOutput.log
**/crash_diagnostics/*

windows:
runs-on: windows-2022
needs: [ stage1 ]
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/release-asset-audit.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
import github
import sys

_SPECIAL_CASE_BINARIES = {
"keith": {"clang+llvm-18.1.8-arm64-apple-macos11.tar.xz"},
}


def _is_valid(uploader_name, valid_uploaders, asset_name):
if uploader_name in valid_uploaders:
return True

if uploader_name in _SPECIAL_CASE_BINARIES:
return asset_name in _SPECIAL_CASE_BINARIES[uploader_name]

return False


def main():
token = sys.argv[1]

Expand Down Expand Up @@ -41,7 +56,7 @@ def main():
print(
f"{asset.name} : {asset.uploader.login} [{created_at} {updated_at}] ( {asset.download_count} )"
)
if asset.uploader.login not in uploaders:
if not _is_valid(asset.uploader.login, uploaders, asset.name):
with open('comment', 'w') as file:
file.write(f'@{asset.uploader.login} is not a valid uploader.')
sys.exit(1)
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,8 @@ jobs:
target_cmake_flags="$target_cmake_flags -DBOOTSTRAP_DARWIN_osx_ARCHS=$arches -DBOOTSTRAP_DARWIN_osx_BUILTIN_ARCHS=$arches"
fi

# x86 macOS and x86 Windows have trouble building flang, so disable it.
# Windows: https://github.com/llvm/llvm-project/issues/100202
# macOS: 'rebase opcodes terminated early at offset 1 of 80016' when building __fortran_builtins.mod
build_flang="true"

if [ "$target" = "Windows-X64" ]; then
target_cmake_flags="$target_cmake_flags -DLLVM_RELEASE_ENABLE_PROJECTS=\"clang;lld;lldb;clang-tools-extra;bolt;polly;mlir\""
build_flang="false"
fi

if [ "${{ runner.os }}" = "Windows" ]; then
# The build times out on Windows, so we need to disable LTO.
target_cmake_flags="$target_cmake_flags -DLLVM_RELEASE_ENABLE_LTO=OFF"
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release-doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ on:
description: 'Upload documentation'
required: false
type: boolean
secrets:
RELEASE_TASKS_USER_TOKEN:
description: "Secret used to check user permissions."
required: false

jobs:
release-doxygen:
Expand Down Expand Up @@ -63,5 +67,6 @@ jobs:
if: env.upload
env:
GITHUB_TOKEN: ${{ github.token }}
USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
run: |
./llvm/utils/release/github-upload-release.py --token "$GITHUB_TOKEN" --release "${{ inputs.release-version }}" --user "${{ github.actor }}" upload --files ./*doxygen*.tar.xz
./llvm/utils/release/github-upload-release.py --token "$GITHUB_TOKEN" --release "${{ inputs.release-version }}" --user "${{ github.actor }}" --user-token "$USER_TOKEN" upload --files ./*doxygen*.tar.xz
7 changes: 6 additions & 1 deletion .github/workflows/release-lit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
description: 'Release Version'
required: true
type: string
secrets:
RELEASE_TASKS_USER_TOKEN:
description: "Secret used to check user permissions."
required: false

jobs:
release-lit:
Expand All @@ -36,8 +40,9 @@ jobs:
- name: Check Permissions
env:
GITHUB_TOKEN: ${{ github.token }}
USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
run: |
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --user ${{ github.actor }} check-permissions
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --user ${{ github.actor }} --user-token "$USER_TOKEN" check-permissions

- name: Setup Cpp
uses: aminya/setup-cpp@v1
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
description: Release Version
required: true
type: string
secrets:
RELEASE_TASKS_USER_TOKEN:
description: "Secret used to check user permissions."
required: false
# Run on pull_requests for testing purposes.
pull_request:
paths:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/release-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,19 @@ jobs:
with:
release-version: ${{ needs.validate-tag.outputs.release-version }}
upload: true
# Called workflows don't have access to secrets by default, so we need to explicitly pass secrets that we use.
secrets:
RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}

release-lit:
name: Release Lit
needs: validate-tag
uses: ./.github/workflows/release-lit.yml
with:
release-version: ${{ needs.validate-tag.outputs.release-version }}
# Called workflows don't have access to secrets by default, so we need to explicitly pass secrets that we use.
secrets:
RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}

release-binaries:
name: Build Release Binaries
Expand All @@ -97,6 +103,9 @@ jobs:
release-version: ${{ needs.validate-tag.outputs.release-version }}
upload: true
runs-on: ${{ matrix.runs-on }}
# Called workflows don't have access to secrets by default, so we need to explicitly pass secrets that we use.
secrets:
RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}

release-sources:
name: Package Release Sources
Expand All @@ -109,3 +118,6 @@ jobs:
uses: ./.github/workflows/release-sources.yml
with:
release-version: ${{ needs.validate-tag.outputs.release-version }}
# Called workflows don't have access to secrets by default, so we need to explicitly pass secrets that we use.
secrets:
RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
2 changes: 2 additions & 0 deletions bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,8 @@ class BinaryFunction {

void setPseudo(bool Pseudo) { IsPseudo = Pseudo; }

void setPreserveNops(bool Value) { PreserveNops = Value; }

BinaryFunction &setUsesGnuArgsSize(bool Uses = true) {
UsesGnuArgsSize = Uses;
return *this;
Expand Down
20 changes: 4 additions & 16 deletions bolt/lib/Core/BinaryFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1339,22 +1339,10 @@ Error BinaryFunction::disassemble() {
BC.getBinaryFunctionContainingAddress(TargetAddress))
TargetFunc->setIgnored();

if (IsCall && containsAddress(TargetAddress)) {
if (TargetAddress == getAddress()) {
// Recursive call.
TargetSymbol = getSymbol();
} else {
if (BC.isX86()) {
// Dangerous old-style x86 PIC code. We may need to freeze this
// function, so preserve the function as is for now.
PreserveNops = true;
} else {
BC.errs() << "BOLT-WARNING: internal call detected at 0x"
<< Twine::utohexstr(AbsoluteInstrAddr)
<< " in function " << *this << ". Skipping.\n";
IsSimple = false;
}
}
if (IsCall && TargetAddress == getAddress()) {
// A recursive call. Calls to internal blocks are handled by
// ValidateInternalCalls pass.
TargetSymbol = getSymbol();
}

if (!TargetSymbol) {
Expand Down
9 changes: 6 additions & 3 deletions bolt/lib/Passes/ValidateInternalCalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,24 +302,27 @@ bool ValidateInternalCalls::analyzeFunction(BinaryFunction &Function) const {
}

Error ValidateInternalCalls::runOnFunctions(BinaryContext &BC) {
if (!BC.isX86())
return Error::success();

// Look for functions that need validation. This should be pretty rare.
std::set<BinaryFunction *> NeedsValidation;
for (auto &BFI : BC.getBinaryFunctions()) {
BinaryFunction &Function = BFI.second;
for (BinaryBasicBlock &BB : Function) {
for (MCInst &Inst : BB) {
if (getInternalCallTarget(Function, Inst)) {
BC.errs() << "BOLT-WARNING: internal call detected in function "
<< Function << '\n';
NeedsValidation.insert(&Function);
Function.setSimple(false);
Function.setPreserveNops(true);
break;
}
}
}
}

if (!BC.isX86())
return Error::success();

// Skip validation for non-relocation mode
if (!BC.HasRelocations)
return Error::success();
Expand Down
65 changes: 65 additions & 0 deletions bolt/test/AArch64/internal-call.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
## Test that llvm-bolt detects internal calls and marks the containing function
## as non-simple.

# RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown %s -o %t.o
# RUN: %clang %cflags %t.o -o %t.exe -Wl,-q -static
# RUN: llvm-bolt %t.exe -o %t.null --print-all 2>&1 | FileCheck %s

# CHECK: Binary Function "_start" after building cfg
# CHECK: internal call detected in function _start
# CHECK-NOT: Binary Function "_start" after validate-internal-calls

.text
.globl _start
.type _start, %function
_start:
.cfi_startproc
.LBB00:
mov x11, #0x1fff
cmp x1, x11
b.hi .Ltmp1

.entry1:
movi v4.16b, #0x0
movi v5.16b, #0x0
subs x1, x1, #0x8
b.lo .Ltmp2

.entry2:
ld1 { v2.2d, v3.2d }, [x0], #32
ld1 { v0.2d, v1.2d }, [x0], #32

.Ltmp2:
uaddlp v4.4s, v4.8h
uaddlp v4.2d, v4.4s
mov x0, v4.d[0]
mov x1, v4.d[1]
add x0, x0, x1
ret x30

.Ltmp1:
mov x8, x30

.Lloop:
add x5, x0, x9
mov x1, #0xface
movi v4.16b, #0x0
movi v5.16b, #0x0
bl .entry2
add x4, x4, x0
mov x0, x5
sub x7, x7, x10
cmp x7, x11
b.hi .Lloop

mov x1, x7
bl .entry1
add x0, x4, x0
mov x30, x8
ret x30

.cfi_endproc
.size _start, .-_start

## Force relocation mode.
.reloc 0, R_AARCH64_NONE
1 change: 1 addition & 0 deletions clang-tools-extra/clangd/CollectMacros.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ void CollectMainFileMacros::add(const Token &MacroNameTok, const MacroInfo *MI,
if (Loc.isInvalid() || Loc.isMacroID())
return;

assert(isInsideMainFile(Loc, SM));
auto Name = MacroNameTok.getIdentifierInfo()->getName();
Out.Names.insert(Name);
size_t Start = SM.getFileOffset(Loc);
Expand Down
8 changes: 8 additions & 0 deletions clang-tools-extra/clangd/CollectMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ class CollectMainFileMacros : public PPCallbacks {

void SourceRangeSkipped(SourceRange R, SourceLocation EndifLoc) override;

// Called when the AST build is done to disable further recording
// of macros by this class. This is needed because some clang-tidy
// checks can trigger PP callbacks by calling directly into the
// preprocessor. Such calls are not interleaved with FileChanged()
// in the expected way, leading this class to erroneously process
// macros that are not in the main file.
void doneParse() { InMainFile = false; }

private:
void add(const Token &MacroNameTok, const MacroInfo *MI,
bool IsDefinition = false, bool InConditionalDirective = false);
Expand Down
8 changes: 7 additions & 1 deletion clang-tools-extra/clangd/ParsedAST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,9 @@ ParsedAST::build(llvm::StringRef Filename, const ParseInputs &Inputs,
Marks = Patch->marks();
}
auto &PP = Clang->getPreprocessor();
PP.addPPCallbacks(std::make_unique<CollectMainFileMacros>(PP, Macros));
auto MacroCollector = std::make_unique<CollectMainFileMacros>(PP, Macros);
auto *MacroCollectorPtr = MacroCollector.get(); // so we can call doneParse()
PP.addPPCallbacks(std::move(MacroCollector));

PP.addPPCallbacks(
collectPragmaMarksCallback(Clang->getSourceManager(), Marks));
Expand All @@ -709,6 +711,10 @@ ParsedAST::build(llvm::StringRef Filename, const ParseInputs &Inputs,
log("Execute() failed when building AST for {0}: {1}", MainInput.getFile(),
toString(std::move(Err)));

// Disable the macro collector for the remainder of this function, e.g.
// clang-tidy checkers.
MacroCollectorPtr->doneParse();

// We have to consume the tokens before running clang-tidy to avoid collecting
// tokens from running the preprocessor inside the checks (only
// modernize-use-trailing-return-type does that today).
Expand Down
17 changes: 17 additions & 0 deletions clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,23 @@ TEST(DiagnosticTest, ClangTidySelfContainedDiagsFormatting) {
withFix(equalToFix(ExpectedFix2))))));
}

TEST(DiagnosticsTest, ClangTidyCallingIntoPreprocessor) {
std::string Main = R"cpp(
extern "C" {
#include "b.h"
}
)cpp";
std::string Header = R"cpp(
#define EXTERN extern
EXTERN int waldo();
)cpp";
auto TU = TestTU::withCode(Main);
TU.AdditionalFiles["b.h"] = Header;
TU.ClangTidyProvider = addTidyChecks("modernize-use-trailing-return-type");
// Check that no assertion failures occur during the build
TU.build();
}

TEST(DiagnosticsTest, Preprocessor) {
// This looks like a preamble, but there's an #else in the middle!
// Check that:
Expand Down
7 changes: 6 additions & 1 deletion clang-tools-extra/include-cleaner/lib/WalkAST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,12 @@ class ASTWalker : public RecursiveASTVisitor<ASTWalker> {
bool VisitUsingDecl(UsingDecl *UD) {
for (const auto *Shadow : UD->shadows()) {
auto *TD = Shadow->getTargetDecl();
auto IsUsed = TD->isUsed() || TD->isReferenced();
// For function-decls, we might have overloads brought in due to
// transitive dependencies. Hence we only want to report explicit
// references for those if they're used.
// But for record decls, spelling of the type always refers to primary
// decl non-ambiguously. Hence spelling is already a use.
auto IsUsed = TD->isUsed() || TD->isReferenced() || !TD->getAsFunction();
report(UD->getLocation(), TD,
IsUsed ? RefType::Explicit : RefType::Ambiguous);

Expand Down
Loading