[llvm-dev] In ISel, where Constant<0> comes from?
Krzysztof Parzyszek via llvm-dev
llvm-dev at lists.llvm.org
Mon Dec 17 06:45:47 PST 2018
On 12/17/2018 8:08 AM, Gleb Popov via llvm-dev wrote:
> In the Initial selection DAG I see
> t19: ch,glue = CopyToReg t17, Register:i32 $i0, Constant:i32<0>
To answer this---this seems to be a part of the return sequence, i.e.
the part of the calling convention that dictates how a function passes
return values to its caller. This is handled via LowerReturn in the
target lowering object. Check SparcTargetLowering::LowerReturn for the
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev