<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;">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>
</body>
</html>