[all-commits] [llvm/llvm-project] 57cf29: [Statepoint] Remove another use of getActualReturn...

Philip Reames via All-commits all-commits at lists.llvm.org
Mon Jan 31 09:58:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57cf29ac1bc5d0a5e20a7262111c3d3463113c47
      https://github.com/llvm/llvm-project/commit/57cf29ac1bc5d0a5e20a7262111c3d3463113c47
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp

  Log Message:
  -----------
  [Statepoint] Remove another use of getActualReturnType [NFC]

For the cross block gc.result projection case, we only care about the return type if there is a cross block gc.result, and if there is one, we can take the type from the gc.result.

At the moment, this makes little difference, but for opaque pointers we need a means to get result typing without relying on pointee types.




More information about the All-commits mailing list