[all-commits] [llvm/llvm-project] 6e4f7c: [Statepoints] Take result type from gc.result [NFC]

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e4f7c08230be1e58dbbe4f6c672b3bf3bc9f357
      https://github.com/llvm/llvm-project/commit/6e4f7c08230be1e58dbbe4f6c672b3bf3bc9f357
  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:
  -----------
  [Statepoints] Take result type from gc.result [NFC]

When lowering a gc.result, we can assume that the result type of the gc.result matches the type of the underlying call.  This is explicitly required in LangRef.

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