Skip to content
Commit d8c08c21 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

Teach the 'opt' tool about '-Os' and '-Oz', corresponding to the Clang

options, to enable easier testing of the innards of LLVM that are
enabled by such optimization strategies.

Note that this doesn't provide the (much needed) function attribute
support for -Oz (as opposed to -Os), but still seems like a positive
step to better test the logic that Clang currently relies on.

Patch by Patrik Hägglund.

llvm-svn: 156913
parent e8d0a0bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment