Affiliations
Projects
Maintains
Contributes to
7,390 commitssource: github.com ↗✓ verified
7,351 commitssource: github.com ↗✓ verified
3 commitssource: github.com ↗✓ verified
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PR[IPO] Declare sample profile inliner command line options in TableGen
SampleProfile.h replaces the exported cl::opts with SampleProfileInlineOptions, which SampleProfileLoaderPass::getInlineOptions fills from the options given over the caller's defaults. llvm-profgen's preinliner reads its thresholds this…
LLVM#244670 · by MaskRay - Merged PR[CodeGen] Disable passes requiring NoVRegs on virtual-register targets
NVPTX, SPIR-V, and WebAssembly keep virtual registers until emission. Each disables the same post-RA passes, which require NoVRegs, in both TargetPassConfig and its CodeGenPassBuilder, and overrides hooks so no register allocator is added.…
LLVM#245089 · by MaskRay - Merged PR
- Merged PR[MC] Fold CFI advance_loc when applicable. NFC
In many cases both labels are in the fixed part of a fragment without linker relaxation. We should fold the advance_loc to save space and time. removed a fast path because it folded deltas across linker-relaxable instructions.…
LLVM#245130 · by MaskRay - Merged PR[MC] Change section group name from Twine to StringRef. NFC
str() conversions are expensive. All but one caller (MCObjectFileInfo::getPseudoProbeDescSection) pass a StringRef. Take a StringRef.
LLVM#245125 · by MaskRay - Merged PR[MC] Hash section names once in recordELFMergeableSectionInfo. NFC
Key both ELFSeenGenericMergeableSections and ELFEntrySizeMap by CachedHashStringRef so that hash lookups don't need to recompute the section name hash. ELFSeenGenericmergeableSections contains most sections and the long C++ mangled names…
LLVM#245122 · by MaskRay - Merged PR[MC] Allow relocation section to share name with a label
We currently reject the new case in reloc-same-name-section.s as "invalid symbol redefinition" while GAS allows it. Allow it by creating a MCSectionELF directly with a null Begin symbol.
LLVM#245121 · by MaskRay - Merged PR[X86] Skip finishLayout without MCBoundaryAlignFragment. NFC
-x86-pad-for-branch-align defaults to true, so finishLayout walks every text section even when branch alignment is disabled. Skip it in the majority of cases when AllowAutoPadding is false. Also add a test for -x86-pad-for-branch-align=0,…
LLVM#245114 · by MaskRay - Merged PR[DirectX] Declare command line options in TableGen
Move the options into MCTargetDesc/DirectXMCOptions.td, since the object writer reads them too. The asm backend hands them from MCTargetOptions to the object writer; the passes read them from the module's LLVMContext.…
LLVM#234865 · by MaskRay - Merged PR[MC] Remove MCContext::RelSecNames. NFC
getOrCreateSectionSymbol called by createELFSectionImpl will create a symbol table entry anyway. Create the symbol table entry earlier to be reused by the REL/RELA section name, removing RelSecNames.
LLVM#244813 · by MaskRay - Merged PR[MC] Sort FDE pointers instead of copies in MCDwarfFrameEmitter::emit. NFC
Avoid large MCDwarfFrameInfo copies.
LLVM#244805 · by MaskRay - Merged PR[MC] Allocate ELFUniquingMap entries from the MCContext allocator. NFC
Each ELF section's uniquing key, which embeds the group signature for COMDAT sections, is otherwise malloc'ed and freed separately.
LLVM#244796 · by MaskRay - Merged PR[IPO] Declare ForceFunctionAttrs, Inliner, Instrumentor and Internalize command line options in TableGen
-force-attribute=foo:noinline,bar:cold is now a comma-separated list instead of a single element (cl::CommaSeparated wasn't applied). Pass constructors don't read options, so instead of ModuleInlinerWrapperPass adding an…
LLVM#244509 · by MaskRay - Merged PR[CodeGen] Declare command line options of the machine scheduler in TableGen
Renames, with the old spellings kept as aliases: -enable-aa-sched-mi -> -sched-mi-aa -enable-store-sequencing -> -store-sequencing -use-tbaa-in-sched-mi -> -sched-mi-tbaa Renames without an alias, as the old spellings are generic or…
LLVM#244327 · by MaskRay - Merged PR[CodeGen] Declare command line options of more passes in TableGen
Renames, with the old spellings kept as aliases: -disable-check-noreturn-call -> -stack-protector-check-noreturn-call=false -enable-selectiondag-sp -> -stack-protector-selectiondag -safestack-use-pointer-address ->…
LLVM#244099 · by MaskRay