[all-commits] [llvm/llvm-project] 9f7791: [OpaquePtr] Return opaque pointer from opaque poin...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 21 09:38:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f779195d311c983031271d0243d6e6af988ce55
      https://github.com/llvm/llvm-project/commit/9f779195d311c983031271d0243d6e6af988ce55
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

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

  Log Message:
  -----------
  [OpaquePtr] Return opaque pointer from opaque pointer GEP

For a GEP on an opaque pointer, also return an opaque pointer (or
vector of opaque pointer) result.

This requires explicitly enumerating the GEP source element type,
because it is now no longer implicitly enumerated as part of either
the source or result pointer types.

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




More information about the All-commits mailing list