Skip to content

[AutoBump] Merge with fixes of 8388040f (Jan 23) (19) #557

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

Merged
merged 202 commits into from
Jun 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
8388040
[mlir][tosa] Add NaN Propagation Mode Support (#121951)
FranklandJack Jan 23, 2025
1930635
[clang][Modules] Raise empty.modulemap expected size to <70KB to fix …
asb Jan 23, 2025
cad6bba
[C++20][Modules] Fix crash/compiler error due broken AST links (#123648)
dmpolukhin Jan 23, 2025
2e6cc79
[MLIR][NVVM] Migrate CpAsyncOp to intrinsics (#123789)
durga4github Jan 23, 2025
cb714e7
[DebugInfo][InstrRef] Avoid producing broken DW_OP_deref_sizes (#123967)
jmorse Jan 23, 2025
ad6d808
[lldb][DWARFASTParserClang] Make C++ method parsing aware of explicit…
Michael137 Jan 23, 2025
fa7f0e5
[NVPTX] Add Bulk Copy Prefetch Intrinsics (#123226)
abhilash1910 Jan 23, 2025
17756aa
[Clang] [Release Notes] Implicit lifetimes are a C++23 feature
cor3ntin Jan 23, 2025
a802093
Revert "[lldb][DWARFASTParserClang] Make C++ method parsing aware of …
Michael137 Jan 23, 2025
05fbc38
[VPlan] Move VPBlockUtils to VPlanUtils.h (NFC)
fhahn Jan 23, 2025
4bcdb26
Revert "[lldb][test] Remove compiler version check and use regex" (#1…
Michael137 Jan 23, 2025
4f26edd
[NFC][YAML] Add `IO::error()` (#123475)
vitalybuka Jan 23, 2025
1311b36
[llvm][Support] Put back filename into FileToRemoveList (#124065)
vitalybuka Jan 23, 2025
636bc72
Reland "[lldb][DWARFASTParserClang] Make C++ method parsing aware of …
Michael137 Jan 23, 2025
3ea2b54
[lldb/windows] Make "anonymous" pipe names more unique (#123905)
labath Jan 23, 2025
0236cb6
[lldb] Enable "frame diagnose" on linux (#123217)
labath Jan 23, 2025
6f68481
[libc++] Use [[clang::no_specializations]] to diagnose invalid user s…
philnik777 Jan 23, 2025
9705500
[libclc] Move nextafter to the CLC library (#124097)
frasercrmck Jan 23, 2025
e069518
SCEV: cover a codepath in isImpliedCondBalancedTypes (#123070)
artagnon Jan 23, 2025
0e944a3
[SCFToGPU] Convert scf.parallel+scf.reduce to gpu.all_reduce (#122782)
tkarna Jan 23, 2025
90e9895
[X86] Handle BSF/BSR "zero-input pass through" behaviour (#123623)
RKSimon Jan 23, 2025
0c66644
[bazel]Fix bazel build past 2e6cc79f816d942ab09d6a310cd925c1da148aa9 …
dklimkin Jan 23, 2025
590e5e2
[M68k] Fix llc pass test after 3630d9ef65b30af7e4ca78e668649bbc48b5be66
darkbuck Jan 23, 2025
d3d605b
[FileCheck] Use move semantics instead of std::swap. NFC. (#123304)
jayfoad Jan 23, 2025
fb3fa41
MachineRegisterInfo: Use variable for TRI
arsenm Jan 7, 2025
6fdaaaf
[AMDGPU] SIPeepholeSDWA: Disable on existing SDWA instructions (#123942)
frederik-h Jan 23, 2025
d8eb4ac
[Support] Remove ciso646 include (#123578)
nikic Jan 23, 2025
ff55c9b
[llvm][amdgpu] Handle indirect refs to LDS GVs during LDS lowering (#…
ergawy Jan 23, 2025
92b839e
[gn] fix mistake in ee99c4d4845db
nico Jan 22, 2025
e28e935
AMDGPU: Make vector_shuffle legal for v2i32 with v_pk_mov_b32 (#123684)
arsenm Jan 23, 2025
0c71fdd
[NVPTX] Fix ctor / dtor lowering when NVPTX target is not enabled (#1…
jhuber6 Jan 23, 2025
99d450e
Revert "[AMDGPU] SIPeepholeSDWA: Disable on existing SDWA instruction…
nico Jan 23, 2025
4d3a530
[bazel]Fix(2) bazel build past 2e6cc79f816d942ab09d6a310cd925c1da148a…
dklimkin Jan 23, 2025
25653e5
[AVX10.2] Update convert chapter intrinsic and mnemonics names (#123656)
mikolaj-pirog Jan 23, 2025
1f0964f
[llvm][Docs] Clarify finding maintainers
DavidSpickett Jan 23, 2025
26b61e1
[LoopVectorizer] Propagate underlying instruction to the cloned insta…
NickGuy-Arm Jan 23, 2025
6206f54
[AMDGPU] Occupancy w.r.t. workgroup size range is also a range (#123748)
lucas-rami Jan 23, 2025
c3b40c7
[X86] Regenerate test checks (NFC)
nikic Jan 23, 2025
f61d93f
[Flang] Generate math.acos op for non-precise acos intrinsic calls (#…
jsjodin Jan 23, 2025
6fe0fc6
[CallingConv] Return ArrayRef from AllocateRegBlock() (NFC) (#124120)
nikic Jan 23, 2025
e1aa1e4
[WPD]Provide branch weight for checking mode. (#124084)
mingmingl-llvm Jan 23, 2025
96410ed
mark test as unsupported as I investigate test failure on certain env…
mingmingl-llvm Jan 23, 2025
cb426b1
[NFC][DirectX] Clean-up of `DXIL.td` (#124005)
inbelic Jan 23, 2025
4bd0440
[RISCV] Add RVVConstraint to SiFive custom matrix multiply instructio…
topperc Jan 23, 2025
1937a36
[RISCV] Add @earlyclobber to SiFive custom matrix multiply instructio…
topperc Jan 23, 2025
df29995
[mlir] Fix warnings
kazutakahirata Jan 23, 2025
bca6dbd
[X86] Add additional i128 abi test (NFC)
nikic Jan 23, 2025
7db4ba3
[GlobalMerge][NFC] Fix inaccurate comments (#124136)
michaelmaitland Jan 23, 2025
fa29929
[SLP][NFC]Modernize code base in several places
alexey-bataev Jan 23, 2025
e622468
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#124074)
kazutakahirata Jan 23, 2025
113e1fd
[CodeGen] Migrate away from PointerUnion::dyn_cast (NFC) (#124076)
kazutakahirata Jan 23, 2025
d050083
[lldb] Avoid repeated map lookups (NFC) (#124077)
kazutakahirata Jan 23, 2025
bb019dd
[CodeGen] Avoid repeated hash lookups (NFC) (#124078)
kazutakahirata Jan 23, 2025
bda39a6
[ExecutionEngine] Include <map> (#124083)
kazutakahirata Jan 23, 2025
7ddeea3
[LLVM][AMDGPU] MC support for ds_bpermute_fi_b32 (#124108)
Acim-Maravic Jan 23, 2025
d8cd8d5
[SLP] getSpillCost - fully populate IntrinsicCostAttributes to improv…
RKSimon Jan 23, 2025
2f76e2b
[Driver] -fno-plt: warn for unsupported targets
MaskRay Jan 23, 2025
082b148
[TableGen] Pass CodeGenProcModel reference instead of index to addWri…
topperc Jan 23, 2025
1a8f49f
[mlir][python][cmake] Allow skipping nanobind compile options changes…
ScottTodd Jan 23, 2025
8c138be
[flang][cuda] Handle pointer allocation with source (#124070)
clementval Jan 23, 2025
caf0540
[LoopVectorizer] Add support for chaining partial reductions (#120272)
NickGuy-Arm Jan 23, 2025
a245309
[llvm-profdata] Add block percent to detailed summary (#105915)
ellishg Jan 23, 2025
e00f1f8
[ELF] Error for executable .note.GNU-stack unless -z execstack or -r
MaskRay Jan 23, 2025
6d4e72a
[GVN] Add extra vscale tests with different types. NFC
davemgreen Jan 22, 2025
3d72619
[InstCombine] Add a test for splitting scalable structs. NFC
davemgreen Jan 23, 2025
e062224
[test] Remove misleading ''
MaskRay Jan 23, 2025
ed51271
[Offload] Make MemoryManager threshold ENV var size_t type. (#124063)
hidekisaito Jan 23, 2025
6a97897
[NFC][modules] Create objects on the stack (#124034)
vitalybuka Jan 23, 2025
c7e6ca7
[SLP][NFC]Add dump() method for ScheduleData struct type for better d…
alexey-bataev Jan 23, 2025
66e49e3
[YAML] Don't validate `Fill::Size` after error (#123280)
vitalybuka Jan 23, 2025
ff17a41
[lldb] Remove support and workarounds for Android 4 and older (#124047)
brad0 Jan 23, 2025
5a7d92f
[NFC] Remove invalid features from test and autogenerate checks. (#12…
labrinea Jan 23, 2025
e0cd57d
[compiler-rt] Remove support and workarounds for Android 4 and older …
brad0 Jan 23, 2025
6045146
[libc] change return type of pthread_setspecific to int in generated …
alexprabhat99 Jan 23, 2025
0290693
[llvm-profdata] XFAIL broken test on windows (#124165)
ellishg Jan 23, 2025
db6b7a8
[libc][NFC] Strip all training whitespace and missing newlines (#124163)
jhuber6 Jan 23, 2025
2f6b0b4
[RISCV] Add SiFive sf.vqmacc tests to vmv-copy.mir. NFC (#124075)
topperc Jan 23, 2025
bec4c7f
[InstCombine] Unpack scalable struct loads/stores. (#123986)
davemgreen Jan 23, 2025
3dec24d
Stats are sorted before they are printed. Try fixing test failure by …
mingmingl-llvm Jan 23, 2025
6d5697f
[SystemZ] Fix ICE with i128->i64 uaddo carry chain
uweigand Jan 23, 2025
0d01908
[TailDup] Allow large number of predecessors/successors without phis.…
fhahn Jan 23, 2025
1c28b92
[Clang] __has_builtin should return false for aux triple builtins (#1…
sarnex Jan 23, 2025
a6211a6
[gn build] Port ff17a4136ded
llvmgnsyncbot Jan 23, 2025
4cf1fe2
[lldb] Add missing operations to GetOpcodeDataSize (#120163)
JDevlieghere Jan 23, 2025
775d0f3
[GVN] Handle scalable vectors with the same size in VNCoercion (#123984)
davemgreen Jan 23, 2025
c9b7303
Add [[maybe_unused]] to a variable used only in assert in VPlan.h (#1…
basioli-k Jan 23, 2025
c3ecbe6
Disable the test again.
mingmingl-llvm Jan 23, 2025
4018317
[Clang] restrict use of attribute names reserved by the C++ standard …
a-tarasyuk Jan 23, 2025
d17e4ca
[bazel][NFC] Add td_library for downstream use (#124156)
rupprecht Jan 23, 2025
cb981cc
[libc] added btowc to wchar.h generated header (#124168)
alexprabhat99 Jan 23, 2025
c118864
[MLIR][ROCDL]Add MFMA_*_F8F6F4 instructions to the ROCDL dialect (#12…
yiqian1 Jan 23, 2025
24b1373
[libc][docs] Add Unistd header's page to the status of implementatio…
StarOne01 Jan 23, 2025
e10d551
[mlir][PDLL] Allow (and ignore) `-D` tablegen macros. (#124166)
rupprecht Jan 23, 2025
c4ca87e
[yaml2obj] Don't use uninitialized Type (#123274)
vitalybuka Jan 23, 2025
7a831eb
[VPlan] Remove unused VPLane::getNumCachedLanes. (NFC)
fhahn Jan 23, 2025
0b7cbd2
[Darwin][Sanitizers][CrashReporter] Adopt initializer for Crash Repor…
thetruestblue Jan 23, 2025
e19261f
[TableGen] Add a SmallPtrSet to track WriteRes that are referenced by…
topperc Jan 23, 2025
e30a4fc
[TargetLowering] Improve one signature of forceExpandWideMUL. (#123991)
topperc Jan 23, 2025
76ed4b1
[TableGen] Add StringInit pools to RecordKeeperImpl::dumpAllocationSt…
topperc Jan 23, 2025
f2942b9
[CodeGen] NFC: Move isDead to MachineInstr (#123531)
jrbyrnes Jan 23, 2025
1688c87
s/requires/REQUIRES to fix the test on release build
mingmingl-llvm Jan 23, 2025
3ed28bb
[bazel] Generate CXX11AttributeInfo.inc for 4018317407006b2c632fbb757…
d0k Jan 23, 2025
631a6e0
[libc][wchar] implement wcslen (#124150)
nickdesaulniers Jan 23, 2025
d87441a
[llvm-profdata] Fix detailed summary format on Windows (#124169)
ellishg Jan 23, 2025
f402e06
[RISCV][VLOPT] Add vector fp min/max instructions to isSupportedInstr…
michaelmaitland Jan 23, 2025
bf258db
[RISCV][VLOPT] support fp sign injection instructions (#124195)
michaelmaitland Jan 23, 2025
fc952b2
[AArch64] Add pre-index store patterns for bf16.
davemgreen Jan 23, 2025
0e21383
Revert "[LoopVectorizer] Add support for chaining partial reductions …
vitalybuka Jan 23, 2025
f5bd623
[RISCV][VLOPT] Rename vx to vf where appropriate in test case
michaelmaitland Jan 23, 2025
9324e6a
[llvm-objcopy][ELF] Add an option to remove notes (#118739)
igorkudrin Jan 23, 2025
42043c4
Reapply "Verifier: Add check for DICompositeType elements being null"
dwblaikie Jan 17, 2025
25825d4
[WebAssembly] Enable Wasm EH features only once (#124042)
aheejin Jan 23, 2025
4f03258
[ORC] Enable JIT support for the compact-unwind frame info format on …
lhames Jan 22, 2025
621e5cd
Revert "[llvm-objcopy][ELF] Add an option to remove notes (#118739)"
igorkudrin Jan 23, 2025
c7053ac
[SandboxVec][BottomUpVec] Disable crossing BBs (#124039)
vporpo Jan 23, 2025
4065d98
[flang][cuda] Allow complex type in cuf kernel reduce (#124185)
clementval Jan 23, 2025
3d59e30
[flang][cuda] Allow DO CONCURRENT in cuf kernel (#124190)
clementval Jan 23, 2025
1077280
Reapply "[llvm-objcopy][ELF] Add an option to remove notes (#118739)"
igorkudrin Jan 23, 2025
bc74a1e
[IA] Generalize the support for power-of-two (de)interleave intrinsic…
mshockwave Jan 23, 2025
28ad897
Reland: [clang] unified CWG2398 and P0522 changes; finishes implement…
mizvekov Jan 23, 2025
c676104
[lld-macho] Implement symbol string deduplication (#123874)
alx32 Jan 23, 2025
13dae34
[DSE] Enable the initializes improvement in DSE (#124058)
haopliu Jan 23, 2025
67a8857
[flang][cuda] Handle pointer allocation with double descriptors (#124…
clementval Jan 23, 2025
26fc07d
[ORC] Add explicit narrowing casts to fix build errors.
lhames Jan 23, 2025
7883184
Revert "[InstCombine] Teach foldSelectOpOp about samesign" (#124123)
alexfh Jan 24, 2025
33c4407
[RISCV] Support cR Inline Asm Constraint (#124174)
lenary Jan 24, 2025
d2234ca
[SandboxVec][BottomUpVec] Fix packing when PHIs are present (#124206)
vporpo Jan 24, 2025
969eb4e
[msan][NFC] Correct and clarify comment for getShadowPtrOffset()
thurstond Jan 24, 2025
24f177d
[X86][AVX10.2-BF16] Update VCOMISBF16 intrinsics and instructions (#1…
phoebewang Jan 24, 2025
acb7859
[MachineSink] Extend loop sinking capability (#117247)
jrbyrnes Jan 24, 2025
0013264
[clang][test] Add .cuh as a recognized extension for lit test files (…
HighCommander4 Jan 24, 2025
4405f72
[llvm][NFC] Remove CV-qualified base class in PassManagerInternal.h (…
mustartt Jan 24, 2025
b11529b
[libc] Use -fno-math-errno to for __builtin_fma* to generate fma inst…
lntue Jan 24, 2025
e06b703
[RISCV][NFC] Remove Redundant Inline Asm Logic (#124202)
lenary Jan 24, 2025
0ef39a8
MachineCSE: Remove check for subreg on a def operand (#124095)
arsenm Jan 24, 2025
378dcf6
[C++20] [Modules] Fix may-be incorrect ADL for module local entities …
ChuanqiXu9 Jan 24, 2025
6735d52
[MIPS] [MSA] Widen v2i8, v216 and v2i32 vectors (#123040)
Cyanoxygen Jan 24, 2025
9fecb4f
[CodeGen] Fix a warning
kazutakahirata Jan 24, 2025
a001cc0
[ORC] Destroy defunct MaterializationUnits outside the session lock.
lhames Jan 24, 2025
c9bc242
[clang-repl] The simple-exception test now passes on arm64-darwin.
lhames Jan 24, 2025
435609b
[LLVM][NVPTX] Add support for griddepcontrol instruction (#123511)
schwarzschild-radius Jan 24, 2025
fd174f0
[clang-repl] Try to XFAIL testcase on arm32 without affecting arm64 d…
lhames Jan 24, 2025
02a3004
[compiler-rt][rtsan] preadv(64)/pwritev(64) interception. (#124115)
devnexen Jan 24, 2025
f3d2e75
[compiler-rt][rtsan] inotify api for Linux interception. (#124177)
devnexen Jan 24, 2025
6db73fa
[SandboxVec][Scheduler] Fix clear() to clear all state (#124214)
vporpo Jan 24, 2025
2f39d13
[DirectX] Handle dx.RawBuffer in DXILResourceAccess (#121725)
bogner Jan 24, 2025
6330f1e
[clang-format] Fix a regression in `PointerAlignment: Left` (#124085)
owenca Jan 24, 2025
3c79a04
[AMDGPU] Add amdgpu-sw-lower-lds pass to NPM codegen addIRPasses. (#1…
skc7 Jan 24, 2025
a9c61e0
[NewPM] LiveIntervals: Check dependencies for invalidation (#123563)
optimisan Jan 24, 2025
9dd5aed
[JITLink][LoongArch] Support R_LARCH_ALIGN relaxation (#122259)
zhaoqi5 Jan 24, 2025
212cdc9
Revert "[ORC] Enable JIT support for the compact-unwind frame info fo…
lhames Jan 24, 2025
45d83ae
[mlir] [math] Fix the precision issue of expand math (#120865)
cxy-1993 Jan 24, 2025
8ef171e
[msan] Handle horizontal add/subtract intrinsic by applying to shadow…
thurstond Jan 24, 2025
b84b717
[CostModel] getTypeBasedIntrinsicInstrCost - add default cost approxi…
RKSimon Jan 24, 2025
f6253f8
[JITLink][LoongArch] Add label addition and subtraction relocations (…
zhaoqi5 Jan 24, 2025
ddd2f57
[X86] Use NSW/NUW flags on ISD::TRUNCATE nodes to improve X86 PACKSS/…
RKSimon Jan 24, 2025
886adf8
[clang][ExprConst] Let diagnostics point to std::allocator calls (#12…
tbaederr Jan 24, 2025
ee2722f
[X86][AVX10.2-BF16] Remove [NE]P from intrinsic and instruction name …
phoebewang Jan 24, 2025
e289cb5
[lldb] Remove more workrounds for Android that have been fixed upstre…
brad0 Jan 24, 2025
bfd9bc2
[AMDGPU] SIPeepholeSDWA: Disable on existing SDWA instructions (#124131)
frederik-h Jan 24, 2025
a6cfde6
[lldb] Check Android API for existence of getgrgid_r() introduced in …
brad0 Jan 24, 2025
eda1699
[lldb] Enable the use of dladdr() on Android (#124187)
brad0 Jan 24, 2025
97df741
[llvm][Docs] Make it clear where lit test files live (#124121)
DavidSpickett Jan 24, 2025
24e70e3
[libc++] Switch experimental library macros to 0/1 macros (#124030)
philnik777 Jan 24, 2025
196f7c2
[Utils] Identity map module-level debug info on first use in CloneFun…
artempyanykh Jan 24, 2025
df3bc54
[flang] Avoid repeated hash lookups (NFC) (#124230)
kazutakahirata Jan 24, 2025
990837f
[mlir][arith][tensor] Disable index type for bitcast (#121455)
jacquesguan Jan 24, 2025
1fa5603
[CostModel][X86] getIntrinsicInstrCost - lrint/llrint costs can use g…
RKSimon Jan 24, 2025
b4ef11d
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#124228)
kazutakahirata Jan 24, 2025
148da06
[Sema] Migrate away from PointerUnion::dyn_cast (NFC) (#124229)
kazutakahirata Jan 24, 2025
1c0af8d
[TySan] Added tests for methods of ignoring instrumentation (#124125)
gbMattN Jan 24, 2025
4b6fc49
[llvm][Docs] Clarify the process for requesting a merge on your behal…
DavidSpickett Jan 24, 2025
0510d4e
[bazel]Fix bazel build after 631a6e0004e57ca85569b99ea411418627925697
basioli-k Jan 24, 2025
865104a
[AArch64][SME] Change output class of FORM_TRANSPOSED_REG_TUPLE pseud…
kmclaughlin-arm Jan 24, 2025
7746596
[SLP][X86] Add VBMI2 coverage for funnel shift tests
RKSimon Jan 24, 2025
aff1242
[LV] Align debug location of the widen-phi to the original phi. (#120…
ElvisWang123 Jan 24, 2025
3208801
[AArch64][GlobalISel] Add some bf16 GISel test coverage. NFC
davemgreen Jan 24, 2025
f8a56df
AMDGPU/GlobalISel: AMDGPURegBankSelect (#112863)
petar-avramovic Jan 24, 2025
625e0a4
[SLP][X86] Add missing SSE2/SSE4 checks from vector rotate tests
RKSimon Jan 24, 2025
9bb3c62
[Flang][Driver] Deprecate Ofast (#101701)
kiranchandramohan Jan 24, 2025
e6030d3
[clang][bytecode] Use std::allocator calls for Descriptor source (#12…
tbaederr Jan 24, 2025
8e70273
[NFC][DebugInfo] Use iterator moveBefore at many call-sites (#123583)
jmorse Jan 24, 2025
dac49e8
[Arm] Fix generating code with UB in NeonEmitter (#121802)
momchil-velikov Jan 24, 2025
33fc477
[clang][NFC] Update `cxx_dr_status.html`
Endilll Jan 24, 2025
965ff7f
[NVPTX] Add SM versions for 101 and 120 (#124155)
durga4github Jan 24, 2025
0ee037b
AMDGPU/GlobalISel: AMDGPURegBankLegalize (#112864)
petar-avramovic Jan 24, 2025
88136f9
[mlir][vector] Canonicalize gathers/scatters with trivial offsets (#1…
Hardcode84 Jan 24, 2025
46a08ce
[clang-tidy][NFC] simplify `TimerGroup` in `ClangTidyProfiling` (#123…
HerrCai0907 Jan 24, 2025
8e6d6a5
[clang-tidy][NFC] improve performance misc-unused-using-decls (#123454)
HerrCai0907 Jan 24, 2025
4831fa8
AMDGPU/GlobalISel: RegBankLegalize rules for load (#112882)
petar-avramovic Jan 24, 2025
5ce3495
[Coro] Prebuild a module-level debug info set and share it between al…
artempyanykh Jan 24, 2025
b60c118
MachineUniformityAnalysis: Improve isConstantOrUndefValuePhi (#112866)
petar-avramovic Jan 24, 2025
57b4898
[lldb] Use the first address range as the function address (#122440)
labath Jan 24, 2025
acc13db
[libc][workflow] improve ci coverage with windows-2025 and arm ubuntu…
SchrodingerZhu Jan 24, 2025
d6e0798
[Mips] Add the missing judgment when processing function handleMFLOSl…
yingopq Jan 24, 2025
b4e81fd
[gn] port 4018317407006b2c63
nico Jan 24, 2025
eb206e9
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776)
andfau-amd Jan 24, 2025
a8bfe24
[AutoBump] Merge with fixes of 8388040f (Jan 23)
jorickert May 21, 2025
9dfe3ec
[AutoBump] Merge with b4e81fd1 (Jan 24)
jorickert May 21, 2025
f106a87
[AutoBump] Merge with fixes of eb206e9e (Jan 24)
jorickert May 21, 2025
c48c70f
Merge pull request #559 from Xilinx/bump_to_eb206e9e
jorickert Jun 26, 2025
19ec244
Merge pull request #558 from Xilinx/bump_to_b4e81fd1
jorickert Jun 26, 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
  •  
  •  
  •  
17 changes: 12 additions & 5 deletions .github/workflows/libc-fullbuild-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@ on:

jobs:
build:
runs-on: ubuntu-24.04
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- c_compiler: clang
- os: ubuntu-24.04
ccache-variant: sccache
c_compiler: clang
cpp_compiler: clang++
# TODO: remove ccache logic when https://github.com/hendrikmuhs/ccache-action/issues/279 is resolved.
- os: ubuntu-24.04-arm
ccache-variant: ccache
c_compiler: clang
cpp_compiler: clang++
# TODO: add back gcc build when it is fixed
# - c_compiler: gcc
Expand All @@ -35,7 +42,7 @@ jobs:
with:
max-size: 1G
key: libc_fullbuild_${{ matrix.c_compiler }}
variant: sccache
variant: ${{ matrix.ccache-variant }}

# Notice:
# - MPFR is required by some of the mathlib tests.
Expand All @@ -62,8 +69,8 @@ jobs:
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=MinSizeRel
-DCMAKE_C_COMPILER_LAUNCHER=sccache
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
-DCMAKE_C_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
-DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.build-install-dir }}
-DLLVM_ENABLE_RUNTIMES="libc;compiler-rt"
-DLLVM_LIBC_FULL_BUILD=ON
Expand Down
20 changes: 17 additions & 3 deletions .github/workflows/libc-overlay-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,28 @@ jobs:
include:
# TODO: add linux gcc when it is fixed
- os: ubuntu-24.04
ccache-variant: sccache
compiler:
c_compiler: clang
cpp_compiler: clang++
# TODO: remove ccache logic when https://github.com/hendrikmuhs/ccache-action/issues/279 is resolved.
- os: ubuntu-24.04-arm
ccache-variant: ccache
compiler:
c_compiler: clang
cpp_compiler: clang++
- os: windows-2022
ccache-variant: sccache
compiler:
c_compiler: clang-cl
cpp_compiler: clang-cl
- os: windows-2025
ccache-variant: sccache
compiler:
c_compiler: clang-cl
cpp_compiler: clang-cl
- os: macos-14
ccache-variant: sccache
compiler:
c_compiler: clang
cpp_compiler: clang++
Expand All @@ -46,7 +60,7 @@ jobs:
with:
max-size: 1G
key: libc_overlay_build_${{ matrix.os }}_${{ matrix.compiler.c_compiler }}
variant: sccache
variant: ${{ matrix.ccache-variant }}

# MPFR is required by some of the mathlib tests.
- name: Prepare dependencies (Ubuntu)
Expand Down Expand Up @@ -82,8 +96,8 @@ jobs:
-DCMAKE_CXX_COMPILER=${{ matrix.compiler.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.compiler.c_compiler }}
-DCMAKE_BUILD_TYPE=MinSizeRel
-DCMAKE_C_COMPILER_LAUNCHER=sccache
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
-DCMAKE_C_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
-DCMAKE_POLICY_DEFAULT_CMP0141=NEW
-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded
-DLLVM_ENABLE_RUNTIMES=libc
Expand Down
21 changes: 11 additions & 10 deletions clang-tools-extra/clang-tidy/ClangTidyProfiling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,25 @@ ClangTidyProfiling::StorageParams::StorageParams(llvm::StringRef ProfilePrefix,
.str();
}

void ClangTidyProfiling::printUserFriendlyTable(llvm::raw_ostream &OS) {
TG->print(OS);
void ClangTidyProfiling::printUserFriendlyTable(llvm::raw_ostream &OS,
llvm::TimerGroup &TG) {
TG.print(OS);
OS.flush();
}

void ClangTidyProfiling::printAsJSON(llvm::raw_ostream &OS) {
void ClangTidyProfiling::printAsJSON(llvm::raw_ostream &OS,
llvm::TimerGroup &TG) {
OS << "{\n";
OS << R"("file": ")" << Storage->SourceFilename << "\",\n";
OS << R"("timestamp": ")" << Storage->Timestamp << "\",\n";
OS << "\"profile\": {\n";
TG->printJSONValues(OS, "");
TG.printJSONValues(OS, "");
OS << "\n}\n";
OS << "}\n";
OS.flush();
}

void ClangTidyProfiling::storeProfileData() {
void ClangTidyProfiling::storeProfileData(llvm::TimerGroup &TG) {
assert(Storage && "We should have a filename.");

llvm::SmallString<256> OutputDirectory(Storage->StoreFilename);
Expand All @@ -71,19 +73,18 @@ void ClangTidyProfiling::storeProfileData() {
return;
}

printAsJSON(OS);
printAsJSON(OS, TG);
}

ClangTidyProfiling::ClangTidyProfiling(std::optional<StorageParams> Storage)
: Storage(std::move(Storage)) {}

ClangTidyProfiling::~ClangTidyProfiling() {
TG.emplace("clang-tidy", "clang-tidy checks profiling", Records);

llvm::TimerGroup TG{"clang-tidy", "clang-tidy checks profiling", Records};
if (!Storage)
printUserFriendlyTable(llvm::errs());
printUserFriendlyTable(llvm::errs(), TG);
else
storeProfileData();
storeProfileData(TG);
}

} // namespace clang::tidy
9 changes: 3 additions & 6 deletions clang-tools-extra/clang-tidy/ClangTidyProfiling.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,11 @@ class ClangTidyProfiling {
};

private:
std::optional<llvm::TimerGroup> TG;

std::optional<StorageParams> Storage;

void printUserFriendlyTable(llvm::raw_ostream &OS);
void printAsJSON(llvm::raw_ostream &OS);

void storeProfileData();
void printUserFriendlyTable(llvm::raw_ostream &OS, llvm::TimerGroup &TG);
void printAsJSON(llvm::raw_ostream &OS, llvm::TimerGroup &TG);
void storeProfileData(llvm::TimerGroup &TG);

public:
llvm::StringMap<llvm::TimeRecord> Records;
Expand Down
10 changes: 4 additions & 6 deletions clang-tools-extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ UnusedUsingDeclsCheck::UnusedUsingDeclsCheck(StringRef Name,
HeaderFileExtensions(Context->getHeaderFileExtensions()) {}

void UnusedUsingDeclsCheck::registerMatchers(MatchFinder *Finder) {
// We don't emit warnings on unused-using-decls from headers, so bail out if
// the main file is a header.
if (utils::isFileExtension(getCurrentMainFile(), HeaderFileExtensions))
return;
Finder->addMatcher(usingDecl(isExpansionInMainFile()).bind("using"), this);
auto DeclMatcher = hasDeclaration(namedDecl().bind("used"));
Finder->addMatcher(loc(templateSpecializationType(DeclMatcher)), this);
Expand Down Expand Up @@ -83,12 +87,6 @@ void UnusedUsingDeclsCheck::registerMatchers(MatchFinder *Finder) {
void UnusedUsingDeclsCheck::check(const MatchFinder::MatchResult &Result) {
if (Result.Context->getDiagnostics().hasUncompilableErrorOccurred())
return;
// We don't emit warnings on unused-using-decls from headers, so bail out if
// the main file is a header.
if (auto MainFile = Result.SourceManager->getFileEntryRefForID(
Result.SourceManager->getMainFileID());
utils::isFileExtension(MainFile->getName(), HeaderFileExtensions))
return;

if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) {
// Ignores using-declarations defined in macros.
Expand Down
8 changes: 4 additions & 4 deletions clang-tools-extra/modularize/CoverageChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,15 +278,15 @@ CoverageChecker::collectUmbrellaHeaderHeaders(StringRef UmbrellaHeaderName) {
sys::fs::current_path(PathBuf);

// Create the compilation database.
std::unique_ptr<CompilationDatabase> Compilations;
Compilations.reset(new FixedCompilationDatabase(Twine(PathBuf), CommandLine));
FixedCompilationDatabase Compilations(Twine(PathBuf), CommandLine);

std::vector<std::string> HeaderPath;
HeaderPath.push_back(std::string(UmbrellaHeaderName));

// Create the tool and run the compilation.
ClangTool Tool(*Compilations, HeaderPath);
int HadErrors = Tool.run(new CoverageCheckerFrontendActionFactory(*this));
ClangTool Tool(Compilations, HeaderPath);
CoverageCheckerFrontendActionFactory ActionFactory(*this);
int HadErrors = Tool.run(&ActionFactory);

// If we had errors, exit early.
return !HadErrors;
Expand Down
23 changes: 19 additions & 4 deletions clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,6 @@ C++ Language Changes
C++2c Feature Support
^^^^^^^^^^^^^^^^^^^^^

- Add ``__builtin_is_implicit_lifetime`` intrinsic, which supports
`P2647R1 A trait for implicit lifetime types <https://wg21.link/p2674r1>`_

- Add ``__builtin_is_virtual_base_of`` intrinsic, which supports
`P2985R0 A type trait for detecting virtual base classes <https://wg21.link/p2985r0>`_

Expand All @@ -318,13 +315,20 @@ C++23 Feature Support

- ``__cpp_explicit_this_parameter`` is now defined. (#GH82780)

- Add ``__builtin_is_implicit_lifetime`` intrinsic, which supports
`P2674R1 A trait for implicit lifetime types <https://wg21.link/p2674r1>`_

- Add support for `P2280R4 Using unknown pointers and references in constant expressions <https://wg21.link/P2280R4>`_. (#GH63139)

C++20 Feature Support
^^^^^^^^^^^^^^^^^^^^^

- Implemented module level lookup for C++20 modules. (#GH90154)

C++17 Feature Support
^^^^^^^^^^^^^^^^^^^^^
- The implementation of the relaxed template template argument matching rules is
more complete and reliable, and should provide more accurate diagnostics.

Resolutions to C++ Defect Reports
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -351,7 +355,8 @@ Resolutions to C++ Defect Reports
(`CWG2351: void{} <https://cplusplus.github.io/CWG/issues/2351.html>`_).

- Clang now has improved resolution to CWG2398, allowing class templates to have
default arguments deduced when partial ordering.
default arguments deduced when partial ordering, and better backwards compatibility
in overload resolution.

- Clang now allows comparing unequal object pointers that have been cast to ``void *``
in constant expressions. These comparisons always worked in non-constant expressions.
Expand Down Expand Up @@ -636,6 +641,10 @@ Improvements to Clang's diagnostics

- Clang now diagnoses when the result of a [[nodiscard]] function is discarded after being cast in C. Fixes #GH104391.

- Clang now properly explains the reason a template template argument failed to
match a template template parameter, in terms of the C++17 relaxed matching rules
instead of the old ones.

- Don't emit duplicated dangling diagnostics. (#GH93386).

- Improved diagnostic when trying to befriend a concept. (#GH45182).
Expand Down Expand Up @@ -807,6 +816,8 @@ Improvements to Clang's diagnostics

- Clang now emits a ``-Wignored-qualifiers`` diagnostic when a base class includes cv-qualifiers (#GH55474).

- Clang now diagnoses the use of attribute names reserved by the C++ standard (#GH92196).

Improvements to Clang's time-trace
----------------------------------

Expand Down Expand Up @@ -885,6 +896,8 @@ Bug Fixes to C++ Support
- Correctly check constraints of explicit instantiations of member functions. (#GH46029)
- When performing partial ordering of function templates, clang now checks that
the deduction was consistent. Fixes (#GH18291).
- Fixes to several issues in partial ordering of template template parameters, which
were documented in the test suite.
- Fixed an assertion failure about a constraint of a friend function template references to a value with greater
template depth than the friend function template. (#GH98258)
- Clang now rebuilds the template parameters of out-of-line declarations and specializations in the context
Expand Down Expand Up @@ -975,6 +988,8 @@ Bug Fixes to C++ Support
- Fixed a nested lambda substitution issue for constraint evaluation. (#GH123441)
- Fixed various false diagnostics related to the use of immediate functions. (#GH123472)
- Fix immediate escalation not propagating through inherited constructors. (#GH112677)
- Fixed assertions or false compiler diagnostics in the case of C++ modules for
lambda functions or inline friend functions defined inside templates (#GH122493).

Bug Fixes to AST Handling
^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
9 changes: 8 additions & 1 deletion clang/include/clang/Basic/AttributeCommonInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,18 @@ class AttributeCommonInfo {
};
enum Kind {
#define PARSED_ATTR(NAME) AT_##NAME,
#include "clang/Sema/AttrParsedAttrList.inc"
#include "clang/Basic/AttrParsedAttrList.inc"
#undef PARSED_ATTR
NoSemaHandlerAttribute,
IgnoredAttribute,
UnknownAttribute,
};
enum class Scope { NONE, CLANG, GNU, MSVC, OMP, HLSL, GSL, RISCV };
enum class AttrArgsInfo {
None,
Optional,
Required,
};

private:
const IdentifierInfo *AttrName = nullptr;
Expand Down Expand Up @@ -241,6 +246,8 @@ class AttributeCommonInfo {
static Kind getParsedKind(const IdentifierInfo *Name,
const IdentifierInfo *Scope, Syntax SyntaxUsed);

static AttrArgsInfo getCXX11AttrArgsInfo(const IdentifierInfo *Name);

private:
/// Get an index into the attribute spelling list
/// defined in Attr.td. This index is used by an attribute
Expand Down
5 changes: 5 additions & 0 deletions clang/include/clang/Basic/Attributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ int hasAttribute(AttributeCommonInfo::Syntax Syntax,
const IdentifierInfo *Scope, const IdentifierInfo *Attr,
const TargetInfo &Target, const LangOptions &LangOpts);

int hasAttribute(AttributeCommonInfo::Syntax Syntax,
const IdentifierInfo *Scope, const IdentifierInfo *Attr,
const TargetInfo &Target, const LangOptions &LangOpts,
bool CheckPlugins);

} // end namespace clang

#endif // LLVM_CLANG_BASIC_ATTRIBUTES_H
Loading