Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1797 commits
Select commit Hold shift + click to select a range
c2692af
[PowerPC] Rename VariantKind to Specifier
MaskRay Mar 21, 2025
13bb2f4
[MC] Rename some VariantKind functions to use Specifier
MaskRay Mar 21, 2025
5990056
[llvm] Use *Set::insert_range (NFC) (#132325)
kazutakahirata Mar 21, 2025
3041fa6
[mlir] Use *Set::insert_range (NFC) (#132326)
kazutakahirata Mar 21, 2025
42a8813
[RISCV] Rename VariantKind to Specifier
MaskRay Mar 21, 2025
c9055e9
[RISCV] Remove Specifier::VK_Invalid
MaskRay Mar 21, 2025
75c6fd3
[Sparc] Rename VariantKind to Specifier
MaskRay Mar 21, 2025
f5f6af8
[InstrRef] Preserve debug instr num in aarch64-cond-br-tuning. (#132081)
rastogishubham Mar 21, 2025
910f7f4
[Driver] Haiku address sanitizer support (#132335)
brad0 Mar 21, 2025
111cc47
[AVR] Rename VariantKind to Specifier
MaskRay Mar 21, 2025
ad0827d
[GVN] Add MemorySSA checks in tests 1/N (#130261)
madhur13490 Mar 21, 2025
1667a2a
[clang][ExprConst] Check record base classes for valid structs (#132270)
tbaederr Mar 21, 2025
2089b08
[ARM] Rename VariantKind to Specifier
MaskRay Mar 21, 2025
103119a
[WebAssembly] Lower wide SIMD i8 muls (#130785)
sparker-arm Mar 21, 2025
058a4e8
[LoongArch] Rename VariantKind to Specifier
MaskRay Mar 21, 2025
be258a2
[SSAUpdaterBulk] Fix incorrect live-in values for a block. (#131762)
vpykhtin Mar 21, 2025
17b202f
[LoopInterchange] Add an option to prioritize vectorization (#131988)
kasuga-fj Mar 21, 2025
d6dc74e
[LoongArch] Fix the type of tls-le symbols (#132324)
zhaoqi5 Mar 21, 2025
29e1a76
[llvm-exegesis] Avoid repeated hash lookups (NFC) (#132331)
kazutakahirata Mar 21, 2025
0355716
[BOLT] Gadget scanner: streamline issue reporting (#131896)
atrosinenko Mar 21, 2025
6da8f56
[OpenMP 6.0] Parse/Sema support for reduction over private variable w…
chandraghale Mar 21, 2025
f4ec179
[ARM] Fix undefined behavior in `isLegalAddImmediate` (#132219)
statham-arm Mar 21, 2025
2170d77
[MLIR][Affine] Fix getAccessRelation for 0-d memrefs (#132347)
bondhugula Mar 21, 2025
f89a7fa
[lldb] Ignore registers that the debugserver fails to read (#132122)
rocallahan Mar 21, 2025
cd6b744
Revert "Update OpenMP runtime to adopt taskgraph clause from 6.0 Spec…
jpinot Mar 21, 2025
77edfbb
[CI] Don't count canceled buildkite builds (#132015)
Keenuts Mar 21, 2025
7f8451c
[RISCV] Use vsetvli instead of vlenb in Prologue/Epilogue (#113756)
kito-cheng Mar 21, 2025
690b8b4
[lld] Avoid repeated map lookups (NFC) (#132327)
kazutakahirata Mar 21, 2025
4e69258
[LoopVectorize] Add cost of generating tail-folding mask to the loop …
david-arm Mar 21, 2025
2e3fa4b
[AMDGPU] Insert before and after instructions that always use GDS (#1…
stepthomas Mar 21, 2025
5488ad8
[X86] combineConcatVectorOps - add concatenation handling for X86ISD:…
RKSimon Mar 21, 2025
387f3e8
[lldb] s/ValidRange/ValidRanges in UnwindPlan (#127661)
labath Mar 21, 2025
44261da
[flang][NFC] use hlfir.declare first result when both results are raw…
jeanPerier Mar 21, 2025
3bcab6f
[flang][OpenMP][Semantics] improve semantic checks for array sections…
tblah Mar 21, 2025
4b41984
[lldb] Show target.debug-file-search-paths setting from python SBDeb…
da-viper Mar 21, 2025
52de49e
[lldb][debugserver][MacOSX] Work around sanitizer misaligned address …
Michael137 Mar 21, 2025
123eb75
[Flang] Do not emit numeric_storage_size into object file (#131463)
Meinersbur Mar 21, 2025
ff8a960
Minor unused variable error for sanitizer builds (#132372)
chandraghale Mar 21, 2025
09feaa9
Revert "[X86][AVX10.2] Support YMM rounding new instructions (#101825…
phoebewang Mar 21, 2025
ea03bde
[MLIR][AMDGPU] Adding Vector transfer_read to load rewrite pattern (#…
jerryyin Mar 21, 2025
281028e
[LoopInterchange] Prevent from undoing its own transformation (#127473)
kasuga-fj Mar 21, 2025
42d49a1
[flang] fix openmp tests after #132261 (#132391)
jeanPerier Mar 21, 2025
6b59b33
[MLIR] Handle call site locations when inlining (#132247)
VadimCurca Mar 21, 2025
369be31
[X86,SimplifyCFG] Support conditional faulting load or store only (#1…
phoebewang Mar 21, 2025
561dcb2
[Clang] Permit `-Xarch_` to be used with `--offload-arch` (#131884)
jhuber6 Mar 21, 2025
e385ec9
[lld-macho] Don't double emit reexported libraries (#132275)
speednoisemovement Mar 21, 2025
af93db9
[LLD] [COFF] Add a few more mingw libs to skip autoexports for (#132289)
mstorsjo Mar 21, 2025
610ade2
[win/asan] GetInstructionSize: Detect `66 90` two-byte NOP at 32-bit …
bernhardu Mar 21, 2025
ac9049d
Reland "[Transforms] LoopIdiomRecognize recognize strlen and wcslen (…
mustartt Mar 21, 2025
1416566
Reland: [clang] NFC: Clear some uses of MemberPointerType::getClass (…
mizvekov Mar 21, 2025
5286511
[lldb][NFC] use platform independent path separator in testSettings.p…
da-viper Mar 21, 2025
857a04c
[MachinePipeliner] Fix incorrect handlings of unpipelineable insts (#…
kasuga-fj Mar 21, 2025
c4eec9e
[X86] combineConcatVectorOps - add concatenation handling for consecu…
RKSimon Mar 21, 2025
13c2378
[RISCV] Expand test coverage for DAG store merging
preames Mar 21, 2025
f0eeb9f
[X86] combineGatherScatter - pull out repeated index sign bits code. …
RKSimon Mar 21, 2025
0ea4fb9
[AMD][ROCDL] Add packed conversions fp8/bf8->bf16 and fp8/bf8->fp32 i…
yiqian1 Mar 21, 2025
924c7ea
[X86][AVX10.2] Remove YMM rounding from VCVT2PS2PHX (#132397)
phoebewang Mar 21, 2025
968ecc7
[AsmParser] Avoid repeated hash lookups (NFC) (#132328)
kazutakahirata Mar 21, 2025
67a631b
[CodeGen] Avoid repeated hash lookups (NFC) (#132329)
kazutakahirata Mar 21, 2025
e97a4cd
[Scalar] Avoid repeated hash lookups (NFC) (#132330)
kazutakahirata Mar 21, 2025
a2661a9
[mlir] Avoid repeated hash lookups (NFC) (#132332)
kazutakahirata Mar 21, 2025
a013387
[DebugInfo] Use heterogenous lookups with std::map (NFC) (#132354)
kazutakahirata Mar 21, 2025
d4ce57c
[libc] Fix unresolved stdio symbols (#132403)
jhuber6 Mar 21, 2025
f7a32b8
[MC][SystemZ] Introduce Target Specific HLASM Streamer for z/OS (#130…
tltao Mar 21, 2025
fa4bf3a
[lldb][NFC] Fix test settings JSON check to compare expected path lis…
da-viper Mar 21, 2025
6bbd45d
[NFC][BOLT] Refactor ForcePatch option (#127812)
paschalis-mpeis Mar 21, 2025
79079c9
[OpenACC] Finish implementing 'routine' AST/Sema.
erichkeane Mar 18, 2025
954a3de
Reland [Coverage] Fix region termination for GNU statement expression…
justincady Mar 21, 2025
f8865aa
[lldb] Fix tests to resolve symlinks when checking paths (#132053)
dmpots Mar 21, 2025
4a2ab3a
[RISCV] Remove trailing whitespace. NFC
topperc Mar 21, 2025
bd6df0f
Reapply "[LLVM] Make the GPU loader utilities an LLVM tool (#132096)"…
jhuber6 Mar 21, 2025
f51e5f3
[CIR] Upstream initial for-loop support (#132266)
andykaylor Mar 21, 2025
4dd7fea
[mlir][tosa] Add more error_if checks for Resize Op (#132290)
Jerry-Ge Mar 21, 2025
14f7bd6
Reland: [clang] preserve class type sugar when taking pointer to memb…
mizvekov Mar 21, 2025
b858ba0
[RISCV] Fix capitalization of CHECK prefix in riscv-target-features.c…
topperc Mar 21, 2025
5afa0fa
[X86] Prevent APX NDD compression when it creates a partial write (#1…
daniel-zabawa Mar 21, 2025
72d1058
[BOLT] Gadget scanner: refactor analysis of RET instructions (#131897)
atrosinenko Mar 21, 2025
ff9c5c3
[shrinkwrap] PowerPC's FP register should be honored when processing …
tonykuttai Mar 21, 2025
d7e7e0a
[X86][AVX10.2] Remove YMM rounding from VMINMAXP[H,S,D] (#132405)
phoebewang Mar 21, 2025
7be243a
[NFC][libc++][chrono] Removes dead code. (#132104)
mordante Mar 21, 2025
f60bec9
[libc++][chrono] Adds a missing main include. (#132100)
mordante Mar 21, 2025
5f94992
[RISCV] isLoadFromStackSlot and isStoreToStackSlot for vector spill/f…
preames Mar 21, 2025
e1a1603
[X86][AVX10.2] Remove YMM rounding from VCVTTP.*QS (#132414)
phoebewang Mar 21, 2025
b3e64fb
[ARM] Prepare for VariantKind to specifier rename. NFC
MaskRay Mar 21, 2025
1cbcaa4
[clang][dataflow] Add matcher for pointer-like types to be cached (#1…
fmayer Mar 21, 2025
3b0ec61
[SLP][NFC] Redesign schedule bundle, separate from schedule data, NFC
alexey-bataev Mar 21, 2025
cb2ee1e
[NVPTX][NVPTXLowerArgs] Add NewPM interface for NVPTXLowerArgs (#128960)
akshayrdeodhar Mar 21, 2025
b13373d
[SystemZ] Use hasAddressTaken() with verifyNarrowIntegerArgs (NFC). (…
JonPsson1 Mar 21, 2025
9933117
[BOLT] Fix a warning
kazutakahirata Mar 21, 2025
8d78b7c
[RISCV] Introduce RISCV::RVVBytesPerBlock to simplify code [nfc] (#13…
preames Mar 21, 2025
a17b03f
[libc][math] Implement fast pass for double precision atan function. …
lntue Mar 21, 2025
3120515
[Github] Fix scorecard action (#131472)
boomanaiden154 Mar 21, 2025
9f91966
[Github] Bump most actions to ubuntu 24.04 (#131760)
boomanaiden154 Mar 21, 2025
d6a2cca
[llvm:ir] Add support for constant data exceeding 4GiB (#126481)
pzzp Mar 21, 2025
5ecbf46
Hlsl asuint16 function (#132315)
metkarpoonam Mar 21, 2025
0f400cb
[SPIR-V] Don't add linkage attributes for input variables (#132301)
cassiebeckley Mar 21, 2025
3757ecf
[HLSL] Add support for SV_GroupIndex in SPIR-V (#130672)
cassiebeckley Mar 21, 2025
7f920e2
[NFC][clang] Split clang/lib/CodeGen/CGBuiltin.cpp into target-specif…
jthackray Mar 21, 2025
c031579
[flang][OpenMP] Hoist reduction info from nested `loop` ops to parent…
Mar 21, 2025
f1ac2af
Reapply "[AMDGPU] Use COV6 by default (#118515)" (#130963)
shiltian Mar 21, 2025
bf5648a
[Github] Bump actions script version to v7 (#131471)
boomanaiden154 Mar 21, 2025
052a4b5
[CI] Clean up runtimes builds (#131913)
boomanaiden154 Mar 21, 2025
6b00ae6
[DAG] SDPatternMatch - add matchers for reassociatable binops (#119985)
Esan5 Mar 21, 2025
cf6c451
[flang] set the paths for the symbol extracting tool (#131375)
kkwli Mar 21, 2025
5b09079
Minor developer policy edits for clarity (#132313)
rnk Mar 21, 2025
900be71
[mlir][Linalg] Preserve encodings in static shape inference. (#132311)
hanhanW Mar 21, 2025
7606f67
[clang] NFCI: Mutate `HeaderSearchOptions` earlier (#130823)
jansvoboda11 Mar 21, 2025
896df5c
llvm-reduce: Fix assert if call type mismatches function type (#131981)
arsenm Mar 21, 2025
72e596f
[clang] Make `HeaderSearchOptions` references const (#130825)
jansvoboda11 Mar 21, 2025
8d67d00
gn build: libcxx: Select the std_thread pstl backend.
pcc Mar 21, 2025
acdb0c1
[test][DXIL] Add to LLVM_LINK_COMPONENTS to fix BUILD_SHARED_LIBS build
jrtc27 Mar 21, 2025
ecaef01
[flang][cuda] Support corner case of data transfer (#132451)
clementval Mar 21, 2025
98dc8bb
[clang-doc][NFC] fix description typo (#132310)
hulxv Mar 21, 2025
7c52886
[Transform] Clean up strlen loop idiom (#132421)
mustartt Mar 21, 2025
44573bc
[clang][HeuristicResolver] Default argument heuristic for template pa…
HighCommander4 Mar 21, 2025
718838d
Hlsl asint16 intrinsic (#131900)
metkarpoonam Mar 21, 2025
6419905
[RISCV] Correct qc.e.li instruction definition (#132380)
svs-quic Mar 22, 2025
4517a33
[Darwin][ASan][Test] Create a unoptimized wrapper function in unsanit…
padriff Mar 22, 2025
df4257b
[X86][AVX10.2] Remove YMM rounding from VCVT[,T]PS2I[,U]BS (#132426)
phoebewang Mar 22, 2025
c0b2c10
[hexagon] Bump the default version to v68 (#132304)
quic-akaryaki Mar 22, 2025
4adefcf
[Analysis][EphemeralValuesAnalysis][NFCI] Remove EphemeralValuesCache…
Mar 22, 2025
619ba92
[libclang/python] Change all global variables to snake case (#132378)
DeinAlptraum Mar 22, 2025
17b5d6b
[libc] Temporarily disable the type trait test affected by issue 1324…
lntue Mar 22, 2025
3840f78
[RISCV] Add Qualcomm uC Xqcisync (Sync Delay) extension (#132184)
hchandel Mar 22, 2025
fe7776e
Revert "[RISCV] Add Qualcomm uC Xqcisync (Sync Delay) extension (#132…
kazutakahirata Mar 22, 2025
b9180c5
[SystemZ] Move some SystemZTargetStreamer classes to proper file (#13…
tltao Mar 22, 2025
4527085
[clang] diagnose invalid member pointer class on instantiation (#132516)
mizvekov Mar 22, 2025
f459cfe
[AMDGPU] Avoid repeated hash lookups (NFC) (#132511)
kazutakahirata Mar 22, 2025
597accf
[clang][CodeGen][AVR] Fix a crash in AVRABIInfo (#131976)
benshi001 Mar 22, 2025
34f8012
[ARM] Improve STT_TLS tests and remove unsupported (tlsld) specifier
MaskRay Mar 22, 2025
e710797
Recommit "[RISCV] Add Qualcomm uC Xqcisync (Sync Delay) extension (#1…
svs-quic Mar 22, 2025
dad7f79
[ARM] Set STT_TLS for a few relocation specifiers
MaskRay Mar 22, 2025
4b41799
[CodeGen] Rename PLTRelativeVariantKind. NFC
MaskRay Mar 22, 2025
1edefc3
Move ARM-specific MCSymbolRefExpr::VariantKind to ARMMCExpr::Specifier
MaskRay Mar 22, 2025
d679516
[clang][bytecode] Support overlapping regions in __builtin_memmove (#…
tbaederr Mar 22, 2025
1d13342
[MC] Use FirstTargetSpecifier
MaskRay Mar 22, 2025
20b5728
[RISCV] Implement the implications of C extension (#132259)
jaidTw Mar 22, 2025
6c8e9a6
[clang][bytecode][NFC] Add assert to ptrauth_string_discriminator (#1…
tbaederr Mar 22, 2025
a27da0a
[llvm][MetadataLoader] Make sure we correctly load DW_APPLE_ENUM_KIND…
Michael137 Mar 22, 2025
2f2100c
[LV] Add additional tests for #106441.
fhahn Mar 22, 2025
dd97324
[libc++][CI] Adds GCC trunk image. (#132271)
mordante Mar 22, 2025
1fdd8cb
Revert "[Transform] Clean up strlen loop idiom (#132421)"
mstorsjo Mar 22, 2025
2a45222
Revert "Reland "[Transforms] LoopIdiomRecognize recognize strlen and …
mstorsjo Mar 22, 2025
2909c42
[clang-tidy] modernize-use-starts-ends-with: fix false positives on `…
vbvictor Mar 22, 2025
fbaf3b8
[RISCV] Update lld tests for the C ext implication change (#132541)
jaidTw Mar 22, 2025
f138e36
[SelectionDAG][RISCV] Avoid store merging across function calls (#130…
mikhailramalho Mar 22, 2025
51aab96
[libc++][test] Small fixes for time tests (#132532)
StephanTLavavej Mar 22, 2025
c51d396
[clang][bytecode] Fix __builtin_memmove type diagnostics (#132544)
tbaederr Mar 22, 2025
2186199
[LV] Add test showing missing debug location on VPScalarIVStepsRecipe.
fhahn Mar 22, 2025
032ad59
[Clang] Fix various bugs in alias CTAD transform (#132061)
zyn0217 Mar 22, 2025
c5d4dfb
[Clang][NFC] Use MarkUsedTemplateParameters in building alias CTAD gu…
zyn0217 Mar 22, 2025
c6c3946
[clang] Use *Set::insert_range (NFC) (#132507)
kazutakahirata Mar 22, 2025
1b189ca
[llvm] Use *Set::insert_range (NFC) (#132509)
kazutakahirata Mar 22, 2025
2fa59b3
[Analysis] Avoid repeated hash lookups (NFC) (#132512)
kazutakahirata Mar 22, 2025
cb729be
[CodeGen] Avoid repeated hash lookups (NFC) (#132513)
kazutakahirata Mar 22, 2025
d8d2e7c
[PowerPC] Avoid repeated hash lookups (NFC) (#132514)
kazutakahirata Mar 22, 2025
5471810
[SPIRV] Avoid repeated hash lookups (NFC) (#132515)
kazutakahirata Mar 22, 2025
2b69a49
[Support] Avoid repeated hash lookups (NFC) (#132517)
kazutakahirata Mar 22, 2025
5999be0
[clang] fix RecursiveASTVisitor traversal from type to decl (#132551)
mizvekov Mar 22, 2025
5fc891b
[clang][bytecode][NFC] Use getElemType() in __builtin_memchr as well …
tbaederr Mar 22, 2025
3463174
[VPlan] Get DataLayout from SE in VPExpandSCEVRecipe::execute (NFC)
fhahn Mar 22, 2025
868c89f
[Clang] Fix a bot failure after 032ad590 (#132555)
zyn0217 Mar 22, 2025
ccc18ca
[RISCV] Move VK_GOTPCREL and VK_PLT to RISCVMCExpr::Specifier
MaskRay Mar 22, 2025
db7475a
[clang][bytecode] Ignore overflow in unary operators if requested (#1…
tbaederr Mar 22, 2025
973ea04
Revert "[Analysis][EphemeralValuesAnalysis][NFCI] Remove EphemeralVal…
Mar 22, 2025
fb44c54
[RISCV] Add missing space to optimized-nf*-segment-load-store descrip…
topperc Mar 22, 2025
adcaf17
[libc] [NFC] fix type in `docs/uefi/index.rst` (#132553)
hulxv Mar 22, 2025
6e4e88d
[test] Improve R_RISCV_PLT32 and R_RISCV_GOT32_PCREL tests
MaskRay Mar 22, 2025
f3e8e80
[llvm] Construct SmallVector with ArrayRef (NFC) (#132560)
kazutakahirata Mar 22, 2025
5d54043
[bindings] Add `global_set_metadata` for function debuginfo
lynzrand Mar 22, 2025
0d3ba08
[LV] Move IV bypass value creation out of ILV (NFC)
fhahn Mar 22, 2025
dfa665f
[VPlan] Add transformation to narrow interleave groups. (#106441)
fhahn Mar 22, 2025
616737c
[TableGen] Use std:vector instead of SmallVector for the list of Comp…
topperc Mar 22, 2025
f9898cf
[SystemZ,test] Test section symbol and STT_TLS adjustment
MaskRay Mar 23, 2025
41b572b
[ORC][examples] Simplify example -- LLJIT already has a mangleAndInte…
lhames Mar 23, 2025
f3f0b99
[M68k] Add stub M68kMCExpr and migrate away from MCSymbolRefExpr::Var…
MaskRay Mar 23, 2025
f73da64
Revert "[compiler-rt] Disable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON o…
DanielCChen Mar 23, 2025
b19b6d9
Move SystemZ-specific MCSymbolRefExpr::VariantKind to SystemZMCExpr::…
MaskRay Mar 23, 2025
4379d22
[ADT] Add DenseSet(llvm::from_t, Range) (#131832)
kazutakahirata Mar 23, 2025
417390d
[M68k] Set STT_TLS for TLS relocations
MaskRay Mar 23, 2025
ee3e17d
[libc][math][c23] Add acoshf16 C23 math function. (#130588)
harrisonGPU Mar 23, 2025
445837a
[libc][math][c23] Add fmaf16 C23 math function. (#130757)
harrisonGPU Mar 23, 2025
8ec96cc
[LoongArch] Move STT_TLS setting from fixELFSymbolsInTLSFixups to get…
MaskRay Mar 23, 2025
0a0f691
[Hexagon] Move STT_TLS setting from fixELFSymbolsInTLSFixups to getRe…
MaskRay Mar 23, 2025
75f5a4f
[VE] Move STT_TLS setting from fixELFSymbolsInTLSFixups to getRelocType
MaskRay Mar 23, 2025
8553faf
[MC] Remove ELFObjectWriter::fixSymbolsInTLSFixups
MaskRay Mar 23, 2025
ebcf1de
[libc][math] Disable acoshf16 Test on AArch64 to resolve test failure…
harrisonGPU Mar 23, 2025
88601d9
[CSKY] Rename VK_CSKY_ to VK_ and VariantKind to Specifier
MaskRay Mar 23, 2025
beab1a6
[CSKY] Migrate away from legacy MCSymbolRefExpr::VariantKind
MaskRay Mar 23, 2025
fabd71e
[CSKY] STT_TLS
MaskRay Mar 23, 2025
912579f
[CSKY,test] Test section symbol and STT_TLS adjustment
MaskRay Mar 23, 2025
441c9a9
[MC] Delete deprecated fixELFSymbolsInTLSFixups
MaskRay Mar 23, 2025
00cb966
[lld] Use *Set::insert_range (NFC) (#132590)
kazutakahirata Mar 23, 2025
fae3493
[llvm] Use *Set::insert_range (NFC) (#132591)
kazutakahirata Mar 23, 2025
ad8d549
[IPO] Avoid repeated hash lookups (NFC) (#132588)
kazutakahirata Mar 23, 2025
b4061a5
[AMDGPU] Avoid repeated hash lookups (NFC) (#132583)
kazutakahirata Mar 23, 2025
112277e
[RISCV] Add missing features to features-info.ll. NFC (#132530)
topperc Mar 23, 2025
c440563
[CSKY] Fix CSKYMCCodeEmitter::getTargetFixup and set STT_TLS for TLS …
MaskRay Mar 23, 2025
4a76434
[clang-tools-extra] Use *Set::insert_range (NFC) (#132589)
kazutakahirata Mar 23, 2025
2fe7585
[clang][analyzer] Improve the modeling of insert in MismatchedIterato…
flovent Mar 23, 2025
c482b8f
[VPlan] Only execute VPExpandSCEVRecipes once and remove them (NFC).
fhahn Mar 23, 2025
bcd08f4
[mlir][llvmir] Add SameOperandsAndResultType trait to LLVM_CountZeros…
FantasqueX Mar 23, 2025
cfd53ff
[InstCombine] Use MapVector for SourceAggregates. (#132564)
fhahn Mar 23, 2025
c4caf94
[AArch64][MachineCombiner] Recombine long chains of accumulation inst…
jcohen-apple Mar 23, 2025
7bda9ca
Revert "[AArch64][MachineCombiner] Recombine long chains of accumulat…
jcohen-apple Mar 23, 2025
81d7eef
Sub-channel quantized type implementation (#120172)
sdasgup3 Mar 23, 2025
3853116
[SPARC][Driver] Set correct IAS mode defaults for Linux and Free/Open…
koachan Mar 23, 2025
da01a18
[SPARC][IAS] Set correct ELF flag values for VIS & VIS2-enabled objects
koachan Mar 23, 2025
ce2c4ea
[Analysis] Avoid repeated hash lookups (NFC) (#132584)
kazutakahirata Mar 23, 2025
6ecc1ff
[CodeGen] Avoid repeated hash lookups (NFC) (#132585)
kazutakahirata Mar 23, 2025
0a08d71
[DebugInfo] Avoid repeated hash lookups (NFC) (#132586)
kazutakahirata Mar 23, 2025
0b181de
[ExecutionEngine] Avoid repeated hash lookups (NFC) (#132587)
kazutakahirata Mar 23, 2025
2f1416b
[libc++] implement std::flat_set (#125241)
huixie90 Mar 23, 2025
206b42c
[LV] Use VPBuilder to create ComputeReductionResult. (NFC)
fhahn Mar 23, 2025
a187060
Allow direct dispatch for the ObjFW runtime (#126382)
Midar Mar 23, 2025
0be69e5
[support] SlowDynamicAPInt: use fully qualified namespaces for func d…
Hardcode84 Mar 23, 2025
a578a75
[Target] Use DenseSet instead of DenseMap (NFC) (#132619)
kazutakahirata Mar 23, 2025
39df494
[Xtensa] Rename VariantKind to Specifier
MaskRay Mar 23, 2025
e396681
[test] Improve R_AARCH64_PLT32 and R_AARCH64_GOTPCREL32 tests
MaskRay Mar 23, 2025
c39d393
ELFObjectWriter: Remove relocation specifier test from shouldRelocate…
MaskRay Mar 23, 2025
83c3ec1
[MC] Move isMemtag test to AArch64
MaskRay Mar 23, 2025
8a13388
[RISCV] Xqciint SystemRegs, Final Assembly Insts (#130867)
lenary Mar 23, 2025
b73e144
MCValue: Simplify code with getSubSym
MaskRay Mar 23, 2025
46880fe
[ADT] Add range constructors to *Set (#132623)
kazutakahirata Mar 23, 2025
dfae1f9
MCValue: Simplify code with getSubSym
MaskRay Mar 23, 2025
4781a8e
MCValue: add setSpecifier to simplify code
MaskRay Mar 23, 2025
fb44f00
[libc++] Add [[gnu::nodebug]] on type traits (#128502)
philnik777 Mar 23, 2025
b2b3cb5
[compiler-rt][rtsan] memffd_create for linux interception. (#132571)
devnexen Mar 23, 2025
ff3e2ba
Revert "[VPlan] Add transformation to narrow interleave groups. (#106…
mstorsjo Mar 23, 2025
ff25115
[NVPTX] cleanup & canonicalize `mov` (#129344)
justinfargnoli Mar 23, 2025
549fc0c
[ADT] Use SetVector::insert_range (NFC) (#132633)
kazutakahirata Mar 23, 2025
06fd10f
[VPlan] Don't create ExtractElement recipes for scalar plans. (#131604)
fhahn Mar 23, 2025
49ce038
RISCVAsmParser: Replace "modifier" with "specifier" in diagnostics
MaskRay Mar 23, 2025
41b7611
[llvm] Use range constructors for *Set (NFC) (#132636)
kazutakahirata Mar 23, 2025
9d92d4b
[RISCV] Add alias names for tdata1 and tdata3 CSRs. (#132525)
topperc Mar 23, 2025
b32cf75
[LLVM-C][OCaml] Make LLVMMetadataKind consistent between C and OCaml …
alan-j-hu Mar 24, 2025
7a05689
[mlir] Fix typo of tests (NFC) (#132396)
Zhenhang1213 Mar 24, 2025
3b20ac0
[NFC]Don't use else after a return (#132644)
mingmingl-llvm Mar 24, 2025
0175dce
[ADT] Add a range constructor to SmallSetVector (#132645)
kazutakahirata Mar 24, 2025
943a707
[LoongArch] Pre-commit test for vector sext, zext (#131742)
tangaac Mar 24, 2025
73dc2af
[Transforms] Use *Set::insert_range (NFC) (#132652)
kazutakahirata Mar 24, 2025
e409464
[libc++][test][NFC] Introduce `TEST_STD_AT_LEAST_26_OR_RUNTIME_EVALUA…
frederick-vs-ja Mar 24, 2025
36b1fb5
[ORC-RT] Fix typos in file comments. NFC.
lhames Mar 24, 2025
5d8e8e8
[ORC-RT] Rename extensible_rtti.{h,cpp} to rtti.{h,cpp}. NFCI.
lhames Mar 24, 2025
054e0b4
[AMDGPU] Add all type for bitcast on VReg_512 (#131775)
Shoreshen Mar 24, 2025
1019457
[CodeGen] Use *Set::insert_range (NFC) (#132651)
kazutakahirata Mar 24, 2025
ef3e521
[ORC-RT] Add unique_function utility to the ORC runtime.
lhames Mar 24, 2025
3c2731c
[AMDGPU] Avoid repeated hash lookups (NFC) (#132657)
kazutakahirata Mar 24, 2025
ad09abc
Merge commit '3c2731ce46f01a984a9cc1807207de8d333bc350' into bump_to_…
jorickert Jul 23, 2026
fed843c
Merge branch 'aie-public' into bump_to_3c2731ce46f01a984a9cc1807207de…
jorickert Jul 28, 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.
506 changes: 365 additions & 141 deletions .ci/metrics/metrics.py

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions .ci/metrics/requirements.lock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,18 @@ pynacl==1.5.0 \
--hash=sha256:a422368fc821589c228f4c49438a368831cb5bbc0eab5ebe1d7fac9dded6567b \
--hash=sha256:e46dae94e34b085175f8abb3b0aaa7da40767865ac82c928eeb9e57e1ea8a543
# via pygithub
python-dateutil==2.9.0.post0 \
--hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \
--hash=sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427
# via -r ./requirements.txt
requests==2.32.3 \
--hash=sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760 \
--hash=sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6
# via pygithub
six==1.17.0 \
--hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \
--hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
# via python-dateutil
typing-extensions==4.12.2 \
--hash=sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d \
--hash=sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8
Expand Down
1 change: 1 addition & 0 deletions .ci/metrics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pygithub==2.5.0
python-dateutil==2.9.0.post0
19 changes: 1 addition & 18 deletions .ci/monolithic-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,23 +90,6 @@ if [[ "${runtimes}" != "" ]]; then
INSTALL_DIR="${BUILD_DIR}/install"
mkdir -p ${RUNTIMES_BUILD_DIR}

echo "--- cmake runtimes C++03"

cmake -S "${MONOREPO_ROOT}/runtimes" -B "${RUNTIMES_BUILD_DIR}" -GNinja \
-D CMAKE_C_COMPILER="${INSTALL_DIR}/bin/clang" \
-D CMAKE_CXX_COMPILER="${INSTALL_DIR}/bin/clang++" \
-D LLVM_ENABLE_RUNTIMES="${runtimes}" \
-D LIBCXX_CXX_ABI=libcxxabi \
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
-D CMAKE_INSTALL_PREFIX="${INSTALL_DIR}" \
-D LIBCXX_TEST_PARAMS="std=c++03" \
-D LIBCXXABI_TEST_PARAMS="std=c++03" \
-D LLVM_LIT_ARGS="${lit_args}"

echo "--- ninja runtimes C++03"

ninja -vC "${RUNTIMES_BUILD_DIR}" ${runtime_targets}

echo "--- cmake runtimes C++26"

rm -rf "${RUNTIMES_BUILD_DIR}"
Expand Down Expand Up @@ -140,6 +123,6 @@ if [[ "${runtimes}" != "" ]]; then
-D LLVM_LIT_ARGS="${lit_args}"

echo "--- ninja runtimes clang modules"

ninja -vC "${RUNTIMES_BUILD_DIR}" ${runtime_targets}
fi
4 changes: 2 additions & 2 deletions .github/workflows/build-ci-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
# The arch names should match the names used on dockerhub.
# See https://github.com/docker-library/official-images#architectures-other-than-amd64
- arch: amd64
runs-on: depot-ubuntu-22.04-16
runs-on: depot-ubuntu-24.04-16
- arch: arm64v8
runs-on: depot-ubuntu-22.04-arm-16
runs-on: depot-ubuntu-24.04-arm-16
steps:
- name: Checkout LLVM
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-access-greeter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
if: >-
github.repository_owner == 'llvm' &&
github.event.label.name == 'infra:commit-access-request'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-access-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
commit-access-review:
if: github.repository_owner == 'llvm'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Fetch LLVM sources
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/issue-write.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: 'Comment on PR'
if: steps.download-artifact.outputs.artifact-id != ''
uses: actions/github-script@ffc2c79a5b2490bd33e0a41c1de74b877714d736 # v3.2.0
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -49,7 +49,7 @@ jobs:
return;
}

let runInfo = await github.actions.getWorkflowRun({
let runInfo = await github.rest.actions.getWorkflowRun({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.payload.workflow_run.id
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
// Security check: Ensure that this comment was created by
// the github-actions bot, so a malicious input won't overwrite
// a user's comment.
github.issues.getComment({
github.rest.issues.getComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: comment.id
Expand All @@ -132,7 +132,7 @@ jobs:
console.log("Invalid comment id: " + comment.id);
return;
}
github.issues.updateComment({
github.rest.issues.updateComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pr_number,
Expand All @@ -141,7 +141,7 @@ jobs:
});
});
} else {
github.issues.createComment({
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pr_number,
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 @@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11"]
python-version: ["3.8", "3.13"]
uses: ./.github/workflows/llvm-project-tests.yml
with:
build_target: check-clang-python
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
stage1:
if: github.repository_owner == 'llvm'
runs-on: libcxx-self-hosted-linux
container: ghcr.io/llvm/libcxx-linux-builder:b319dfef21f6c7b0bc6a356d6b9f41a3b3b98ae9
container: ghcr.io/llvm/libcxx-linux-builder:b6bb9dc5abd7c6452c13a53fa8949cb259db459b
continue-on-error: false
strategy:
fail-fast: false
Expand All @@ -55,7 +55,7 @@ jobs:
cc: 'gcc-14'
cxx: 'g++-14'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: ${{ matrix.config }}.${{ matrix.cxx }}
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
env:
Expand All @@ -75,7 +75,7 @@ jobs:
stage2:
if: github.repository_owner == 'llvm'
runs-on: libcxx-self-hosted-linux
container: ghcr.io/llvm/libcxx-linux-builder:b319dfef21f6c7b0bc6a356d6b9f41a3b3b98ae9
container: ghcr.io/llvm/libcxx-linux-builder:b6bb9dc5abd7c6452c13a53fa8949cb259db459b
needs: [ stage1 ]
continue-on-error: false
strategy:
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
cc: 'clang-18'
cxx: 'clang++-18'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: ${{ matrix.config }}
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
env:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
'generic-hardening-mode-fast',
'generic-hardening-mode-fast-with-abi-breaks',
'generic-merged',
'generic-modules-lsv',
'generic-modules-cxx17-lsv',
'generic-no-exceptions',
'generic-no-experimental',
'generic-no-filesystem',
Expand Down Expand Up @@ -167,9 +167,9 @@ jobs:
- config: 'generic-msan'
machine: libcxx-self-hosted-linux
runs-on: ${{ matrix.machine }}
container: ghcr.io/llvm/libcxx-linux-builder:b319dfef21f6c7b0bc6a356d6b9f41a3b3b98ae9
container: ghcr.io/llvm/libcxx-linux-builder:b6bb9dc5abd7c6452c13a53fa8949cb259db459b
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: ${{ matrix.config }}
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
env:
Expand Down Expand Up @@ -207,11 +207,11 @@ jobs:
os: macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
with:
xcode-version: 'latest'
- uses: seanmiddleditch/gha-setup-ninja@master
- uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6
- name: Build and test
run: |
python3 -m venv .venv
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
- { config: mingw-dll-i686, mingw: true }
- { config: mingw-incomplete-sysroot, mingw: true }
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install dependencies
run: |
choco install -y ninja
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
echo "c:\Program Files\Git\usr\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
- name: Set up the MSVC dev environment
if: ${{ matrix.mingw != true }}
uses: ilammy/msvc-dev-cmd@v1
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
- name: Build and test
run: |
bash libcxx/utils/ci/run-buildbot ${{ matrix.config }}
4 changes: 2 additions & 2 deletions .github/workflows/libcxx-build-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Build the Linux builder image
working-directory: libcxx/utils/ci
Expand All @@ -47,7 +47,7 @@ jobs:
# TAG: ${{ github.sha }}

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libcxx-check-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Fetch LLVM sources
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install dependencies
uses: aminya/setup-cpp@v1
uses: aminya/setup-cpp@17c11551771948abc5752bbf3183482567c7caf0 # v1.1.1
with:
clangformat: 17.0.1
ninja: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-asset-audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _get_uploaders(release_version):
return set(
[
"DimitryAndric",
"stefanp-ibm",
"stefanp-synopsys",
"lei137",
"omjavaid",
"nicolerabjohn",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-asset-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
jobs:
audit:
name: "Release Asset Audit"
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: github.repository == 'llvm/llvm-project'
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 #v4.1.6
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-binaries-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
setup-variables:
if: >-
(github.event_name != 'pull_request' || github.event.action != 'closed')
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
release-version: ${{ steps.vars.outputs.release-version }}
upload: ${{ steps.vars.outputs.upload }}
Expand Down Expand Up @@ -85,6 +85,8 @@ jobs:
strategy:
fail-fast: false
matrix:
# We use ubuntu-22.04 rather than the latest version to make the built
# binaries more portable (eg functional aginast older glibc).
runs-on:
- ubuntu-22.04
- ubuntu-22.04-arm
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ on:
description: "Runner to use for the build"
required: true
type: choice
# We use ubuntu-22.04 rather than the latest version to make the built
# binaries more portable (eg functional aginast older glibc).
options:
- ubuntu-22.04
- ubuntu-22.04-arm
Expand Down Expand Up @@ -276,7 +278,7 @@ jobs:
if: >-
github.event_name != 'pull_request' &&
needs.prepare.outputs.upload == 'true'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: write # For release uploads
id-token: write # For artifact attestations
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -49,14 +49,14 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
uses: github/codeql-action/upload-sarif@80f993039571a6de66594ecaa432875a6942e8e0 # v2.20.6
with:
sarif_file: results.sarif
4 changes: 2 additions & 2 deletions bolt/include/bolt/Core/BinaryContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ class BinaryContext {
void foldFunction(BinaryFunction &ChildBF, BinaryFunction &ParentBF);

/// Add a Section relocation at a given \p Address.
void addRelocation(uint64_t Address, MCSymbol *Symbol, uint64_t Type,
void addRelocation(uint64_t Address, MCSymbol *Symbol, uint32_t Type,
uint64_t Addend = 0, uint64_t Value = 0);

/// Return a relocation registered at a given \p Address, or nullptr if there
Expand All @@ -1308,7 +1308,7 @@ class BinaryContext {
}

/// Register dynamic relocation at \p Address.
void addDynamicRelocation(uint64_t Address, MCSymbol *Symbol, uint64_t Type,
void addDynamicRelocation(uint64_t Address, MCSymbol *Symbol, uint32_t Type,
uint64_t Addend, uint64_t Value = 0);

/// Return a dynamic relocation registered at a given \p Address, or nullptr
Expand Down
2 changes: 1 addition & 1 deletion bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ class BinaryFunction {
/// Register relocation type \p RelType at a given \p Address in the function
/// against \p Symbol.
/// Assert if the \p Address is not inside this function.
void addRelocation(uint64_t Address, MCSymbol *Symbol, uint64_t RelType,
void addRelocation(uint64_t Address, MCSymbol *Symbol, uint32_t RelType,
uint64_t Addend, uint64_t Value);

/// Return the name of the section this function originated from.
Expand Down
4 changes: 2 additions & 2 deletions bolt/include/bolt/Core/BinarySection.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,14 @@ class BinarySection {
void clearRelocations();

/// Add a new relocation at the given /p Offset.
void addRelocation(uint64_t Offset, MCSymbol *Symbol, uint64_t Type,
void addRelocation(uint64_t Offset, MCSymbol *Symbol, uint32_t Type,
uint64_t Addend, uint64_t Value = 0) {
assert(Offset < getSize() && "offset not within section bounds");
Relocations.emplace(Relocation{Offset, Symbol, Type, Addend, Value});
}

/// Add a dynamic relocation at the given /p Offset.
void addDynamicRelocation(uint64_t Offset, MCSymbol *Symbol, uint64_t Type,
void addDynamicRelocation(uint64_t Offset, MCSymbol *Symbol, uint32_t Type,
uint64_t Addend, uint64_t Value = 0) {
addDynamicRelocation(Relocation{Offset, Symbol, Type, Addend, Value});
}
Expand Down
Loading
Loading