[all-commits] [llvm/llvm-project] b7585a: [Bitcode] Enumerate constexpr GEP source element t...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Mar 11 07:39:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7585a08d5dfcc5bb85f00632f7cf8f2924036d8
      https://github.com/llvm/llvm-project/commit/b7585a08d5dfcc5bb85f00632f7cf8f2924036d8
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
    M llvm/test/Assembler/opaque-ptr.ll

  Log Message:
  -----------
  [Bitcode] Enumerate constexpr GEP source element type in initializer

The constexpr source element type was enumerated if the GEP was
used as part of an instruction. However, things like global
initializers go through a different code path, and we need to
enumerate the type there as well.




More information about the All-commits mailing list