Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
5c34634
[sframe] Add assembler option --gsframe
Sterling-Augustine Oct 27, 2025
e95c70c
[LLD][COFF] Deduplicate common chunks when linking COFF files. (#162553)
jcranmer-intel Oct 24, 2025
e0b42df
[NFC][DirectX] Refactor `DXILPrepare`/`DXILTranslateMetadata` (#164285)
inbelic Oct 24, 2025
2d9d8c6
[msan] Convert target("aarch64.svcount") from compile-time crash to M…
thurstond Oct 24, 2025
9a9fba4
[clang][Sema] close IsStandardConversion hole when adding cfi_uncheck…
brunodf-snps Oct 24, 2025
573dbff
Revert "Reapply "[clang-format] Annotate ::operator and Foo::operator…
PiJoules Oct 24, 2025
019d20f
[VPlan] Remove SCEVToExpansion mapping (NFC). (#164490)
fhahn Oct 24, 2025
b9405fa
[flang][cuda] Accept scalar expression for bytes in kernel call (#165…
clementval Oct 24, 2025
0b10a90
[Github][CI] Add default gha user for tooling containers (#164294)
vbvictor Oct 24, 2025
09c86b5
[lldb] Add missing function call in test (NFC)
adrian-prantl Oct 24, 2025
fcaa66f
[ADT] Rename variable names in IndexedMap (NFC) (#164925)
kazutakahirata Oct 24, 2025
0a7d681
[ADT] Consolidate SparseSetValFunctor implementations (NFC) (#164926)
kazutakahirata Oct 24, 2025
181327a
[ADT] Rename identity_cxx20 to identity (#164927)
kazutakahirata Oct 24, 2025
24cb234
[clang] Proofread UsersManual.rst (#164928)
kazutakahirata Oct 24, 2025
da58f92
[DebugInfo] Add "override" where appropriate (NFC) (#164929)
kazutakahirata Oct 24, 2025
fc9676a
[CIR] Emit CIR builtins: coroAlloc, coroBegin, and coroSize (#164180)
Andres-Salamanca Oct 24, 2025
08505f2
[GitHub][CI] Remove 'Set Safe Directory' step (#165052)
vbvictor Oct 24, 2025
4194196
[CI] Update Windows premerge testing to use clang-cl.exe (#164900)
cmtice Oct 24, 2025
c62e1af
[lldb] Introduce internal stop hooks (#164506)
yln Oct 25, 2025
c4abac0
[CI] Make Postcommit Testing Pass In Correct Flags to Premerge Advisor
boomanaiden154 Oct 25, 2025
a73fb3d
[NFC][ADT] Add RadixTree (#164524)
vitalybuka Oct 25, 2025
b4b399b
[X86][ISel] Improve VPTERNLOG matching for negated logic trees (#164863)
yichi170 Oct 25, 2025
3d8ce69
[CI] Make Premerge Advisor Upload to Both Advisor Instances
boomanaiden154 Oct 25, 2025
a743f2f
[ARM][KCFI] Fix bundle sizes to reflect worst-case expansion (#164917)
kees Oct 25, 2025
667319c
[ADT][NFC] Add missing #include <vector> (#165068)
rupprecht Oct 25, 2025
6ee0499
[libc] add SIG_HOLD for linux/gpu (#165007)
c8ef Oct 25, 2025
44b1aa1
Revert "REAPPLY [ORC] Add automatic shared library resolver for unres…
SahilPatidar Oct 25, 2025
476c5ab
[test][MIPS] Remove unsafe-fp-math uses (NFC) (#164790)
paperchalice Oct 25, 2025
506c1dd
[SpecialCaseList] Filtering Globs with matching prefix (#164531)
vitalybuka Oct 25, 2025
877f07c
Reapply "Reapply "[clang-format] Annotate ::operator and Foo::operato…
owenca Oct 25, 2025
723ebf6
[AArch64] Widen GPR32 zero cycle zeroing (#164244)
tomershafir Oct 25, 2025
cf279cb
[X86] Move x86 specific create*Pass Functions to X86.h
boomanaiden154 Oct 25, 2025
8238532
[CodeGenPrepare] Don't simplify incomplete expression tree in AddrMod…
dtcxzyw Oct 25, 2025
b584fd5
[mlir][amdgpu] Update mfma assembly format with intrinsic shape (#165…
kuhar Oct 25, 2025
5fa172c
[CIR] Upstream CallOp with ComplexType as return type (#164980)
AmrDeveloper Oct 25, 2025
63a842d
[CIR][NFC] Upstream EHPersonality for function (#164883)
AmrDeveloper Oct 25, 2025
47ac393
[ORC] Fix race when checking isComplete (#165063)
rupprecht Oct 25, 2025
17aadff
[mlir][amdgpu] Update scaled_mfma assembly format with intrinsic shap…
kuhar Oct 25, 2025
c2b36b5
[ISel] Use CallBase instead of CallInst (#164769)
LuoYuanke Oct 25, 2025
61f87ad
Add Codegen/Hexagon/masked_gather.ll to profcheck-xfail (#165093)
mtrofin Oct 25, 2025
2263c28
Add new MemorySanitizer test cases for AArch64 (#165094)
mtrofin Oct 25, 2025
275e007
[ADT] Make internal methods of DenseMap/SmallDenseMap private (NFC) (…
kazutakahirata Oct 25, 2025
e23b12f
[ADT] Skip DenseMapBase::destroyAll on trivially destructible types (…
kazutakahirata Oct 25, 2025
6083411
[Support] Consolidate the two implementations of Recycler::clear (NFC…
kazutakahirata Oct 25, 2025
3e8ba3d
[Target] Add "override" where appropriate (NFC) (#165083)
kazutakahirata Oct 25, 2025
6fba5fa
[Attributor] Check range size before constant fold load (#151359)
shiltian Oct 25, 2025
0629147
[Legalizer] Cache extracted element when lowering G_SHUFFLE_VECTOR. (…
yunqingy180 Oct 25, 2025
5ea2a57
[SpecialCaseList] Filtering Globs with matching prefix and suffix (#1…
vitalybuka Oct 25, 2025
5206e91
[clang] Proofread LanguageExtensions.rst (#165082)
kazutakahirata Oct 25, 2025
1f48d7d
[ADT] Tighten static_assert in Bitfields (#165099)
kazutakahirata Oct 25, 2025
a72e3c5
[ADT] Use std::scoped_lock in ConcurrentHashtable (NFC) (#165100)
kazutakahirata Oct 25, 2025
e057f20
[ADT] Consolidate copyFrom in DenseMap.h (NFC) (#165101)
kazutakahirata Oct 25, 2025
fbb5607
[ADT] Remove KeyInfoT forwarders in DenseMap.h (NFC) (#165102)
kazutakahirata Oct 25, 2025
8d601f0
[ADT] Move shrink_and_clear to DenseMapBase (NFC) (#165103)
kazutakahirata Oct 25, 2025
afcfb29
[CI][Github] Add Fully Qualified Container Names to Best Practices (#…
boomanaiden154 Oct 25, 2025
0d99ba4
[DAGCombine] Improve bswap lowering for machines that support bit rot…
AZero13 Oct 25, 2025
068aced
[BOLT] Avoid extra function dump on invalid BBs found by UCE (NFC) (#…
yozhu Oct 25, 2025
a2f0b8e
[ADT] Prepare for deprecation of StringSwitch cases with 3+ args. NFC…
kuhar Oct 25, 2025
25ef87a
[Docs] Add CIBestPractices docs link to Reference.rst (#165108)
vbvictor Oct 25, 2025
1127ef2
[VPlan] Move isSingleScalar implementation to VPlanUtils.cpp (NFC)
fhahn Oct 25, 2025
d979218
[compiler-rt][libunwind] Allow for CET on OpenBSD (#164341)
brad0 Oct 25, 2025
e99169a
[ADT] Remove #include <limits> in RadixTree.h (NFC) (#165115)
kazutakahirata Oct 25, 2025
8e5940b
[ADT] Fix a comment in ScopedHashTable (#165116)
kazutakahirata Oct 25, 2025
724d35b
[llvm] Use iterator_range<T>(Container &&) (NFC) (#165117)
kazutakahirata Oct 25, 2025
ca29b58
[Support] Modernize Uint24 in DataExtractor.h (NFC) (#165118)
kazutakahirata Oct 25, 2025
667f7f3
[mlir][docs] Migrate code examples to nanobind, make Python spelling …
nicholasjng Oct 25, 2025
86d2787
[ADT] Deprecate StringSwitch Cases with 3+ args. NFC. (#165119)
kuhar Oct 25, 2025
63e05fa
[lldb][test] skip Lua tests when the Lua interpreter is not found (#1…
vpalatin Oct 26, 2025
01f2c79
[test][PowerPC] Remove unsafe-fp-math uses (NFC) (#164817)
paperchalice Oct 26, 2025
1c51870
[MLIR][Python] fix getOwner to return (typed) nb::object instead of a…
makslevental Oct 26, 2025
f7435c0
[MLIR] Fix use-after-move for DEBUG builds, and broken assert logic. …
noclowns Oct 26, 2025
2eda7a3
[Clang] Reenable Tests on SystemZ/AIX Using env -u (#164816)
boomanaiden154 Oct 26, 2025
573676a
[llvm] Make getEffectiveRelocModel helper consistent across targets. …
sbc100 Oct 26, 2025
d2b0ad9
Reland "[InstructionSimplify] Enhance simplifySelectInst() (#163453)"…
CongzheUalberta Oct 26, 2025
2cc9949
[BOLT] Remove CreatePastEnd parameter in getOrCreateLocalLabel(). NFC…
maksfb Oct 26, 2025
f111b6a
[MC] Fix accidentally eating the newline when handling a comment char…
aemerson Oct 26, 2025
219141c
[clang-repl] Use RegisterPTU for tracking generated TranslationUnitDe…
anutosh491 Oct 26, 2025
f04129a
Update company affiliation (#165003)
pietroalbini Oct 26, 2025
d5f30ee
[LV]: Improve accuracy of calculating remaining iterations of MainLoo…
hassnaaHamdi Oct 26, 2025
26eff32
[ADT] Simplify control flow in ImmutableSet (NFC) (#165133)
kazutakahirata Oct 26, 2025
2de9629
[Support] Simplify control flow in percentDecode (NFC) (#165134)
kazutakahirata Oct 26, 2025
6a14126
[MC] Add "override" where appropriate (NFC) (#165135)
kazutakahirata Oct 26, 2025
b536468
[libc++] Enable Clang modules in most of the CI runs (#160251)
philnik777 Oct 26, 2025
6de02ac
[compiler-rt] Restore unsigned value in struct, use enum only in func…
mikolaj-pirog Oct 26, 2025
7ca4d82
[Clang] Drop Shell Requirements (#165149)
boomanaiden154 Oct 26, 2025
a8ff662
[SLP]Consider non-inst operands, when checking insts, used outside only
alexey-bataev Oct 26, 2025
61038c7
[clang] Proofread ClangOffloadBundler.rst (#165136)
kazutakahirata Oct 26, 2025
ff0cb1d
[CodeGen] Use DenseMap::try_emplace (NFC) (#165165)
kazutakahirata Oct 26, 2025
a93d911
[llvm] Use "static constexpr bool flow" in YamlIO.rst (#165166)
kazutakahirata Oct 26, 2025
c4e32d8
[llvm] Add "override" where appropriate (NFC) (#165168)
kazutakahirata Oct 26, 2025
9311250
[libc] fix architecture guarding for 32bit sigsetjmp (#164923)
bojle Oct 26, 2025
e7f41f7
[llvm] Migrate away from a soft-deprecated constructor of APInt (NFC)…
kazutakahirata Oct 26, 2025
a336fb7
[llvm] Remove argument_type in std::hash specializations (NFC) (#165167)
kazutakahirata Oct 26, 2025
e229fea
AArch64: Reformat some debug printing blocks (#165178)
arsenm Oct 27, 2025
716ccb5
AArch64: Fix undefined behavior in sme calling convention test (#165183)
arsenm Oct 27, 2025
ebf90db
[LAA] Add additional tests for #161445.
fhahn Oct 27, 2025
8140a84
[RISCV][GISel] Support select vector load intrinsics (#160720)
jacquesguan Oct 27, 2025
a9a9018
[LV] Modernize version-mem-access.ll tests.
fhahn Oct 27, 2025
9d91f16
RuntimeLibcalls: Make sure _Unwind_Resume entries are mutually exclus…
arsenm Oct 27, 2025
4e355a9
X86: Make sure compiler-rt div calls are not added for msvc (#164591)
arsenm Oct 27, 2025
a9279f7
ARM: Avoid adding default libcalls overridden by AEABI functions (#16…
arsenm Oct 27, 2025
df13e5d
AArch64: Use Register in FrameLowering (#165188)
arsenm Oct 27, 2025
1171048
AArch64: Clean up some casts to target subclasses (#165189)
arsenm Oct 27, 2025
afed8d2
[clang-tidy][NFC] Remove unused parameter in function (#164202)
localspook Oct 27, 2025
5e9ae03
[clang-tidy] Add new check: `readability-redundant-typename` (#161574)
localspook Oct 27, 2025
7174b56
[libclc] Implement integer __clc_abs using __builtin_elementwise_abs …
wenju-he Oct 27, 2025
72cda94
[LAA] Skip undef/poison strides in collectStridedAccess.
fhahn Oct 27, 2025
581f41b
[ADT] Achieve the "Rule of Zero" in DGNode (#165190)
kazutakahirata Oct 27, 2025
0c4c492
[DebugInfo] Fold a namespace into a std::hash specialization (NFC) (#…
kazutakahirata Oct 27, 2025
2f9af71
[Support] Use "static constexpr" for a constant in ProcessInfo (NFC) …
kazutakahirata Oct 27, 2025
29d81ac
[llvm] Proofread YamlIO.rst (#165193)
kazutakahirata Oct 27, 2025
13f4fb6
[AArch64] Remove an unused local variable (NFC) (#165194)
kazutakahirata Oct 27, 2025
6fffbe8
[SpecialCaseList] Add RadixTree for substring matching (#164545)
vitalybuka Oct 27, 2025
30d2604
[clang][DebugInfo] Don't mark explicit parameter of synthesized ObjC …
Michael137 Oct 27, 2025
3bb3711
[SimplifyCFG] Precommit tests for PR161807 (NFC)
antoniofrighetto Oct 27, 2025
831464b
[SimplifyCFG] Extend `simplifySwitchOfPowersOfTwo` to reachable defaults
antoniofrighetto Oct 27, 2025
2f8123f
[InstCombine] Handle ptrtoaddr in gep of pointer sub fold (#164818)
nikic Oct 27, 2025
d45a694
[clang][bytecode] Fail on reads from constexpr-unknown pointers (#164…
tbaederr Oct 27, 2025
81a2ac8
[NVPTX] Add missing mbarrier intrinsics (#164864)
durga4github Oct 27, 2025
b9ff125
[ARM] [AArch32] Add support for Arm China STAR-MC3 CPU (#163709)
AlbertHuang-CPU Oct 27, 2025
e5f34d8
[Clang][AMDGPU] Enable type-checking on __builtin_amdgcn_raw_ptr_buff…
jmmartinez Oct 27, 2025
03f854f
[LoongArch] Optimize for reversing vector using shufflevector (#163151)
zhaoqi5 Oct 27, 2025
58c46bf
[mlir][spirv] Enable validation of global vars tests (#164974)
IgWod-IMG Oct 27, 2025
1426457
[clang][bytecode] Handle discarded AddrLabelExprs properly (#165000)
tbaederr Oct 27, 2025
8356f75
[mlir][spirv] Ensure function declarations precede definitions (#164956)
IgWod-IMG Oct 27, 2025
cfa175e
[clang][bytecode] Check memcmp for block pointers (#165070)
tbaederr Oct 27, 2025
a65053f
[clang][docs] Fix typos in SafeBuffers.rst (#163547)
ivafanas Oct 27, 2025
b4bd660
[lldb][test] Add test for parsing Objective-C synthesized properties
Michael137 Oct 27, 2025
6b74fd0
[lldb][docs] Add example output for standalone debugging script
DavidSpickett Oct 27, 2025
8dc41e4
[test][DebugInfo] Remove unsafe-fp-math uses (NFC) (#164966)
paperchalice Oct 27, 2025
a638117
[lldb][test] TestFrameVarDILGlobalVariableLookup: skip for older DWAR…
Michael137 Oct 27, 2025
8712aae
[lldb][test] TestFrameVarDILGlobalVariableLookup: XFAIL on older Clan…
Michael137 Oct 27, 2025
5534bf9
[AMDGPU] Add target feature for waits before system scope stores. NFC…
jayfoad Oct 27, 2025
320aa81
[clang-tidy] Remove unused #include. NFC.
d0k Oct 27, 2025
36c1f77
[lldb-dap][test] Disable DisconnectTriggersTerminateCommands on Linux
DavidSpickett Oct 27, 2025
74a2cc5
[clang][bytecode] Check overflow ops for block pointers (#165221)
tbaederr Oct 27, 2025
df29bad
[lldb][test] TestFrameVarDILGlobalVariableLookup: only XFAIL earlier …
Michael137 Oct 27, 2025
baaac53
[flang] Fix build on different of cores from #164630 (#164841)
JDPailleux Oct 27, 2025
30d59e3
[DAG] Fold mismatched widened avg idioms to narrow form (#147946) (#1…
laurenmchin Oct 27, 2025
f615704
[Utils][update_mc_test_checks] Support updating round-trip tests. (#1…
kosarev Oct 27, 2025
0da7f86
[X86][NewPM] Port X86LowerAMXType to NewPM
boomanaiden154 Oct 27, 2025
7312988
[clang][bytecode] Don't diagnose defined functions that will have a b…
tbaederr Oct 27, 2025
71a9364
[openmp][cmake] Don't glob for build dependencies (#165231)
Meinersbur Oct 27, 2025
ac22b4b
[X86] Add test coverage for #164853 (#165245)
RKSimon Oct 27, 2025
7c70805
[LLDB][NativePDB] Create simple types from function arguments and ret…
Nerixyz Oct 27, 2025
ff5fcc6
[clang][bytecode] Call CheckStore() before activating pointers (#165235)
tbaederr Oct 27, 2025
584d913
[libc++] Add benchmark for `std::exception_ptr` (#164278)
vogelsgesang Oct 27, 2025
cb756d6
[AMDGPU][MC][NFC] Fix True16 instructions in the literals test. (#164…
kosarev Oct 27, 2025
446cf1e
[Utils][NFC] Clean up update_mc_test_checks.py. (#164454)
kosarev Oct 27, 2025
cf054ed
[clang][Driver][NFC] Remove trailing whitespace from Options.td
tarunprabhu Oct 27, 2025
ab0b165
[flang][OpenMP] Anonymous BLOCK DATA may not have Symbol at all (#165…
kparzysz Oct 27, 2025
424651f
[clang][bytecode] Fix crash when array index is past end of array in …
camc Oct 27, 2025
6719b17
[mlir][scf] Add parallelLoopUnrollByFactors() (#164958)
fabrizio-indirli Oct 27, 2025
1d35332
[Clang][ARM][Sema] Check validity of ldrexd/strexd builtin calls (#16…
dgg5503 Oct 27, 2025
8299ccf
[flang][docs] Replace references to f18 with flang (Part 2)
tarunprabhu Oct 27, 2025
94cb3f4
[PowerPC] Update tlbie instruction implementation for ISA3.0+ (#162729)
lei137 Oct 27, 2025
6870680
[Instrumentation] Fix typos across files in Transforms/Instrumentatio…
yichi170 Oct 27, 2025
37b1f9e
workflows/release-binaries: Disable flang on Darwin (#164667)
tstellar Oct 27, 2025
07c3f0e
[lld][WebAssembly] Add LTO test for `-mllvm -mcpu=`. NFC (#165170)
sbc100 Oct 27, 2025
09f12b0
[PredicateInfo] Reformat PT_Switch's annotation as valid comments (#1…
Camsyn Oct 27, 2025
075a9fa
[lld][macho] Support 1-byte branch relocs for x86_64 (#164439)
int3 Oct 27, 2025
5b5f16a
[SPIRV] Print split 64-bit OpSwitch operands as a single operand for …
sarnex Oct 27, 2025
8ff4122
Revert "[libcxx] Define `_LIBCPP_HAS_C8RTOMB_MBRTOC8` to true if comp…
philnik777 Oct 27, 2025
b164a4c
[MLIR][XeGPU] Remove leading unit dims from vector ops before unrolli…
nbpatel Oct 27, 2025
d14d36d
[MLIR][XeGPU] Fix isEvenlyDistributable API in xegpu (#164907)
nbpatel Oct 27, 2025
6ab5e58
[FlowSensitive] [StatusOr] [8/N] Support value ctor and assignment
fmayer Oct 27, 2025
cb48a1d
[FlowSensitive] [StatusOr] [9/N] Make sure all StatusOr are initialized
fmayer Oct 27, 2025
25ee995
[LLDB] Disable rosetta test on green dragon
adrian-prantl Oct 27, 2025
03f84ce
[llvm-remarkutil] Introduce summary tool (#160549)
tobias-stadler Oct 27, 2025
8b5c02d
[flang][OpenMP] Allocate `allocatable` init temps on the stack for GP…
ergawy Oct 27, 2025
bb8d618
[InstrProf][NFC] Use -profile-correlate flag in tests (#163299)
ellishg Oct 27, 2025
60aeb6c
Fix Linux kernel build failure for SytemZ. (#165274)
anoopkg6 Oct 27, 2025
cd2a349
[lldb] Fix TestVTableValue.py test_overwrite_vtable test (#164910)
dsandersllvm Oct 27, 2025
e2665b9
Revert "[LLDB] Disable rosetta test on green dragon"
adrian-prantl Oct 27, 2025
bf5c6c8
[LLDB] Disable rosetta test on green dragon
adrian-prantl Oct 27, 2025
a793aa6
[lit] Support more ulimit options
boomanaiden154 Oct 27, 2025
c46bddf
[AMDGPU] Precommit test for sinking vector ops PR 162580 (#165050)
doru1004 Oct 27, 2025
adac829
[PowerPC] Add Implementation and test for new eTCE instructions (#164…
lei137 Oct 27, 2025
38574cc
[AMDGPU] Use implicit operand to preserve liveness of COPY (#164911)
jrbyrnes Oct 27, 2025
36db3b7
[llvm][clang] Explicitly pass the VFS to sanitizer passes (#165267)
jansvoboda11 Oct 27, 2025
0545383
[flang][Driver] Warn on -fbuiltin and -fno-builtin
tarunprabhu Oct 27, 2025
11f3404
Avoid stalls when MainLoop::Interrupt fails to wake up the MainLoop (…
jimingham Oct 27, 2025
fe0092f
[clang-format] Align comments following continued aligned lines (#164…
sstwcw Oct 27, 2025
af72377
[mlir][tensor] Fix runtime verification for `tensor.extract_slice` wh…
Hanumanth04 Oct 27, 2025
7d68cb6
[mlir][memref] Fix runtime verification for memref.subview when size …
Hanumanth04 Oct 27, 2025
fac02bb
[LLDB] Add debug output to test to diagnose bot failure
adrian-prantl Oct 27, 2025
ec7481c
[clang][DebugInfo][test] Convert Objective-C property test to check L…
Michael137 Oct 27, 2025
640c919
[clang][DebugInfo] Disable objective-CXX tests on AIX and z/OS (#164765)
madanial0 Oct 27, 2025
bca7450
[DA] Fix crash when two loops have different type sizes of becount (…
scui-ibm Oct 27, 2025
85977b8
[clang][DebugInfo][test] Rename Objective-C test
Michael137 Oct 27, 2025
4903fd3
[MLIR][ExecutionEngine] don't dump decls (#164478)
makslevental Oct 27, 2025
f97504d
[UpdateTestChecks][llc] Support `arm64-apple-darwin` (#165092)
tomershafir Oct 27, 2025
b3ffee2
[RadixTree] Use std::optional for Node::Value (#165299)
vitalybuka Oct 27, 2025
11eee11
[clang][DebugInfo] Make property-auto-synth.m check LLVM IR
Michael137 Oct 27, 2025
07e4a3b
[clang][DebugInfo][test] Remove redundant Objective-C property test (…
Michael137 Oct 27, 2025
adfaf38
[AMDGPU] Generate s_absdiff_i32 (#164835)
LU-JOHN Oct 27, 2025
7b1b82f
Revert "[LLDB] Add debug output to test to diagnose bot failure"
adrian-prantl Oct 27, 2025
a6ff253
[LLDB] Fix condition in test
adrian-prantl Oct 27, 2025
b5e433a
[clang][DebugInfo][test] Convert Objective-C property2.m test to chec…
Michael137 Oct 27, 2025
3508f60
[profdata] Consume reader error if returned early (#163671)
ellishg Oct 27, 2025
b0c073e
[clang][DebugInfo][test] Make Objective-C property5.m test check LLVM IR
Michael137 Oct 27, 2025
059bc7c
Revert "[lit] Support more ulimit options"
boomanaiden154 Oct 27, 2025
7d280bf
[Profcheck] Update XFail List
boomanaiden154 Oct 27, 2025
5bfdb60
Move LIBC_CONF_STRING_UNSAFE_WIDE_READ to top-level libc-configuratio…
Sterling-Augustine Oct 27, 2025
2df0855
[third-party] Add a snapshot of Boost.Math 1.89 standalone (#141508)
ldionne Oct 27, 2025
783e501
[lld][macho] Use reloc length correctly in hash computation (#165287)
ellishg Oct 27, 2025
0e3d407
Begin -print-on-crash output with semicolon (#164903)
InakiVA Oct 27, 2025
bf8dbd2
Add tests. Fix unsupported target errors.
Sterling-Augustine Oct 30, 2025
2ed31c5
Fix formatting
Sterling-Augustine Oct 30, 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
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .ci/monolithic-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ runtimes_targets="${4}"
start-group "CMake"
pip install -q -r "${MONOREPO_ROOT}"/.ci/all_requirements.txt

export CC=cl
export CXX=cl
export CC=C:/clang/clang-msvc/bin/clang-cl.exe
export CXX=C:/clang/clang-msvc/bin/clang-cl.exe
export LD=link

# The CMAKE_*_LINKER_FLAGS to disable the manifest come from research
Expand All @@ -49,6 +49,7 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
-D CMAKE_EXE_LINKER_FLAGS="/MANIFEST:NO" \
-D CMAKE_MODULE_LINKER_FLAGS="/MANIFEST:NO" \
-D CMAKE_SHARED_LINKER_FLAGS="/MANIFEST:NO" \
-D CMAKE_CXX_FLAGS="-Wno-c++98-compat -Wno-c++14-compat -Wno-unsafe-buffer-usage -Wno-old-style-cast" \
-D LLVM_ENABLE_RUNTIMES="${runtimes}"

start-group "ninja"
Expand Down
12 changes: 8 additions & 4 deletions .ci/premerge_advisor_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@

import generate_test_report_lib

PREMERGE_ADVISOR_URL = (
"http://premerge-advisor.premerge-advisor.svc.cluster.local:5000/upload"
)
# These are IP addresses of the two premerge advisor instances. They should
# eventually be updated to domain names.
PREMERGE_ADVISOR_URLS = [
"http://34.82.126.63:5000/upload",
"http://136.114.125.23:5000/upload",
]


def main(commit_sha, workflow_run_number, build_log_files):
Expand All @@ -41,7 +44,8 @@ def main(commit_sha, workflow_run_number, build_log_files):
ninja_failures = generate_test_report_lib.find_failure_in_ninja_logs(ninja_logs)
for name, failure_message in ninja_failures:
failure_info["failures"].append({"name": name, "message": failure_message})
requests.post(PREMERGE_ADVISOR_URL, json=failure_info)
for premerge_advisor_url in PREMERGE_ADVISOR_URLS:
requests.post(premerge_advisor_url, json=failure_info)


if __name__ == "__main__":
Expand Down
10 changes: 7 additions & 3 deletions .ci/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,17 @@ function at-exit {
fi

if [[ "$retcode" != "0" ]]; then
python "${MONOREPO_ROOT}"/.ci/premerge_advisor_upload.py \
$(git rev-parse HEAD~1) $GITHUB_RUN_NUMBER \
"${BUILD_DIR}"/test-results.*.xml "${MONOREPO_ROOT}"/ninja*.log
if [[ "$GITHUB_ACTIONS" != "" ]]; then
python "${MONOREPO_ROOT}"/.ci/premerge_advisor_explain.py \
$(git rev-parse HEAD~1) "${BUILD_DIR}"/test-results.*.xml \
"${MONOREPO_ROOT}"/ninja*.log
python "${MONOREPO_ROOT}"/.ci/premerge_advisor_upload.py \
$(git rev-parse HEAD~1) $GITHUB_RUN_NUMBER \
"${BUILD_DIR}"/test-results.*.xml "${MONOREPO_ROOT}"/ninja*.log
else
python "${MONOREPO_ROOT}"/.ci/premerge_advisor_upload.py \
$(git rev-parse HEAD) $BUILDBOT_BUILDNUMBER \
"${BUILD_DIR}"/test-results.*.xml "${MONOREPO_ROOT}"/ninja*.log
fi
fi
}
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/containers/github-action-ci-tooling/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Create a new user with id 1001 as that is the user id that
# Github Actions uses to perform the checkout action.
RUN useradd gha -u 1001 -m -s /bin/bash
RUN adduser gha sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
# Don't set USER gha right away because we still need to install packages
# as root in 'ci-container-code-format' and 'ci-container-code-lint' containers


FROM base AS ci-container-code-format
ARG LLVM_VERSION
Expand All @@ -51,6 +59,8 @@ ENV PATH=${LLVM_SYSROOT}/bin:${PATH}
COPY llvm/utils/git/requirements_formatting.txt requirements_formatting.txt
RUN pip install -r requirements_formatting.txt --break-system-packages && \
rm requirements_formatting.txt
USER gha
WORKDIR /home/gha


FROM base AS ci-container-code-lint
Expand Down Expand Up @@ -80,3 +90,5 @@ RUN apt-get update && \
COPY llvm/utils/git/requirements_linting.txt requirements_linting.txt
RUN pip install -r requirements_linting.txt --break-system-packages && \
rm requirements_linting.txt
USER gha
WORKDIR /home/gha
8 changes: 0 additions & 8 deletions .github/workflows/pr-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ jobs:
with:
fetch-depth: 2

# We need to set the repo checkout as safe, otherwise tj-actions/changed-files
# will fail due to the changed ownership inside the container.
# TODO(boomanaiden154): We should probably fix this by having the default user
# in the container have the same ID as the GHA user on the host.
- name: Set Safe Directory
run: |
chown -R root $(pwd)

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/pr-code-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ jobs:
with:
fetch-depth: 2

# FIXME: same as in ".github/workflows/pr-code-format.yml"
- name: Set Safe Directory
run: |
chown -R root $(pwd)

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,6 @@ jobs:
arches=arm64
else
arches=x86_64
# Disable Flang builds on macOS x86_64. The FortranLower library takes
# 2-3 hours to build on macOS, much slower than on Linux.
# The long build time causes the release build to time out on x86_64,
# so we need to disable flang there.
target_cmake_flags="$target_cmake_flags -DLLVM_RELEASE_ENABLE_PROJECTS='clang;lld;lldb;clang-tools-extra;polly;mlir'"
fi
target_cmake_flags="$target_cmake_flags -DBOOTSTRAP_BOOTSTRAP_DARWIN_osx_ARCHS=$arches -DBOOTSTRAP_BOOTSTRAP_DARWIN_osx_BUILTIN_ARCHS=$arches"
fi
Expand Down
8 changes: 3 additions & 5 deletions bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -620,13 +620,11 @@ class BinaryFunction {
}

/// Return a label at a given \p Address in the function. If the label does
/// not exist - create it. Assert if the \p Address does not belong to
/// the function. If \p CreatePastEnd is true, then return the function
/// end label when the \p Address points immediately past the last byte
/// of the function.
/// not exist - create it.
///
/// NOTE: the function always returns a local (temp) symbol, even if there's
/// a global symbol that corresponds to an entry at this address.
MCSymbol *getOrCreateLocalLabel(uint64_t Address, bool CreatePastEnd = false);
MCSymbol *getOrCreateLocalLabel(uint64_t Address);

/// Register an data entry at a given \p Offset into the function.
void markDataAtOffset(uint64_t Offset) {
Expand Down
13 changes: 6 additions & 7 deletions bolt/lib/Core/BinaryFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1035,13 +1035,9 @@ BinaryFunction::processIndirectBranch(MCInst &Instruction, unsigned Size,
return BranchType;
}

MCSymbol *BinaryFunction::getOrCreateLocalLabel(uint64_t Address,
bool CreatePastEnd) {
MCSymbol *BinaryFunction::getOrCreateLocalLabel(uint64_t Address) {
const uint64_t Offset = Address - getAddress();

if ((Offset == getSize()) && CreatePastEnd)
return getFunctionEndLabel();

auto LI = Labels.find(Offset);
if (LI != Labels.end())
return LI->second;
Expand All @@ -1052,6 +1048,9 @@ MCSymbol *BinaryFunction::getOrCreateLocalLabel(uint64_t Address,
return IslandSym;
}

if (Offset == getSize())
return getFunctionEndLabel();

MCSymbol *Label = BC.Ctx->createNamedTempSymbol();
Labels[Offset] = Label;

Expand Down Expand Up @@ -1994,7 +1993,7 @@ void BinaryFunction::postProcessJumpTables() {
if (IsBuiltinUnreachable) {
BinaryFunction *TargetBF = BC.getBinaryFunctionAtAddress(EntryAddress);
MCSymbol *Label = TargetBF ? TargetBF->getSymbol()
: getOrCreateLocalLabel(EntryAddress, true);
: getOrCreateLocalLabel(EntryAddress);
JT.Entries.push_back(Label);
continue;
}
Expand All @@ -2005,7 +2004,7 @@ void BinaryFunction::postProcessJumpTables() {
BC.getBinaryFunctionContainingAddress(EntryAddress);
MCSymbol *Label;
if (HasOneParent && TargetBF == this) {
Label = getOrCreateLocalLabel(EntryAddress, true);
Label = getOrCreateLocalLabel(EntryAddress);
} else {
const uint64_t Offset = EntryAddress - TargetBF->getAddress();
Label = Offset ? TargetBF->addEntryPointAtOffset(Offset)
Expand Down
5 changes: 4 additions & 1 deletion bolt/lib/Passes/BinaryPasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,16 @@ void EliminateUnreachableBlocks::runOnFunction(BinaryFunction &Function) {
uint64_t Bytes;
Function.markUnreachableBlocks();
LLVM_DEBUG({
bool HasInvalidBB = false;
for (BinaryBasicBlock &BB : Function) {
if (!BB.isValid()) {
HasInvalidBB = true;
dbgs() << "BOLT-INFO: UCE found unreachable block " << BB.getName()
<< " in function " << Function << "\n";
Function.dump();
}
}
if (HasInvalidBB)
Function.dump();
});
BinaryContext::IndependentCodeEmitter Emitter =
BC.createIndependentMCCodeEmitter();
Expand Down
4 changes: 1 addition & 3 deletions bolt/lib/Rewrite/RewriteInstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2949,9 +2949,7 @@ void RewriteInstance::handleRelocation(const SectionRef &RelocatedSection,
ReferencedSymbol =
ReferencedBF->addEntryPointAtOffset(RefFunctionOffset);
} else {
ReferencedSymbol =
ReferencedBF->getOrCreateLocalLabel(Address,
/*CreatePastEnd =*/true);
ReferencedSymbol = ReferencedBF->getOrCreateLocalLabel(Address);

// If ContainingBF != nullptr, it equals ReferencedBF (see
// if-condition above) so we're handling a relocation from a function
Expand Down
10 changes: 4 additions & 6 deletions clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,10 @@ ClangTidyCheck::OptionsView::getLocalOrGlobal(StringRef LocalName) const {
return std::nullopt;
}

static std::optional<bool> getAsBool(StringRef Value,
const llvm::Twine &LookupName) {

static std::optional<bool> getAsBool(StringRef Value) {
if (std::optional<bool> Parsed = llvm::yaml::parseBool(Value))
return Parsed;
// To maintain backwards compatability, we support parsing numbers as
// To maintain backwards compatibility, we support parsing numbers as
// booleans, even though its not supported in YAML.
long long Number = 0;
if (!Value.getAsInteger(10, Number))
Expand All @@ -107,7 +105,7 @@ template <>
std::optional<bool>
ClangTidyCheck::OptionsView::get<bool>(StringRef LocalName) const {
if (std::optional<StringRef> ValueOr = get(LocalName)) {
if (auto Result = getAsBool(*ValueOr, NamePrefix + LocalName))
if (auto Result = getAsBool(*ValueOr))
return Result;
diagnoseBadBooleanOption(NamePrefix + LocalName, *ValueOr);
}
Expand All @@ -119,7 +117,7 @@ std::optional<bool>
ClangTidyCheck::OptionsView::getLocalOrGlobal<bool>(StringRef LocalName) const {
auto Iter = findPriorityOption(CheckOptions, NamePrefix, LocalName, Context);
if (Iter != CheckOptions.end()) {
if (auto Result = getAsBool(Iter->getValue().Value, Iter->getKey()))
if (auto Result = getAsBool(Iter->getValue().Value))
return Result;
diagnoseBadBooleanOption(Iter->getKey(), Iter->getValue().Value);
}
Expand Down
12 changes: 6 additions & 6 deletions clang-tools-extra/clang-tidy/bugprone/UnsafeFunctionsCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static StringRef getReplacementFor(StringRef FunctionName,
// Try to find a better replacement from Annex K first.
StringRef AnnexKReplacementFunction =
StringSwitch<StringRef>(FunctionName)
.Cases("asctime", "asctime_r", "asctime_s")
.Cases({"asctime", "asctime_r"}, "asctime_s")
.Case("gets", "gets_s")
.Default({});
if (!AnnexKReplacementFunction.empty())
Expand All @@ -59,7 +59,7 @@ static StringRef getReplacementFor(StringRef FunctionName,
// FIXME: Some of these functions are available in C++ under "std::", and
// should be matched and suggested.
return StringSwitch<StringRef>(FunctionName)
.Cases("asctime", "asctime_r", "strftime")
.Cases({"asctime", "asctime_r"}, "strftime")
.Case("gets", "fgets")
.Case("rewind", "fseek")
.Case("setbuf", "setvbuf");
Expand Down Expand Up @@ -90,13 +90,13 @@ static StringRef getReplacementForAdditional(StringRef FunctionName,
/// safer alternative.
static StringRef getRationaleFor(StringRef FunctionName) {
return StringSwitch<StringRef>(FunctionName)
.Cases("asctime", "asctime_r", "ctime",
.Cases({"asctime", "asctime_r", "ctime"},
"is not bounds-checking and non-reentrant")
.Cases("bcmp", "bcopy", "bzero", "is deprecated")
.Cases("fopen", "freopen", "has no exclusive access to the opened file")
.Cases({"bcmp", "bcopy", "bzero"}, "is deprecated")
.Cases({"fopen", "freopen"}, "has no exclusive access to the opened file")
.Case("gets", "is insecure, was deprecated and removed in C11 and C++14")
.Case("getpw", "is dangerous as it may overflow the provided buffer")
.Cases("rewind", "setbuf", "has no error detection")
.Cases({"rewind", "setbuf"}, "has no error detection")
.Case("vfork", "is insecure as it can lead to denial of service "
"situations in the parent process")
.Default("is not bounds-checking");
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clang-tidy/readability/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ add_clang_library(clangTidyReadabilityModule STATIC
RedundantSmartptrGetCheck.cpp
RedundantStringCStrCheck.cpp
RedundantStringInitCheck.cpp
RedundantTypenameCheck.cpp
ReferenceToConstructedTemporaryCheck.cpp
SimplifyBooleanExprCheck.cpp
SimplifySubscriptExprCheck.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
#include "RedundantSmartptrGetCheck.h"
#include "RedundantStringCStrCheck.h"
#include "RedundantStringInitCheck.h"
#include "RedundantTypenameCheck.h"
#include "ReferenceToConstructedTemporaryCheck.h"
#include "SimplifyBooleanExprCheck.h"
#include "SimplifySubscriptExprCheck.h"
Expand Down Expand Up @@ -143,6 +144,8 @@ class ReadabilityModule : public ClangTidyModule {
"readability-redundant-parentheses");
CheckFactories.registerCheck<RedundantPreprocessorCheck>(
"readability-redundant-preprocessor");
CheckFactories.registerCheck<RedundantTypenameCheck>(
"readability-redundant-typename");
CheckFactories.registerCheck<ReferenceToConstructedTemporaryCheck>(
"readability-reference-to-constructed-temporary");
CheckFactories.registerCheck<SimplifySubscriptExprCheck>(
Expand Down
Loading