[llvm-dev] undef * 0

Michael Kuperstein via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 2 09:43:22 PDT 2016

I don't know of a way to do it from the command-line, but if you're willing
to change the IR, you can add the optsize (for -Os) or minsize (for -Oz) IR
attribute to the function you're compiling.

On Fri, Sep 2, 2016 at 5:59 AM, Bruce Hoult via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Idle question, if anyone is reading still ... how do you get llc to do -Os
> or -Oz? The docs say the argument must be an integer, and anything other
> than 0..3 is rejected. (in fact .. bug report ... 10 thru 39 are also
> silently accepted as are 100 thru 399 etc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160902/8bfd8450/attachment.html>

More information about the llvm-dev mailing list