[llvm-dev] Understanding TargetLowering::LowerCall

Zhang via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 22 00:36:46 PDT 2021


For CallSites that contains a GlobalValue as one of the arguments, where exactly does the lowering from GlobalAddress to iPTR took place?.


I'm assuming it should be handled in TargetLowering::LowerCall where target-dependent DAG Nodes got created depending on CCValAssign::isRegLoc() but from my testing it seems like isRegLoc() is true even for GlobalAddress arguments.


What am I misunderstanding here?




Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210322/0de73bc0/attachment.html>


More information about the llvm-dev mailing list