Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1788 commits
Select commit Hold shift + click to select a range
94206c9
[lldb] Preparation for DWARF indexing speedup (#123732)
labath Apr 23, 2025
4e073a1
[gn build] Port 94206c9700d5
llvmgnsyncbot Apr 23, 2025
6bb2f90
Revert "[AMDGPU] Support block load/store for CSR" (#136846)
rovka Apr 23, 2025
673882c
[gn build] Port 6bb2f90557fb
llvmgnsyncbot Apr 23, 2025
14b38cf
[mlir][vector] Update test post 136699 (nfc) (#136841)
banach-space Apr 23, 2025
8292e05
[libclc] Build for OpenCL 3.0 (#135733)
wenju-he Apr 23, 2025
1ce709c
[LV] Fix crash when building partial reductions using types that aren…
NickGuy-Arm Apr 23, 2025
a1f369e
[AArch64][SVE] Add dot product lowering for PARTIAL_REDUCE_MLA node (…
NickGuy-Arm Apr 23, 2025
386ff11
[flang][OpenMP] Use OmpMemoryOrderType enumeration in FAIL clause (#1…
kparzysz Apr 23, 2025
5b0cd17
[Clang][llvm] Implement fp8 FMOP4A intrinsics (#130127)
virginia-cangelosi Apr 23, 2025
92bba68
[Offload] Fix handling of 'bare' mode when environment missing (#136794)
jhuber6 Apr 23, 2025
6d0d50f
[OpenMP] Update the bitcode library install and search path (#136754)
jhuber6 Apr 23, 2025
91e1922
[DSE] Skip non-pointer args in initializes handling (NFCI)
nikic Apr 23, 2025
14dee0a
[NewGVN] Avoid AA query on non-pointers (NFCI)
nikic Apr 23, 2025
01ee03c
[CoroElide] Avoid AA query on non-pointers (NFCI)
nikic Apr 23, 2025
208257f
[CoroElide] Remove unnecessary bitcast (NFCI)
nikic Apr 23, 2025
eea1efe
[InstrProfiling] Avoid unnecessary bitcast (NFC)
nikic Apr 23, 2025
00934be
[AArch64] Funnel Shift now uses rev32/rev64 instructions (#136707)
jyli0116 Apr 23, 2025
52cb1c9
[AArch64Arm64ECCallLowering] Remove unnecessary bitcasts (NFCI)
nikic Apr 23, 2025
a2c1ff1
[mlir][acc] Use consistent name for device_num operand (#136745)
razvanlupusoru Apr 23, 2025
4cc806f
[AArch64Arm64ECCallLowering] Drop unnecessary pointer type members (NFC)
nikic Apr 23, 2025
5afe859
[OMPIRBuilder] Remove unnecessary pointer bitcasts (NFCI)
nikic Apr 23, 2025
237ed0c
[mlir][bazel] Port 0f32809139bd104adb2c1de4fa1044da78a7e5af.
chsigg Apr 23, 2025
e58d227
[NFC][AArch64][GlobalISel] Add test coverage for vector load/store le…
tobias-stadler Apr 23, 2025
46f18b7
[ItaniumDemangle][test] Add test-cases for ref-qualified member point…
Michael137 Apr 23, 2025
8158d43
[TOSA] Rescale output_zp fix (#136116)
d-smirnov Apr 23, 2025
8502ba1
[MLIR][NFC] Retire let constructor for MemRef (#134788)
chelini Apr 23, 2025
806d59e
[libclc] Fix unguarded use of image types (#136871)
frasercrmck Apr 23, 2025
6c56160
[libclc] Re-enable compiler warning (#136872)
frasercrmck Apr 23, 2025
f11b3de
[flang][cuda] Carry over the CUDA attribute in target rewrite (#136811)
clementval Apr 23, 2025
9651902
[lldb][DataFormatters] Make data-formatters log to the DataFormatters…
Michael137 Apr 23, 2025
cc6def4
[libc] Special case PPC double double for print (#136614)
jhuber6 Apr 23, 2025
ecb0daa
[NFC][LLVM][TableGen] Eliminate inheritance from std::vector (#136573)
jurahul Apr 23, 2025
7915124
[DAG] narrowExtractedVectorLoad - reuse existing SDLoc. NFC (#136870)
RKSimon Apr 23, 2025
2e389cb
[Flang][OpenACC] Make async clause on data consistent with elsewhere …
erichkeane Apr 23, 2025
8abc917
[InstCombine] Do not fold logical is_finite test (#136851)
dtcxzyw Apr 23, 2025
24c8605
AMDGPU/MC: Fix emitting absolute expressions (#136789)
nhaehnle Apr 23, 2025
2f0cd0c
[NFCI] Move ProfOStream from InstrProfWriter.cpp to InstrProf.h/cpp (…
mingmingl-llvm Apr 23, 2025
1da856a
[lldb] Fix typo in ManualDWARFIndexSet.h
labath Apr 23, 2025
a83b4a2
[DirectX] Implement the ForwardHandleAccesses pass (#135378)
bogner Apr 23, 2025
ea5449d
[OpenACC][CIR] Implement 'async'/'if' lowering for 'data' construct
erichkeane Apr 22, 2025
d7215c0
[libclang/C++] Fix clang_File_isEqual for in-memory files (#135773)
DeinAlptraum Apr 23, 2025
83c309b
[CUDA][HIP] capture possible ODR-used var (#136645)
yxsamliu Apr 23, 2025
1b6cbaa
[clang][bytecode] Refine diagnostics for volatile reads (#136857)
tbaederr Apr 23, 2025
6dbc01e
[AMDGPU][True16][CodeGen] update GFX11Plus codegen test with true16 f…
broxigarchen Apr 23, 2025
1041d54
[lldb-dap] Updating the 'next' request handler use well structured ty…
ashgti Apr 23, 2025
060f3f0
[clang][deps] Make dependency directives getter thread-safe (#136178)
jansvoboda11 Apr 23, 2025
385b07b
[clang-doc][NFC] Remove else after return (#136443)
ilovepi Apr 23, 2025
0f5965f
[CIR] Introduce type aliases for records (#136387)
andykaylor Apr 23, 2025
3c9027c
[clang][Modules] Clarify error message when size check fails in looku…
cyndyishida Apr 23, 2025
dbb8434
SelectionDAG: Add missing AddNodeIDCustom case for MDNodeSDNode.
pcc Apr 23, 2025
3b48e2a
[lldb-dap] Ensure we acquire the SB API lock while handling requests.…
ashgti Apr 23, 2025
213424b
Add MachO RISC-V CPU type and CPU subtype to llvm & lldb (#136785)
JDevlieghere Apr 23, 2025
bdf21ca
[LV] Fix missing entry in willGenerateVectors (#136712)
artagnon Apr 23, 2025
98eb476
Fix stmt-seq-macho.test for little endian platforms (#137017)
alx32 Apr 23, 2025
d3e1fd6
[mlir][LLVM] Improve `llvm.extractvalue` folder (#136861)
matthias-springer Apr 23, 2025
5bb4cf9
[libc] implement sigsetjmp/siglongjmp for x86-64 (#136072)
SchrodingerZhu Apr 23, 2025
a0fce0b
[bazel] Use non_arc_srcs instead of passing -fno-objc-arc (#137037)
keith Apr 23, 2025
b8e420e
Reland "[HLSL][RootSignature] Implement initial parsing of the descri…
inbelic Apr 23, 2025
bc11987
[Offload] Fix missing dependency on `clang-nvlink-wrapper' (#137033)
jhuber6 Apr 23, 2025
3fbbe9b
[VPlan] Add exit phi operands during initial construction (NFC). (#13…
fhahn Apr 23, 2025
a05aeda
[RawPtrRefMemberChecker] Member variable checker should allow T* in s…
rniwa Apr 23, 2025
f07511a
[libc] build fix for sigsetjmp (#137047)
SchrodingerZhu Apr 23, 2025
563ab56
[lldb-dap] Show load addresses in disassembly (#136755)
eronnen Apr 23, 2025
0fdb908
[flang][cuda][NFC] Update binary name (#137034)
clementval Apr 23, 2025
ff36508
[VPlan] Remove redundant setting of parent in createLoopRegion (NFC).
fhahn Apr 23, 2025
112014b
[Clang][NFC] Use temporary instead of one use local variable when cre…
shafik Apr 23, 2025
71f2c1e
[VPlan] Use early exit in ::extractLastLaneOfFirstOperand (NFC).
fhahn Apr 23, 2025
f418981
[CIR] Create CIR_TypedAttr common class (#136852)
xlauko Apr 23, 2025
ff6a23d
[RISCV] Return false for Zalasr load/store in isWorthFoldingAdd. (#13…
topperc Apr 23, 2025
cef9ed5
[lldb] Fix typo in tagged-pointer syntax string (NFC) (#137069)
kastiglione Apr 23, 2025
6f5b98b
[lldb] returning command completions up to a maximum (#135565)
eronnen Apr 23, 2025
ee617f1
[NFC] [AArch64] Simplify offset scaling in ldst-opt (#137044)
guy-david Apr 23, 2025
cd826d6
Revert "[Clang,debuginfo] added vtt parameter in destructor DISubrout…
rnk Apr 23, 2025
dd17cf4
[lldb] Minor improvements to AddNamesMatchingPartialString (NFC) (#13…
kastiglione Apr 23, 2025
0e0a166
Revert unintentional diff from cd826d6e840ed33ad88458c862da5f9fcc6e908c
rnk Apr 23, 2025
b6f32ad
[NVPTX] Switch to untyped float registers (#137011)
AlexMaclean Apr 23, 2025
9a8f90d
[memprof] Move writeMemProf to a separate file (#137051)
kazutakahirata Apr 23, 2025
d72f1f9
Bug fix in FindModuleUUID (#137075)
GeorgeHuyubo Apr 23, 2025
0d00b6b
Revert "[libc] build fix for sigsetjmp (#137047)" (#137077)
gulfemsavrun Apr 23, 2025
6388a7a
[RISCV] Check the extension type for atomic loads in isel patterns. (…
topperc Apr 23, 2025
0547e84
[FunctionAttrs] Bail if initializes range overflows 64-bit signed int…
aeubanks Apr 23, 2025
f75295f
[gn build] Port 9a8f90dba3f8
llvmgnsyncbot Apr 23, 2025
4f36ada
[Clang] Fix crash when -header-include-filtering is not specified (#1…
bob-wilson Apr 23, 2025
2397180
[lldb] Implement CLI support for reverse-continue (#132783)
rocallahan Apr 23, 2025
55160e6
[ConstEval] Fix crash when comparing strings past the end (#137078)
hnrklssn Apr 23, 2025
de2f939
[lldb] Quote module name in error message (#137083)
adrian-prantl Apr 23, 2025
93705c3
Revert "[ConstEval] Fix crash when comparing strings past the end" (#…
hnrklssn Apr 23, 2025
6ba704a
[lldb-dap] Migrate 'stepIn' request to well structured types. (#137071)
ashgti Apr 24, 2025
fc7fee8
Revert "[RISCV] Allow spilling to unused Zcmp Stack (#125959)" (#137060)
topperc Apr 24, 2025
905f1d8
[mlir][AMDGPU] Implement gpu.subgroup_reduce with DPP intrinsics on A…
Muzammiluddin-Syed-ECE Apr 24, 2025
0400b8e
[NFC][CFI] Add CFI minimal runtime tests (#137093)
vitalybuka Apr 24, 2025
9ad2193
[X86][NFC] Precommit test for #136520
e-kud Apr 21, 2025
adab66f
[bazel] Add missing deps after 905f1d8068a5bc1149732b46afc3f5dd780aa5d9
slackito Apr 24, 2025
b45225f
[Utils][vim] Add missing highlights for disjoint (#136801)
tclin914 Apr 24, 2025
5981be7
[RISCV] Add Andes A45/AX45 processor definition (#136832)
tclin914 Apr 24, 2025
a68c8e8
[mlir][vector] Fix parser of vector.transfer_read (#133721)
douyixuan Apr 24, 2025
178cdbf
[bazel] Add missing deps in mlir/test/BUILD.bazel after 905f1d8068a5b…
slackito Apr 24, 2025
30fec12
[mlir][AMDGPU] Add missing dependency (#137107)
Muzammiluddin-Syed-ECE Apr 24, 2025
ea0dbee
[memprof] Move IndexedMemProfReader::deserialize to IndexedemProfData…
kazutakahirata Apr 24, 2025
de1af6b
Eval string one past end reland (#137091)
hnrklssn Apr 24, 2025
0975c09
[clang][p2719] Module deserialization does not restore allocator flag…
ojhunt Apr 24, 2025
e646642
[MLIR][LLVM] Allow strings in module flag value (#136793)
bcardosolopes Apr 24, 2025
cb8495c
[Driver][CFI] Add missing '-' into error message (#137097)
vitalybuka Apr 24, 2025
cd92d8d
[clang-format][NFC] Reformat clang/test/Format/lit.local.cfg with black
owenca Apr 24, 2025
cb96a3d
[memprof] Dump the number of matched frames (#137082)
kazutakahirata Apr 24, 2025
77fe6aa
[libclc] only check filename part of the source for avoiding duplicat…
wenju-he Apr 24, 2025
31c7997
[cfi] Fix one -fno-sanitize-merge case, and add two TODOs (#135438)
thurstond Apr 24, 2025
096ab51
[lldb][MachO] MachO corefile support for riscv32 binaries (#137092)
jasonmolenda Apr 24, 2025
054ee17
[gn build] Port 096ab51de034
llvmgnsyncbot Apr 24, 2025
dbb0605
[SelectionDAG] Add NewSDValueDbgMsg to getAtomic.
topperc Apr 24, 2025
fb0000b
[lldb][lldb-dap] Add ToJSON for OptionValueEnumeration (#137007)
da-viper Apr 24, 2025
de81b85
[AArch64] Allow variadic calls with SVE argument if it is named. (#13…
sdesmalen-arm Apr 24, 2025
45a3056
[Flang] Add a Fortran Standards Support doc (#132195)
kiranchandramohan Apr 24, 2025
7af555e
[ARM][RISCV] Partially revert #101786 (#137120)
s-barannikov Apr 24, 2025
886f119
[AMDGPU] Use variadic isa<>. NFC. (#137016)
jayfoad Apr 24, 2025
bea110d
[clangd] Strip invalid fromRanges for outgoing calls (#134657)
HampusAdolfsson Apr 24, 2025
15bb1db
[VPlan] Remove ILV::sinkScalarOperands. (#136023)
fhahn Apr 24, 2025
0c61b24
[mlir] add a fluent API to GreedyRewriterConfig (#137122)
ftynse Apr 24, 2025
e268f71
[VPlan] Remove unneeded early continue. (NFC)
fhahn Apr 24, 2025
a3d05e8
Remove an incorrect assert in MFMASmallGemmSingleWaveOpt. (#130131)
anjenner Apr 24, 2025
03c2862
[libc++][ranges] Reject non-class types in ranges::to (#135802)
Yuzhiy05 Apr 24, 2025
a2f00e1
[RISCV] Add fixed-length patterns for disjoint or patterns for vwadd[…
lukel97 Apr 24, 2025
3883b27
[VPlan] Fix typo in assertion. NFC (#137009)
lukel97 Apr 24, 2025
be04497
[AArch64] Update __gcsss intrinsic to match revised ACLE specificatio…
sivan-shani Apr 24, 2025
59b26ab
[TSan, SanitizerBinaryMetadata] Analyze the capture status for `alloc…
Camsyn Apr 24, 2025
1ec22fa
[SystemZ] Handle f16 load positive/negative/complement without libcal…
JonPsson1 Apr 24, 2025
55066b8
[clang][bytecode] Compute pointer differences as 64bit integers (#137…
tbaederr Apr 24, 2025
94a14f9
[SystemZ] Add DAGCombine for FCOPYSIGN to remove rounding. (#136131)
JonPsson1 Apr 24, 2025
e98a61d
[mlir][tosa] Add verifier check for Concat Op (#136047)
Tai78641 Apr 24, 2025
66461db
SPIRV: Set NoPHIs property after rewriting them (#136327)
arsenm Apr 24, 2025
c6c0846
[libclang/python] Add equality comparison operators for File (#130383)
DeinAlptraum Apr 24, 2025
82c25d2
[clang][bytecode] Disable i686 test
tbaederr Apr 24, 2025
88083a0
[X86] SimplifyDemandedVectorEltsForTargetNode - handle 512-bit X86ISD…
RKSimon Apr 24, 2025
ebceb73
[mlir][vector] Update the folder for vector.{insert|extract} (#136579)
banach-space Apr 24, 2025
427b644
Revert "[LLVM][ISel][AArch64 Remove AArch64ISD::FCM##z nodes. (#135817)"
paulwalker-arm Apr 24, 2025
e37c236
[mlir][bazel] Remove unnecessary dependencies. (#136999)
chsigg Apr 24, 2025
d664c42
[libclc] Remove unnecessary clcmacros.h (#137149)
frasercrmck Apr 24, 2025
6900e90
[LLVM][TargetParser] Handle -msys targets the same as -cygwin. (#136817)
jeremyd2019 Apr 24, 2025
15321d2
[C] Add (new) -Wimplicit-void-ptr-cast to -Wc++-compat (#136855)
AaronBallman Apr 24, 2025
2edade2
[libclc][NFC] Clang-format vload/vstore code
frasercrmck Apr 24, 2025
acc335b
[X86] Add build vector test patterns with only 2 unique scalars
RKSimon Apr 24, 2025
5d136f9
[VPlan] Manage instruction metadata in VPlan. (#135272)
fhahn Apr 24, 2025
f218cd2
[IA] Remove unused argument. NFC
lukel97 Apr 24, 2025
dde00f5
[libc][math] Improve performance test framework (#134501)
meltq Apr 24, 2025
06d4876
[VPlan] Replace checking IR loop with checking VPlan predecessors (NFC).
fhahn Apr 24, 2025
7914464
[PhaseOrdering][X86] blendv-select.ll - add test coverage for #66513
RKSimon Apr 24, 2025
e35cc2d
[lldb][TypeSystemClang][NFC] Clean up TypeSystemClang::DeclGetMangled…
Michael137 Apr 24, 2025
bcdafc1
[lldb] Disable reverse continue command test on Windows
Apr 24, 2025
8b2d269
[X86] Add extended test coverage for #135010
RKSimon Apr 24, 2025
d7f3c31
Reapply "[LLVM][ISel][AArch64 Remove AArch64ISD::FCM##z nodes. (#1358…
paulwalker-arm Apr 24, 2025
ecdd3fd
[RemoveDI][Polly] Use iterators instead of instruction pointers to Se…
kartcq Apr 24, 2025
224cd50
[DebugInfo][GlobalOpt] Preserve source locs for optimized loads (#134…
SLTozer Apr 24, 2025
57530c2
[GlobalOpt] Do not promote malloc if there are atomic loads/stores (#…
nikic Apr 24, 2025
f572a59
[VectorCombine] Ensure canScalarizeAccess handles cases where the ind…
RKSimon Apr 24, 2025
2dfe68a
[NFC][OpenMP] Fix task record/replay comments (#137178)
jpinot Apr 24, 2025
10ea5ee
[X86] pr40891.ll - add X64 test coverage
RKSimon Apr 24, 2025
139e30e
[libclc] Remove (vload|vstore)_half helpers (#137181)
frasercrmck Apr 24, 2025
e3eee9e
[X86] vector-trunc.ll - replace stores to ptr undef with real ptr values
RKSimon Apr 24, 2025
ed866d9
[X86][Combine] Ensure single use chain in extract-load combine (#136520)
e-kud Apr 24, 2025
52a9649
[clang][SPIR-V] Addrspace of opencl_global should always be 1 (#136753)
sarnex Apr 24, 2025
3e605b1
[NFC] Add a pre-commit test case for #111696 (#136730)
diggerlin Apr 24, 2025
d859cb6
[OpenACC] Fix variable dereference found by static analysis
erichkeane Apr 24, 2025
9ae7aa7
[clang][bytecode] Diagnose comparing pointers to fields... (#137159)
tbaederr Apr 24, 2025
0fcc9ff
[CMake] Support using precompiled headers with ccache in flang (#136856)
mrkajetanp Apr 24, 2025
d43ce35
[TableGen][GISel] Allow isTrivialOperatorNode to import patterns with…
topperc Apr 24, 2025
4f5cfa8
AMDGPU: Remove amdhsa_code_object_version module flags from most test…
arsenm Apr 24, 2025
72cc868
[Clang][NFC] Move temp variable back into the source (#137095)
shafik Apr 24, 2025
b278aa3
[RISCV] Make xrivosvizip interleave2 and deinterleave2 undef safe (#1…
preames Apr 24, 2025
a903c7b
[PowerPC] Intrinsics and tests for dmr insert/extract (#135653)
RolandF77 Apr 24, 2025
2ca071b
[TableGen][RISCV][AArch64][GISel] Properly implement isAnyExtLoad/isS…
topperc Apr 24, 2025
feaa5aa
Fix a crash in constant evaluation of ExtVectorElementExprs (#136771)
ahatanak Apr 24, 2025
c7fbaba
[clang] fix typo in CHECK line
mizvekov Apr 24, 2025
0ab330b
[ms] [llvm-ml] Add support for `@CatStr` built-in function symbol (#1…
ericastor Apr 24, 2025
72b2d4d
[llvm-cov] Fix branch counts of template functions (second attempt) (…
stma247 Apr 24, 2025
fe90b9d
[ASan] Limits the conditions of the deadlock patch (#137127)
Camsyn Apr 24, 2025
e329b6c
[NFC][RootSignatures] Conform to new std::optional calling convention…
inbelic Apr 24, 2025
565a075
[flang][cuda][rt] Track asynchronous allocation stream for deallocati…
clementval Apr 24, 2025
e78b763
update_test_checks: Relax DIFile filename checks (#135692)
slinder1 Apr 24, 2025
2de936b
[mlir][vector] Fix emulation of "narrow" type `vector.store` (#133231)
banach-space Apr 24, 2025
7a276c8
[lldb] Fix logic error in AppleObjCTypeEncodingParser (#137067)
kastiglione Apr 24, 2025
8832a59
[clang] Enable making the module build stack thread-safe (#137059)
jansvoboda11 Apr 24, 2025
1143a04
[DebugInfo][DWARF] Emit DW_AT_abstract_origin for concrete/inlined DW…
dzhidzhoev Apr 24, 2025
3e7e23d
clang/HIP: Add tests that shows fpmath metadata ends up on sqrt calls…
arsenm Apr 24, 2025
6e3b16b
[AArch64][GlobalISel] Fix EXTRACT_SUBREG reg classes in patterns to g…
davemgreen Apr 24, 2025
2bc6f9d
[TableGen] Only store direct superclasses in Record (#123072)
jayfoad Apr 24, 2025
d6bb786
[DebugInfo] Propagate source loc from invoke to replacement branch (#…
SLTozer Apr 24, 2025
92dc18b
[DebugInfo] Fix build failure introduced by 1143a04f.
dzhidzhoev Apr 24, 2025
10f6c3e
[DAG] visitCONCAT_VECTORS - relax legality checks (#137210)
RKSimon Apr 24, 2025
f427890
[SLP]Fix PHI comparator to make it follow weak strict ordering restri…
alexey-bataev Apr 24, 2025
5f91649
Optimize std::__tree::__assign_multi to insert the provided range at …
higher-performance Apr 24, 2025
a7a74b3
[SLP]Improve reordering of the alternate nodes
alexey-bataev Apr 24, 2025
a9d93ec
[DLCov] Implement DebugLoc coverage tracking (#107279)
SLTozer Apr 24, 2025
7cce38b
[VPlan] Remove dead SE argument from handleUncountableEarlyExit (NFC).
fhahn Apr 24, 2025
c8dc3ed
[flang][cuda] Convert gpu.launch_func with result (#137231)
clementval Apr 24, 2025
f261f14
[SelectionDAG][RISCV] Teach computeKnownBits to use range metadata fo…
topperc Apr 24, 2025
dd9f92c
Revert "[DebugInfo][DWARF] Emit DW_AT_abstract_origin for concrete/in…
dwblaikie Apr 24, 2025
f12fb2f
[HLSL] Analyze updateCounter usage (#135669)
V-FEXrt Apr 24, 2025
73ddbd3
[NFC][CFI] Add tests for different reporting settings (#137225)
vitalybuka Apr 24, 2025
3c39922
[HLSL][RootSignature] Add parsing of ShaderVisibility to DescriptorTa…
inbelic Apr 24, 2025
1636f4a
[CmpInstAnalysis] Decompose icmp eq (and x, C) C2 (#136367)
jrbyrnes Apr 24, 2025
37b135c
Attributor: Don't rely on use_empty for constants (#137218)
arsenm Apr 24, 2025
4ed8bfd
LiveRangeShrink: Early exit when encountering a code motion barrier.
pcc Apr 24, 2025
c007c46
[NVPTX] Support BFloat Store Parameter (#137074)
stumpOS Apr 24, 2025
bea3b92
Revert "Revert "[DebugInfo][DWARF] Emit DW_AT_abstract_origin for con…
dzhidzhoev Apr 24, 2025
63f5c6a
[mlir][complex][NFC] Fix typo in PowOp (#137240)
clementval Apr 24, 2025
425b953
[clang][bytecode] Emit diagnostics from GetGlobalUnchecked (#137203)
tbaederr Apr 24, 2025
9f74d51
[NFC][UBSAN] Fix minimal UBSAN test names (#137244)
vitalybuka Apr 24, 2025
a7e5312
[alpha.webkit.UncheckedCallArgsChecker] Checker fails to recognize Ca…
rniwa Apr 24, 2025
8baa212
[DirectX] Handle <1 x ...> loads in DXILResourceAccess (#137076)
bogner Apr 24, 2025
5d0afac
[BOLT][NFCI] Emit uniform diagnostics in DataAggregator (#136530)
aaupov Apr 24, 2025
08efca9
[LLVM][Cygwin] Fix shared library name (#136599)
jeremyd2019 Apr 24, 2025
b649b35
[HLSL] Adding support for Root Constants in LLVM Metadata (#135085)
joaosaffran Apr 24, 2025
bae4c94
[OpenACC][CIR] Implement 'num_gangs' lowering (#137216)
erichkeane Apr 24, 2025
7d71164
[CIR] Upstream support for name mangling (#137094)
andykaylor Apr 24, 2025
80182a7
[OpenACC][CIR] Implement 'wait' directive lowering
erichkeane Apr 24, 2025
0a3f2a0
[BPF] Fix issues with external declarations of C++ structor decls (#1…
rnk Apr 24, 2025
67cbfb9
[HLSL] Implement the `faceforward` intrinsic (#135878)
kmpeng Apr 24, 2025
851f7c7
[libc][math][c23] Add acospif16() function (#134664)
amemov Apr 24, 2025
7de2e49
[mlir][NFC] Use Builder for getReassociationIndicesAttribute method. …
hanhanW Apr 24, 2025
768d3ba
github-automation.py: Add debug output to the commit-request-greeter …
tstellar Apr 24, 2025
5b16941
[clang] Ensure correct copying of records with authenticated fields (…
ojhunt Apr 24, 2025
42622c7
[bazel] Depend on full Utility library in lldb (#137265)
keith Apr 24, 2025
262158b
[lldb-dap] Support StackFrameFormat (#137113)
JDevlieghere Apr 24, 2025
fdbf073
Revert "[DLCov] Implement DebugLoc coverage tracking (#107279)"
SLTozer Apr 24, 2025
b6746b0
[CIR] Upstream namepsace handling (#137253)
andykaylor Apr 24, 2025
c0bc775
[MLIR][LLVM] Add CG Profile module flags support (#137115)
bcardosolopes Apr 24, 2025
7122d9c
[RISCV] Add codegen tests for `vector.(de)interleave3/5/7` on FP scal…
mshockwave Apr 24, 2025
be48c0d
[-Wunsafe-buffer-usage] Fix a bug that wrongly assumed CXXMethodDecl …
ziqingluo-90 Apr 25, 2025
70e303f
[webkit.UncountedLambdaCapturesChecker] Treat a call to lambda functi…
rniwa Apr 25, 2025
31b38d6
[HLSL] Handle incomplete array types (#133508)
llvm-beanz Apr 25, 2025
967434a
[lldb] Remerge #136236 (Avoid force loading symbols in statistics col…
royitaqi Apr 25, 2025
e28616a
workflows/commit-access-greeter: Add pull-request read permissions (#…
tstellar Apr 25, 2025
f0c61d2
CodeGen: Add ISD::AssertNoFPClass (#135946)
wzssyqa Apr 25, 2025
fb01f19
[lldb][lldb-dap] fix repeating commands in repl mode (#135008)
da-viper Apr 25, 2025
7a42427
Revert "[X86][APX] Support peephole optimization with CCMP instructio…
fzou1 Apr 25, 2025
462bf47
[InstCombine] Refactor the code for folding logicop and sext/zext. NF…
tclin914 Apr 25, 2025
ea698c4
[NVPTX][NFC] Refactoring and cleanup in NVPTXISelLowering (#137222)
AlexMaclean Apr 25, 2025
4652b69
[mlir][linalg] Fix partial fuse by collapse (#136326)
IanWood1 Apr 25, 2025
82f1f5e
[clang-format] Correctly identify include guards (#137112)
owenca Apr 25, 2025
5717c5f
[lldb] Re-enable TestDAP_stackTrace on Windows
JDevlieghere Apr 25, 2025
6d99d1a
[mlir][bazel] Added a target for the CF dialect C API (#137146)
superbobry Apr 25, 2025
3b58a60
[clang][bytecode] Allow forming pointers to fields of extern globals …
tbaederr Apr 25, 2025
38ad926
[LangRef] Clarify the behavior of select with FP poison-generating fl…
dtcxzyw Apr 25, 2025
9c2190e
[RISCV] Add support for Ziccamoc (#136694)
T-Tie Apr 25, 2025
4358512
Merge commit '9c2190eb5dacfb7991f616c83a9e87740c1c6d49' into bump_to_…
jorickert Jul 24, 2026
1524ec8
Update actions config for ubuntu 24.04
jorickert Jul 27, 2026
6c66b40
[mlir][PDL] Use free-function cast for derived PDL values
jorickert Jul 27, 2026
1304da4
[mlir][PDL] Use free-function cast for derived PDL values
jorickert Jul 27, 2026
c000bfb
Make depdency on type switch explicit
jorickert Jul 27, 2026
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 6 additions & 4 deletions .ci/compute_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
"clang": {"clang-tools-extra", "compiler-rt", "cross-project-tests"},
"clang-tools-extra": {"libc"},
"mlir": {"flang"},
# Test everything if ci scripts are changed.
# FIXME: Figure out what is missing and add here.
".ci": {"llvm", "clang", "lld", "lldb"},
}

DEPENDENT_RUNTIMES_TO_TEST = {"clang": {"libcxx", "libcxxabi", "libunwind"}}
Expand Down Expand Up @@ -130,12 +133,11 @@ def _add_dependencies(projects: Set[str]) -> Set[str]:
def _compute_projects_to_test(modified_projects: Set[str], platform: str) -> Set[str]:
projects_to_test = set()
for modified_project in modified_projects:
# Skip all projects where we cannot run tests.
if modified_project not in PROJECT_CHECK_TARGETS:
continue
if modified_project in RUNTIMES:
continue
projects_to_test.add(modified_project)
# Skip all projects where we cannot run tests.
if modified_project in PROJECT_CHECK_TARGETS:
projects_to_test.add(modified_project)
if modified_project not in DEPENDENTS_TO_TEST:
continue
for dependent_project in DEPENDENTS_TO_TEST[modified_project]:
Expand Down
17 changes: 17 additions & 0 deletions .ci/compute_projects_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,23 @@ def test_exclude_gn(self):
self.assertEqual(env_variables["runtimes_to_build"], "")
self.assertEqual(env_variables["runtimes_check_targets"], "")

def test_ci(self):
env_variables = compute_projects.get_env_variables(
[".ci/compute_projects.py"], "Linux"
)
self.assertEqual(env_variables["projects_to_build"], "clang;lld;llvm;lldb")
self.assertEqual(
env_variables["project_check_targets"],
"check-clang check-lld check-llvm check-lldb",
)
self.assertEqual(
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
)
self.assertEqual(
env_variables["runtimes_check_targets"],
"check-cxx check-cxxabi check-unwind",
)


if __name__ == "__main__":
unittest.main()
2 changes: 1 addition & 1 deletion .ci/generate_test_report_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def plural(num_tests):
]
)
elif failures:
report.extend(["", "## Failed Tests", "(click to see output)"])
report.extend(["", "## Failed Tests", "(click on a test name to see its output)"])

for testsuite_name, failures in failures.items():
report.extend(["", f"### {testsuite_name}"])
Expand Down
7 changes: 5 additions & 2 deletions .ci/generate_test_report_lib_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

# To run these tests:
# python -m unittest generate_test_report_lib_test.py

import unittest
from io import StringIO
from textwrap import dedent
Expand Down Expand Up @@ -150,7 +153,7 @@ def test_report_single_file_single_testsuite(self):
* 2 tests failed

## Failed Tests
(click to see output)
(click on a test name to see its output)

### Bar
<details>
Expand Down Expand Up @@ -182,7 +185,7 @@ def test_report_single_file_single_testsuite(self):
* 2 tests failed

## Failed Tests
(click to see output)
(click on a test name to see its output)

### ABC
<details>
Expand Down
19 changes: 18 additions & 1 deletion .ci/monolithic-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,16 @@ if [[ -n "${CLEAR_CACHE:-}" ]]; then
ccache --clear
fi

mkdir -p artifacts/reproducers

# Make sure any clang reproducers will end up as artifacts.
export CLANG_CRASH_DIAGNOSTICS_DIR=`realpath artifacts/reproducers`

function at-exit {
retcode=$?

mkdir -p artifacts
ccache --print-stats > artifacts/ccache_stats.txt
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log

# If building fails there will be no results files.
shopt -s nullglob
Expand All @@ -57,9 +62,18 @@ export PIP_BREAK_SYSTEM_PACKAGES=1
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
pip install -q -r "${MONOREPO_ROOT}"/lldb/test/requirements.txt
pip install -q -r "${MONOREPO_ROOT}"/.ci/requirements.txt

# Set the system llvm-symbolizer as preferred.
export LLVM_SYMBOLIZER_PATH=`which llvm-symbolizer`
[[ ! -f "${LLVM_SYMBOLIZER_PATH}" ]] && echo "llvm-symbolizer not found!"

# Set up all runtimes either way. libcxx is a dependency of LLDB.
# It will not be built unless it is used.
cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
-D LLVM_ENABLE_PROJECTS="${projects}" \
-D LLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
-G Ninja \
-D CMAKE_PREFIX_PATH="${HOME}/.local" \
-D CMAKE_BUILD_TYPE=Release \
-D LLVM_ENABLE_ASSERTIONS=ON \
-D LLVM_BUILD_EXAMPLES=ON \
Expand All @@ -68,7 +82,10 @@ cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
-D LLVM_ENABLE_LLD=ON \
-D CMAKE_CXX_FLAGS=-gmlt \
-D LLVM_CCACHE_BUILD=ON \
-D LIBCXX_CXX_ABI=libcxxabi \
-D MLIR_ENABLE_BINDINGS_PYTHON=ON \
-D LLDB_ENABLE_PYTHON=ON \
-D LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON \
-D CMAKE_INSTALL_PREFIX="${INSTALL_DIR}"

echo "--- ninja"
Expand Down
1 change: 1 addition & 0 deletions .ci/monolithic-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ function at-exit {

mkdir -p artifacts
sccache --show-stats >> artifacts/sccache_stats.txt
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log

# If building fails there will be no results files.
shopt -s nullglob
Expand Down
Empty file added .clang-format-ignore
Empty file.
6 changes: 6 additions & 0 deletions .github/new-prs-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ ClangIR:
- clang/tools/cir-*/**/*
- clang/test/CIR/**/*

clang:bytecode:
- clang/docs/ConstantInterpreter.rst
- clang/lib/AST/ByteCode/**/*
- clang/test/AST/ByteCode/**/*
- clang/unittests/AST/ByteCode/**/*

clang:dataflow:
- clang/include/clang/Analysis/FlowSensitive/**/*
- clang/lib/Analysis/FlowSensitive/**/*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-post-commit-analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
if: >-
github.repository_owner == 'llvm' &&
github.event.action != 'closed'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
image: 'ghcr.io/llvm/ci-ubuntu-22.04:latest'
image: 'ghcr.io/llvm/ci-ubuntu-24.04:latest'
env:
LLVM_VERSION: 18
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/commit-access-greeter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
commit-access-greeter:
permissions:
issues: write
pull-requests: read
if: >-
github.repository_owner == 'llvm' &&
github.event.label.name == 'infra:commit-access-request'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/containers/github-action-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN cmake -B ./build -G Ninja ./llvm \
-DLLVM_ENABLE_RUNTIMES="compiler-rt" \
-DCMAKE_INSTALL_PREFIX="$LLVM_SYSROOT" \
-DLLVM_ENABLE_PROJECTS="bolt;clang;lld;clang-tools-extra" \
-DLLVM_DISTRIBUTION_COMPONENTS="lld;compiler-rt;clang-format;scan-build" \
-DLLVM_DISTRIBUTION_COMPONENTS="lld;compiler-rt;clang-format;scan-build;llvm-symbolizer" \
-DCLANG_DEFAULT_LINKER="lld"

RUN ninja -C ./build stage2-clang-bolt stage2-install-distribution && ninja -C ./build install-distribution
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/libc-fullbuild-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
include:
- os: ubuntu-24.04
ccache-variant: sccache
c_compiler: clang
cpp_compiler: clang++
c_compiler: clang-20
cpp_compiler: clang++-20
# 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++
c_compiler: clang-20
cpp_compiler: clang++-20
# TODO: add back gcc build when it is fixed
# - c_compiler: gcc
# cpp_compiler: g++
Expand All @@ -51,6 +51,9 @@ jobs:
# For more information, see https://wiki.debian.org/Multiarch/LibraryPathOverview
- name: Prepare dependencies (Ubuntu)
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 20
sudo apt-get update
sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build linux-libc-dev
sudo ln -sf /usr/include/$(uname -p)-linux-gnu/asm /usr/include/asm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libclang-python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jobs:
projects: clang
# There is an issue running on "windows-2019".
# See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082.
os_list: '["ubuntu-22.04"]'
os_list: '["ubuntu-24.04"]'
python_version: ${{ matrix.python-version }}
3 changes: 2 additions & 1 deletion .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
with:
xcode-version: 'latest'
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
xcode-version: '16.3'
- uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6
- name: Build and test
run: |
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/llvm-project-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,7 @@ on:
type: string
# Use windows-2019 due to:
# https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
# Use ubuntu-22.04 rather than ubuntu-24.04 to match the ubuntu
# version in the CI container. Without this, setup-python tries
# to install a python version linked against a newer version of glibc.
# TODO(boomanaiden154): Bump the Ubuntu version once the version in the
# container is bumped.
default: '["ubuntu-22.04", "windows-2019", "macOS-13"]'
default: '["ubuntu-24.04", "windows-2019", "macOS-13"]'

python_version:
required: false
Expand All @@ -72,7 +67,7 @@ jobs:
name: Lit Tests
runs-on: ${{ matrix.os }}
container:
image: ${{(startsWith(matrix.os, 'ubuntu') && 'ghcr.io/llvm/ci-ubuntu-22.04:latest') || null}}
image: ${{(startsWith(matrix.os, 'ubuntu') && 'ghcr.io/llvm/ci-ubuntu-24.04:latest') || null}}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -106,7 +101,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y python3-dev python3-pip
pip install -r mlir/python/requirements.txt
pip install --break-system-packages -r mlir/python/requirements.txt
- name: Setup ccache
uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mlir-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
projects: mlir
cache-key: amd-mlir
extra_cmake_args: -DMLIR_ENABLE_BINDINGS_PYTHON=ON
os_list: '["ubuntu-22.04"]'
os_list: '["ubuntu-24.04"]'
15 changes: 15 additions & 0 deletions .github/workflows/premerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ jobs:
export CXX=/opt/llvm/bin/clang++

./.ci/monolithic-linux.sh "${projects_to_build}" "${project_check_targets}" "${runtimes_to_build}" "${runtimes_check_targets}"
- name: "Upload artifact"
- name: Upload Artifacts
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: Premerge Artifacts (Linux)
path: artifacts/
retention-days: 5
include-hidden-files: 'true'

premerge-checks-windows:
name: Windows Premerge Checks (Test Only - Please Ignore Results)
Expand Down Expand Up @@ -113,6 +121,13 @@ jobs:
set MAX_PARALLEL_LINK_JOBS=64
call C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64
bash .ci/monolithic-windows.sh "${{ steps.vars.outputs.windows-projects }}" "${{ steps.vars.outputs.windows-check-targets }}"
- name: Upload Artifacts
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: Premerge Artifacts (Windows)
path: artifacts/
retention-days: 5
include-hidden-files: 'true'

premerge-check-macos:
name: MacOS Premerge Checks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spirv-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
build_target: check-llvm-codegen-spirv
projects:
extra_cmake_args: '-DLLVM_TARGETS_TO_BUILD="SPIRV" -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON'
os_list: '["ubuntu-22.04"]'
os_list: '["ubuntu-24.04"]'
9 changes: 5 additions & 4 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
<hans@hanshq.net> <hans@chromium.org>
<i@maskray.me> <maskray@google.com>
<JCTremoulet@gmail.com> <jotrem@microsoft.com>
<min@myhsu.dev> <minyihh@uci.edu>
Min Hsu <min.hsu@sifive.com> <min@myhsu.dev>
Min Hsu <min.hsu@sifive.com> <minyihh@uci.edu>
<qcf@ecnelises.com> <qiucofan@cn.ibm.com> <qiucf@cn.ibm.com>
<rnk@google.com> <reid@kleckner.net>
<thakis@chromium.org> <nicolasweber@gmx.de>
Expand All @@ -48,6 +49,6 @@ Ramkumar Ramachandra <r@artagnon.com> <artagnon@gmail.com>
Ramkumar Ramachandra <r@artagnon.com> <Ramkumar.Ramachandra@imgtec.com>
Saleem Abdulrasool <compnerd@compnerd.org>
Tommy Chiang <ty1208chiang@gmail.com> <oToToT@users.noreply.github.com>
Wang Pengcheng <wangpengcheng.pp@bytedance.com>
Wang Pengcheng <wangpengcheng.pp@bytedance.com> <137158460+wangpc-pp@users.noreply.github.com>
Wang Pengcheng <wangpengcheng.pp@bytedance.com> <pc.wang@linux.alibaba.com>
Pengcheng Wang <wangpengcheng.pp@bytedance.com>
Pengcheng Wang <wangpengcheng.pp@bytedance.com> <137158460+wangpc-pp@users.noreply.github.com>
Pengcheng Wang <wangpengcheng.pp@bytedance.com> <pc.wang@linux.alibaba.com>
5 changes: 3 additions & 2 deletions bolt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ endforeach()

set(BOLT_ENABLE_RUNTIME_default OFF)
if ((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64"
OR CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|aarch64)$")
OR CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|aarch64)$"
OR CMAKE_SYSTEM_PROCESSOR STREQUAL "riscv64")
AND (CMAKE_SYSTEM_NAME STREQUAL "Linux"
OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
AND (NOT CMAKE_CROSSCOMPILING))
Expand Down Expand Up @@ -136,7 +137,7 @@ if (LLVM_INCLUDE_TESTS)
endif()

if (BOLT_ENABLE_RUNTIME)
message(STATUS "Building BOLT runtime libraries for X86")
message(STATUS "Building BOLT runtime libraries for ${CMAKE_SYSTEM_PROCESSOR}")
set(extra_args "")
if(CMAKE_SYSROOT)
list(APPEND extra_args -DCMAKE_SYSROOT=${CMAKE_SYSROOT})
Expand Down
9 changes: 9 additions & 0 deletions bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,11 @@ class BinaryFunction {
return getSecondaryEntryPointSymbol(BB.getLabel());
}

/// Remove a label from the secondary entry point map.
void removeSymbolFromSecondaryEntryPointMap(const MCSymbol *Label) {
SecondaryEntryPoints.erase(Label);
}

/// Return true if the basic block is an entry point into the function
/// (either primary or secondary).
bool isEntryPoint(const BinaryBasicBlock &BB) const {
Expand Down Expand Up @@ -2126,6 +2131,10 @@ class BinaryFunction {
return Islands && !Islands->DataOffsets.empty();
}

bool isStartOfConstantIsland(uint64_t Offset) const {
return hasConstantIsland() && Islands->DataOffsets.count(Offset);
}

/// Return true iff the symbol could be seen inside this function otherwise
/// it is probably another function.
bool isSymbolValidInScope(const SymbolRef &Symbol, uint64_t SymbolSize) const;
Expand Down
4 changes: 2 additions & 2 deletions bolt/include/bolt/Passes/PAuthGadgetScanner.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ raw_ostream &operator<<(raw_ostream &OS, const MCInstReference &);

namespace PAuthGadgetScanner {

class PacRetAnalysis;
struct State;
class SrcSafetyAnalysis;
struct SrcState;

/// Description of a gadget kind that can be detected. Intended to be
/// statically allocated to be attached to reports by reference.
Expand Down
Loading