[llvm-commits] [test-suite] r70935 - /test-suite/trunk/Makefile.programs
Evan Cheng
evan.cheng at apple.com
Mon May 4 16:09:00 PDT 2009
Author: evancheng
Date: Mon May 4 18:08:59 2009
New Revision: 70935
URL: http://llvm.org/viewvc/llvm-project?rev=70935&view=rev
Log:
Run llc / lli with -O3 option to match gcc.
Modified:
test-suite/trunk/Makefile.programs
Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=70935&r1=70934&r2=70935&view=diff
==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Mon May 4 18:08:59 2009
@@ -356,6 +356,11 @@
endif
endif
+# llc optimization level
+ifdef LLC_OPTFLAGS
+LLCFLAGS += $(LLC_OPTFLAGS)
+endif
+
# Pass target specific llc flags
ifdef TARGET_LLCFLAGS
LLCFLAGS += $(TARGET_LLCFLAGS)
@@ -431,6 +436,12 @@
LLI_OPTS = -force-interpreter=true --disable-core-files
JIT_OPTS = -force-interpreter=false --disable-core-files
+# lli optimization level
+ifdef LLI_OPTFLAGS
+LLI_OPTFLAGS += $(LLI_OPTFLAGS)
+JIT_OPTFLAGS += $(LLI_OPTFLAGS)
+endif
+
# Pass target specific lli flags
ifdef TARGET_LLIFLAGS
LLI_OPTS += $(TARGET_LLIFLAGS)
More information about the llvm-commits
mailing list