[all-commits] [llvm/llvm-project] 5f08fb: [IR] llvm.reloc.none intrinsic for no-op symbol re...

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Thu Nov 6 08:53:08 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f08fb4d72f6cdccc0d605bedae076962a6523d7
      https://github.com/llvm/llvm-project/commit/5f08fb4d72f6cdccc0d605bedae076962a6523d7
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/SelectionDAGISel.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/Target.td
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/CodeGen/Generic/reloc-none.ll
    M llvm/test/CodeGen/MIR2Vec/Inputs/reference_x86_vocab_print.txt
    M llvm/test/CodeGen/MIR2Vec/Inputs/reference_x86_vocab_wo=0.5_print.txt
    A llvm/test/CodeGen/X86/GlobalISel/reloc-none.ll
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
    M llvm/test/TableGen/get-named-operand-idx.td
    A llvm/test/Verifier/reloc-none.ll
    M llvm/test/tools/llvm-ir2vec/output/reference_triplets.txt
    M llvm/test/tools/llvm-ir2vec/output/reference_x86_entities.txt

  Log Message:
  -----------
  [IR] llvm.reloc.none intrinsic for no-op symbol references (#147427)

This intrinsic emits a BFD_RELOC_NONE relocation at the point of call,
which allows optimizations and languages to explicitly pull in symbols
from static libraries without there being any code or data that has an
effectual relocation against such a symbol.

See issue #146159 for context.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list