[llvm-commits] [llvm] r81082 - /llvm/trunk/tools/opt/opt.cpp

Chris Lattner clattner at apple.com
Sat Sep 5 18:06:22 PDT 2009


On Sep 5, 2009, at 4:58 PM, Daniel Dunbar wrote:

> On Sat, Sep 5, 2009 at 10:16 AM, Nick Lewycky<nicholas at mxc.ca> wrote:
>> Daniel Dunbar wrote:
>>>
>>> Author: ddunbar
>>> Date: Sat Sep  5 06:34:53 2009
>>> New Revision: 81082
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=81082&view=rev
>>> Log:
>>> opt: Add -S option to print output as LLVM assembly.
>>
>> llvm-as calls this flag "-d". Pick either, but please be consistent.
>
> Thanks Nick,
>
> I didn't realize this already existed in a tool. I think -S is a
> significantly better choice than -d, but it might not be the best
> choice since it can be confused with the driver -S option. Anyone have
> a better suggestion? I'll wait for some opinions then change the tools
> to be consistent.

Feel free to rename llvm-as -d, it is just there to test the parser  
when the bitcode reader/writer support isn't up.

-Chris



More information about the llvm-commits mailing list