[llvm-dev] In ISel, where Constant<0> comes from?

Gleb Popov via llvm-dev llvm-dev at lists.llvm.org
Mon Dec 17 23:10:57 PST 2018


Thanks Tim and Krzysztof for pointing me in the right direction.

Indeed, when I started my backend I just blindly copied
LowerFormalArguments and LowerReturn from SPARC backend, and that's where
these FrameIndex'es and Constant's are coming from.

However, I haven't managed to get a "Constant<>" in the DAG when compiling
for X86. I'm interested in how it is lowered. Can you please give me some
guidance on this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181218/626c5511/attachment.html>


More information about the llvm-dev mailing list