[llvm-commits] CVS: llvm-test/External/SPEC/CINT95/099.go/Makefile
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Fri Jul 15 09:53:56 PDT 2005
Changes in directory llvm-test/External/SPEC/CINT95/099.go:
Makefile updated: 1.4 -> 1.5
---
Log message:
So on alpha, gcc misoptimizes things. So conditionally (on if we are on alpha)
change the optimization levels of the cbe and native
note llc compiles things correctly, this is only a gcc workaround
---
Diffs of the changes: (+11 -0)
Makefile | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: llvm-test/External/SPEC/CINT95/099.go/Makefile
diff -u llvm-test/External/SPEC/CINT95/099.go/Makefile:1.4 llvm-test/External/SPEC/CINT95/099.go/Makefile:1.5
--- llvm-test/External/SPEC/CINT95/099.go/Makefile:1.4 Mon Sep 6 23:18:02 2004
+++ llvm-test/External/SPEC/CINT95/099.go/Makefile Fri Jul 15 11:53:45 2005
@@ -11,3 +11,14 @@
RUN_OPTIONS = 50 9
endif
include ../../Makefile.spec95
+
+ifeq ($(ARCH),Alpha)
+
+Output/%.o: %.c Output/.dir
+ -$(CC) $(CPPFLAGS) $(CFLAGS) -O1 -c $< -o $@
+
+$(PROGRAMS_TO_TEST:%=Output/%.cbe): \
+Output/%.cbe: Output/%.cbe.c
+ -$(CC) $< $(LDFLAGS) $(CFLAGS) -fno-strict-aliasing -O0 -o $@
+
+endif
More information about the llvm-commits
mailing list