[all-commits] [llvm/llvm-project] 795657: Reland "[llvm] Support forward-referenced globals ...

PiJoules via All-commits all-commits at lists.llvm.org
Fri Sep 23 11:32:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79565766be94f7944278671a9f473d79ac18f7e1
      https://github.com/llvm/llvm-project/commit/79565766be94f7944278671a9f473d79ac18f7e1
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2022-09-23 (Fri, 23 Sep 2022)

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

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

This reverts commit eef5db2c744e4799dc40ada54fdde7dbbd552807.

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