[all-commits] [llvm/llvm-project] 85af8a: [NFC] Use ArgListEntry indirect types more in ISel...

aeubanks via All-commits all-commits at lists.llvm.org
Mon May 10 13:05:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85af8a8c1b574faa0d5d57d189ae051debdfada8
      https://github.com/llvm/llvm-project/commit/85af8a8c1b574faa0d5d57d189ae051debdfada8
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

  Log Message:
  -----------
  [NFC] Use ArgListEntry indirect types more in ISel lowering

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

A couple of ISel places use PointerType::getElementType(). Some of these
are easy to fix by using ArgListEntry's indirect types.

The inalloca type wasn't stored there, as opposed to preallocated and
byval which have their indirect types available, so add it and use it.

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




More information about the All-commits mailing list