[all-commits] [llvm/llvm-project] 685968: [CodeGen] Use temp symbol for MBBs (#95031)

Alexis Engelke via All-commits all-commits at lists.llvm.org
Thu Jun 20 04:19:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6859685a87ad093d60c8bed60b116143c0a684c7
      https://github.com/llvm/llvm-project/commit/6859685a87ad093d60c8bed60b116143c0a684c7
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-06-20 (Thu, 20 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCContext.h
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/test/CodeGen/AArch64/branch-relax-cross-section.mir
    M llvm/test/CodeGen/BPF/objdump_cond_op.ll
    M llvm/test/CodeGen/BPF/objdump_cond_op_2.ll

  Log Message:
  -----------
  [CodeGen] Use temp symbol for MBBs (#95031)

Internal label names never occur in the symbol table, so when using an
object streamer, there's no point in constructing these names and then
adding them to hash tables -- they are never visible in the output.

It's not possible to reuse createTempSymbol, because on BPF has a
different prefix for globals and basic blocks right now.



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