[llvm-dev] In ISel, where Constant<0> comes from? (original) (raw)
Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Mon Dec 17 06:45:47 PST 2018
- Previous message: [llvm-dev] In ISel, where Constant<0> comes from?
- Next message: [llvm-dev] In ISel, where Constant<0> comes from?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 Sparc implementation.
-Krzysztof
-- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
- Previous message: [llvm-dev] In ISel, where Constant<0> comes from?
- Next message: [llvm-dev] In ISel, where Constant<0> comes from?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]