[PATCH] D58983: DAG: propagate whether an arg is a pointer for CallingConv decisions.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 11:09:22 PST 2019


arsenm added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/TargetCallingConv.h:48
     unsigned IsCopyElisionCandidate : 1; ///< Argument copy elision candidate
+    unsigned IsPointer : 1;
 
----------------
This should probably include the address space. Currently the AMDGPU calling convention lowering hacks through this by looking at the original IR argument index


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58983/new/

https://reviews.llvm.org/D58983





More information about the llvm-commits mailing list