[llvm-dev] Understanding assert in SelectionDAGBuilder.cpp

Eli Friedman via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 3 10:44:34 PDT 2020


Have you read http://llvm.org/docs/CodeGenerator.html#instruction-selection-section ?  That covers the general DAG representation and the meaning of a “chain”.

In general, if you don’t understand how something in SelectionDAG is supposed to work, I’d suggest looking at other targets, and using the dumping options frequently.

-Eli

From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of jeniffer lesley via llvm-dev
Sent: Saturday, August 1, 2020 10:35 AM
To: llvm-dev at lists.llvm.org
Subject: [EXT] [llvm-dev] Understanding assert in SelectionDAGBuilder.cpp

Hi,
I am new to LLVM. I am experimenting with a toy backend. I don't understand
"LowerFormalArguments didn't return a valid chain" in SelectionDAGBuilder.cpp file. What is the interface here? What does it mean by returning a Chain?

Thanks
Jen.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200803/367b2d64/attachment.html>


More information about the llvm-dev mailing list