<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 1/9/2019 3:23 PM, m m via llvm-dev
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MWHPR13MB1008473B59FD39811EFF5411F18B0@MWHPR13MB1008.namprd13.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<span>Hi,</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<span>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?
<br>
</span></div>
</blockquote>
<p><br>
</p>
<p>"-debug" dumps a lot of additional information. More
specifically, "-debug-only=isel" probably has the information
you're looking for.<br>
</p>
<p><br>
</p>
<p>-Eli<br>
</p>
</body>
</html>