<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 12/6/10 11:39 AM, Andrew Lukefahr wrote:
<blockquote
cite="mid:AANLkTikmX5x-yNKMZ+BcjPg-B9T07DsVg+fx1ZCffpPF@mail.gmail.com"
type="cite">Hi,<br>
<br>
How would I disable dead code elimination in llc? Can that be
done via the command line or do I need to modify llc's source? <br>
</blockquote>
<br>
You can use llc --help-hidden to see a list of options. There are
several -disable-xxx options that disable various code generator
optimizations.<br>
<br>
That said, I, like Duncan, wasn't aware that llc did any dead-code
elimination (beyond peephole optimization). Are you sure llc is
removing the instructions you care about?<br>
<br>
-- John T.<br>
<br>
<blockquote
cite="mid:AANLkTikmX5x-yNKMZ+BcjPg-B9T07DsVg+fx1ZCffpPF@mail.gmail.com"
type="cite"><br>
Thanks<br clear="all">
<br>
Andrew Lukefahr<br>
<a moz-do-not-send="true" href="mailto:andrewlukefahr@gmail.com">andrewlukefahr@gmail.com</a><br>
<br>
Open Source, Open Minds<br>
</blockquote>
<br>
</body>
</html>