Skip to content

[AutoBump] Merge with fixes of 7e622b61 (Jan 22) (17) #555

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 286 commits into from
Jun 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
286 commits
Select commit Hold shift + click to select a range
6f69ade
PeepholeOpt: Remove null TargetRegisterInfo check (#123933)
arsenm Jan 23, 2025
2646e2d
PeepholeOpt: Stop allocating tiny helper classes (NFC) (#123936)
arsenm Jan 23, 2025
ba70368
[Clang][Driver] Support linker relaxation options for LoongArch (#123…
zhaoqi5 Jan 23, 2025
15c2d4b
PeepholeOpt: Remove check for subreg index on a def operand (#123943)
arsenm Jan 23, 2025
9cefa3e
[msan] Generalize handleIntrinsicByApplyingToShadow by adding bitcast…
thurstond Jan 23, 2025
ba3e6f0
[RISCV][VLOPT] Remove dead passthru check in getOperandLog2EEW. NFC (…
lukel97 Jan 23, 2025
0fe8e70
Revert "Reland "[HLSL] Implement the `reflect` HLSL function"" (#124046)
inbelic Jan 23, 2025
3ef90f8
[emitc] Fix the translation switchop with argument of expressionop (#…
jacquesguan Jan 23, 2025
b46fcb9
[Clang] Implement CWG 2628 "Implicit deduction guides should propagat…
zyn0217 Jan 23, 2025
652ff20
[flang][cuda] Adding atomicadd as a cudadevice intrinsic and converti…
Renaud-K Jan 23, 2025
892a804
[NVPTX] Stop using 16-bit CAS instructions from PTX (#120220)
akshayrdeodhar Jan 23, 2025
1c5d971
[Signals] Exclude dladdr for AIX after #123879
MaskRay Jan 23, 2025
7575072
[llvm-exegesis] Disable exhaustive tests on Windows
boomanaiden154 Jan 23, 2025
19834b4
[LoongArch] Support sc.q instruction for 128bit cmpxchg operation (#1…
tangaac Jan 23, 2025
0bcf34e
[Clang] [NFC] Mark `UnresolvedSetImpl`'s move operations as defaulted…
MagentaTreehouse Jan 23, 2025
d80b814
[LoongArch] Summary llvm20 release notes
SixWeining Jan 23, 2025
3c7a878
[LoongArch] Summary clang20 release notes
SixWeining Jan 23, 2025
aa273fd
[LoongArch] Update lld20 release notes
SixWeining Jan 23, 2025
163935a
[RISCV] Add Qualcomm uC Xqcilo (Large Offset Load Store) extension (#…
hchandel Jan 23, 2025
de209fa
[CodeGen] Introduce Static Data Splitter pass (#122183)
mingmingl-llvm Jan 23, 2025
d15f3e8
[LoopInterchange] Constrain LI within supported loop nest depth (#118…
madhur13490 Jan 23, 2025
646f034
[gn build] Port de209fa11b54
llvmgnsyncbot Jan 23, 2025
daa1820
[Flang][OpenMP] Fix copyin allocatable lowering to MLIR (#122097)
kaviya2510 Jan 23, 2025
ea49d47
Specify triple for llc test
mingmingl-llvm Jan 23, 2025
5d8390d
Temporarily disable test on Fuchsia
mingmingl-llvm Jan 23, 2025
c3dfd34
[WebAssembly] Add unreachable before catch destinations (#123915)
aheejin Jan 23, 2025
ba17485
[clang][CodeComplete] Use HeuristicResolver to resolve DependentNameT…
HighCommander4 Jan 23, 2025
220004d
[GISel] Add more FP opcodes to CSE (#123949)
lialan Jan 23, 2025
3fb8c5b
[X86] Fix invalid instructions on x32 with large stack frames (#124041)
mconst Jan 23, 2025
8eb99bb
Reland [LLD] [COFF] Fix linking MSVC generated implib header objects …
mstorsjo Jan 23, 2025
cd5694e
[StrTable] Switch the option parser to `llvm::StringTable` (#123308)
chandlerc Jan 23, 2025
2b67ece
Android no longer supports arm < 7 (#123952)
hiraditya Jan 23, 2025
2a51a0d
Remove reference to android-mips (#124021)
hiraditya Jan 23, 2025
091741a
[libfuzzer] Clarify -max_len behavior on bigger files (#123095)
chfast Jan 23, 2025
70d7c84
[mlir][docs] Add usage/example of OpAsmOpInterface (#123610)
ZenithalHourlyRate Jan 23, 2025
4b0df28
[clang][Tooling] Prefer <atomic> for atomic_* family in C++
kadircet Jan 23, 2025
7781381
[SDAG] Use BatchAAResults for querying alias analysis (AA) results (#…
MacDue Jan 23, 2025
d7c14c8
[IR] Replace of PointerType::getUnqual(Type) with opaque version (NFC…
junlarsen Jan 23, 2025
9fd9263
[libc++abi] Remove support for Android 4 and older (#124054)
brad0 Jan 23, 2025
6bc68d0
[libc++] Remove support for Android 4 and older (#124062)
brad0 Jan 23, 2025
0429bfe
[libc++] Remove a few unused includes (#124025)
philnik777 Jan 23, 2025
ee99c4d
[LLVM][Clang][AArch64] Implement AArch64 build attributes (#123990)
sivan-shani Jan 23, 2025
7fb97be
[ConstraintElimination] Add eq/ne facts to signed constraint system (…
zsrkmyn Jan 23, 2025
08195f3
[libc++] Inline basic_streambuf functions (#123379)
philnik777 Jan 23, 2025
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
a28ff29
[AutoBump] Merge with fixes of 7e622b61 (Jan 22)
jorickert May 21, 2025
d21dbbb
[AutoBump] Merge with 08195f31 (Jan 23)
jorickert May 21, 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
9a3a74a
Merge pull request #557 from Xilinx/bump_to_8388040f
jorickert Jun 26, 2025
91fab1b
Merge pull request #556 from Xilinx/bump_to_08195f31
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
6 changes: 3 additions & 3 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
prepare:
name: Prepare to build binaries
runs-on: ${{ inputs.runs-on }}
if: github.repository == 'llvm/llvm-project'
if: github.repository_owner == 'llvm'
outputs:
release-version: ${{ steps.vars.outputs.release-version }}
ref: ${{ steps.vars.outputs.ref }}
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
build-release-package:
name: "Build Release Package"
needs: prepare
if: github.repository == 'llvm/llvm-project'
if: github.repository_owner == 'llvm'
runs-on: ${{ needs.prepare.outputs.build-runs-on }}
steps:

Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
- prepare
- build-release-package
if: >-
github.repository == 'llvm/llvm-project'
github.repository_owner == 'llvm'
runs-on: ${{ needs.prepare.outputs.test-runs-on }}
steps:
- name: Checkout Actions
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
11 changes: 5 additions & 6 deletions clang-tools-extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Lex/Lexer.h"

using namespace clang::ast_matchers;
Expand Down Expand Up @@ -50,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 @@ -82,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
9 changes: 8 additions & 1 deletion clang/docs/BoundsSafety.rst
Original file line number Diff line number Diff line change
Expand Up @@ -996,4 +996,11 @@ and the soundness of the type system. This may incur significant code size
overhead in unoptimized builds and leaving some of the adoption mistakes to be
caught only at run time. This is not a fundamental limitation, however, because
incrementally adding necessary static analysis will allow us to catch issues
early on and remove unnecessary bounds checks in unoptimized builds.
early on and remove unnecessary bounds checks in unoptimized builds.

Try it out
==========

Your feedback on the programming model is valuable. You may want to follow the
instruction in :doc:`BoundsSafetyAdoptionGuide` to play with ``-fbounds-safety``
and please send your feedback to `Yeoul Na <mailto:[email protected]>`_.
90 changes: 90 additions & 0 deletions clang/docs/BoundsSafetyAdoptionGuide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
======================================
Adoption Guide for ``-fbounds-safety``
======================================

.. contents::
:local:

Where to get ``-fbounds-safety``
================================

The open sourcing to llvm.org's ``llvm-project`` is still on going and the
feature is not available yet. In the mean time, the preview implementation is
available
`here <https://github.com/swiftlang/llvm-project/tree/stable/20240723>`_ in a
fork of ``llvm-project``. Please follow
`Building LLVM with CMake <https://llvm.org/docs/CMake.html>`_ to build the
compiler.

Feature flag
============

Pass ``-fbounds-safety`` as a Clang compilation flag for the C file that you
want to adopt. We recommend adopting the model file by file, because adoption
requires some effort to add bounds annotations and fix compiler diagnostics.

Include ``ptrcheck.h``
======================

``ptrcheck.h`` is a Clang toolchain header to provide definition of the bounds
annotations such as ``__counted_by``, ``__counted_by_or_null``, ``__sized_by``,
etc. In the LLVM source tree, the header is located in
``llvm-project/clang/lib/Headers/ptrcheck.h``.


Add bounds annotations on pointers as necessary
===============================================

Annotate pointers on struct fields and function parameters if they are pointing
to an array of object, with appropriate bounds annotations. Please see
:doc:`BoundsSafety` to learn what kind of bounds annotations are available and
their semantics. Note that local pointer variables typically don't need bounds
annotations because they are implicitely a wide pointer (``__bidi_indexable``)
that automatically carries the bounds information.

Address compiler diagnostics
============================

Once you pass ``-fbounds-safety`` to compiler a C file, you will see some new
compiler warnings and errors, which guide adoption of ``-fbounds-safety``.
Consider the following example:

.. code-block:: c

#include <ptrcheck.h>

void init_buf(int *p, int n) {
for (int i = 0; i < n; ++i)
p[i] = 0; // error: array subscript on single pointer 'p' must use a constant index of 0 to be in bounds
}

The parameter ``int *p`` doesn't have a bounds annotation, so the compiler will
complain about the code indexing into it (``p[i]``) as it assumes that ``p`` is
pointing to a single ``int`` object or null. To address the diagnostics, you
should add a bounds annotation on ``int *p`` so that the compiler can reason
about the safety of the array subscript. In the following example, ``p`` is now
``int *__counted_by(n)``, so the compiler will allow the array subscript with
additional run-time checks as necessary.

.. code-block:: c

#include <ptrcheck.h>

void init_buf(int *__counted_by(n) p, int n) {
for (int i = 0; i < n; ++i)
p[i] = 0; // ok; `p` is now has a type with bounds annotation.
}

Run test suites to fix new run-time traps
=========================================

Adopting ``-fbounds-safety`` may cause your program to trap if it violates
bounds safety or it has incorrect adoption. Thus, it is necessary to perform
run-time testing of your program to gain confidence that it won't trap at
run time.

Repeat the process for each remaining file
==========================================

Once you've done with adopting a single C file, please repeat the same process
for each remaining C file that you want to adopt.
Loading
Loading