[llvm-dev] How to debug Before Expand ISel Pseudo-instructions ? (original) (raw)

Eli Friedman via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 9 15:39:41 PST 2019


On 1/9/2019 3:23 PM, m m via llvm-dev wrote:

Hi,

I'm new to LLVM and I ran llc with -print-before-all and I can see that the IR is already wrong before Expand ISel Pseudo-instructions. The MOVE instruction moves a register to itself and shouldn't be there. How do you debug something like this?

"-debug" dumps a lot of additional information.   More specifically, "-debug-only=isel" probably has the information you're looking for.

-Eli

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



More information about the llvm-dev mailing list