[all-commits] [llvm/llvm-project] 080286: [IR] BlockAddress doesn't use BasicBlock (#200772)

Alexis Engelke via All-commits all-commits at lists.llvm.org
Mon Jun 1 06:45:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 080286d051efe040c8678aef122d235785d74d5e
      https://github.com/llvm/llvm-project/commit/080286d051efe040c8678aef122d235785d74d5e
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/include/llvm/AsmParser/LLToken.h
    M llvm/include/llvm/IR/CFG.h
    M llvm/include/llvm/IR/Constants.h
    M llvm/lib/AsmParser/LLLexer.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/CodeGen/IndirectBrExpandPass.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/Value.cpp
    R llvm/test/Assembler/invalid-uselistorder_bb-float-literal.ll
    R llvm/test/Assembler/invalid-uselistorder_bb-missing-bb.ll
    R llvm/test/Assembler/invalid-uselistorder_bb-missing-body.ll
    R llvm/test/Assembler/invalid-uselistorder_bb-missing-func.ll
    R llvm/test/Assembler/invalid-uselistorder_bb-not-bb.ll
    R llvm/test/Assembler/invalid-uselistorder_bb-not-func.ll
    R llvm/test/Assembler/invalid-uselistorder_bb-numbered.ll
    R llvm/test/Assembler/uselistorder_bb.ll
    M llvm/utils/emacs/llvm-mode.el
    M llvm/utils/vim/syntax/llvm.vim
    M llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml

  Log Message:
  -----------
  [IR] BlockAddress doesn't use BasicBlock (#200772)

BlockAddress is the only non-terminator user of a BasicBlock, and it
occurs very rarely. To speed up predecessor iteration, change
BlockAddress to no longer use its BasicBlock.

This should also make uselistorder_bb obsolete.



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