[llvm-commits] [LNT] r169999 - /lnt/trunk/lnt/tests/nt.py

Daniel Dunbar daniel at zuster.org
Wed Dec 12 11:13:33 PST 2012


Author: ddunbar
Date: Wed Dec 12 13:13:33 2012
New Revision: 169999

URL: http://llvm.org/viewvc/llvm-project?rev=169999&view=rev
Log:
lnt runtest nt: Allow -Oz as an optimization option.

Modified:
    lnt/trunk/lnt/tests/nt.py

Modified: lnt/trunk/lnt/tests/nt.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/nt.py?rev=169999&r1=169998&r2=169999&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/nt.py (original)
+++ lnt/trunk/lnt/tests/nt.py Wed Dec 12 13:13:33 2012
@@ -1036,7 +1036,8 @@
 
         group.add_option("", "--optimize-option", dest="optimize_option",
                          help="Set optimization level for {LLC_,LLI_,}OPTFLAGS",
-                         choices=('-O0','-O1','-O2','-O3','-Os'), default='-O3')
+                         choices=('-O0','-O1','-O2','-O3','-Os','-Oz'),
+                         default='-O3')
         group.add_option("", "--cflag", dest="cflags",
                          help="Additional flags to set in TARGET_FLAGS",
                          action="append", type=str, default=[], metavar="FLAG")





More information about the llvm-commits mailing list