<div>For CallSites that contains a GlobalValue as one of the arguments, where exactly does the lowering from GlobalAddress to iPTR took place?.</div><div><br></div><div>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.</div><div><br></div><div>What am I misunderstanding here?</div><div><br></div><div><br></div><div>Zhang</div><div><br></div><div><br></div><div><br></div><div><includetail><!--<![endif]--></includetail></div>