[llvm-dev] How to debug Before Expand ISel Pseudo-instructions ?
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:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev