[all-commits] [llvm/llvm-project] 411020: [llvm] Support forward-referenced globals with dso...

PiJoules via All-commits all-commits at lists.llvm.org
Wed Sep 21 12:31:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 411020ad1c15a5f8cdbf674a2a8f845000f761e3
      https://github.com/llvm/llvm-project/commit/411020ad1c15a5f8cdbf674a2a8f845000f761e3
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M llvm/include/llvm/AsmParser/LLParser.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/test/CodeGen/X86/dso_local_equivalent.ll
    A llvm/test/CodeGen/X86/dso_local_equivalent_errors.ll

  Log Message:
  -----------
  [llvm] Support forward-referenced globals with dso_local_equivalent

See https://github.com/llvm/llvm-project/issues/57815.

dso_local_equivalent would fail with an assertion on forward-referenced
globals. This is an issue that only comes up in textual IR, which is why
we've never seen this assertion with clang.

Differential Revision: https://reviews.llvm.org/D134234




More information about the All-commits mailing list