[llvm-commits] [test-suite] r66747 - /test-suite/trunk/Makefile.programs

Evan Cheng evan.cheng at apple.com
Wed Mar 11 17:54:48 PDT 2009


Author: evancheng
Date: Wed Mar 11 19:54:48 2009
New Revision: 66747

URL: http://llvm.org/viewvc/llvm-project?rev=66747&view=rev
Log:
Also pass -m32 / -m64 to bugpoint as part of -gcc-tool-args.

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=66747&r1=66746&r2=66747&view=diff

==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Wed Mar 11 19:54:48 2009
@@ -524,6 +524,12 @@
 BUGPOINT_OPTIONS += -input=$(STDIN_FILENAME) -output=Output/$*.out-nat
 BUGPOINT_OPTIONS += -timeout=$(RUNTIMELIMIT)
 BUGPOINT_OPTIONS += --tool-args $(LLCFLAGS)
+ifeq ($(ARCH),x86)
+BUGPOINT_OPTIONS += -gcc-tool-args -m32
+endif
+ifeq ($(ARCH),x86_64)
+BUGPOINT_OPTIONS += -gcc-tool-args -m64
+endif
 BUGPOINT_ARGS += --args -- $(RUN_OPTIONS)
 
 # Rules to bugpoint the opt, llvm-ld, llc, or lli commands...





More information about the llvm-commits mailing list