[all-commits] [llvm/llvm-project] 99173f: [NFC] Use Aliasee to determine Type and AddrSpace ...

aeubanks via All-commits all-commits at lists.llvm.org
Sun May 2 11:50:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99173fd03a079a788376c5cb993bc413ed8e020b
      https://github.com/llvm/llvm-project/commit/99173fd03a079a788376c5cb993bc413ed8e020b
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M llvm/lib/IR/Globals.cpp

  Log Message:
  -----------
  [NFC] Use Aliasee to determine Type and AddrSpace in GlobalAlias::create()

As opposed to going through the Aliasee type.

For opaque pointers, we're trying to remove uses of PointerType::getElementType().

Reviewed By: dblaikie

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




More information about the All-commits mailing list