<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,
<div><br>
</div>
<div>I've been trying all sorts of things to be able to resolve this, but I can't find way to get this done.</div>
<div><br>
</div>
<div>Does anyone know how I might introduce a transform at the ASM level?</div>
<div><br>
</div>
<div>Chris.<br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF129776" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Chris.Dewhurst<br>
<b>Sent:</b> 01 August 2016 16:46<br>
<b>To:</b> llvm-dev@lists.llvm.org<br>
<b>Subject:</b> testing a back-end pre-emit pass<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,
<div><br>
</div>
<div>Does anyone have any direction for me on testing a back-end pre-emit pass independently of other passes? The pass I'm looking at is a MachineFunctionPass, so the code is already using target-specific instructions.</div>
<div><br>
</div>
<div>What I'm really looking to do is to see that the pass is correctly converting certain target-specific instructions sequences into other sequences, but I'm unsure how I can get an input in the correct format to construct a good unit test. Can I generate
 an ".ll" file using target specific instructions and then pass it through to a back-end MachineFunctionPass to test specifically just that one pass?</div>
<div><br>
</div>
<div>Chris Dewhurst,</div>
<div>Lero, University of Limerick.</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>