[llvm-commits] [test-suite] r65890 - /test-suite/trunk/TEST.dbgopt.Makefile
Devang Patel
dpatel at apple.com
Mon Mar 2 15:01:36 PST 2009
Author: dpatel
Date: Mon Mar 2 17:01:35 2009
New Revision: 65890
URL: http://llvm.org/viewvc/llvm-project?rev=65890&view=rev
Log:
Use separate invocation of 'opt' so that pass manager can not play tricks here.
Modified:
test-suite/trunk/TEST.dbgopt.Makefile
Modified: test-suite/trunk/TEST.dbgopt.Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/TEST.dbgopt.Makefile?rev=65890&r1=65889&r2=65890&view=diff
==============================================================================
--- test-suite/trunk/TEST.dbgopt.Makefile (original)
+++ test-suite/trunk/TEST.dbgopt.Makefile Mon Mar 2 17:01:35 2009
@@ -19,9 +19,9 @@
Output/%.diff: %.cpp Output/.dir $(LLVMGXX) $(LOPT) $(LDIS)
$(LLVMGXX) $*.cpp -g --emit-llvm -c -o Output/$*.bc
- $(LOPT) Output/$*.bc -strip-nondebug -strip-debug -std-compile-opts -strip -f -o Output/$*.t.bc
+ $(LOPT) Output/$*.bc -strip-nondebug -strip-debug | $(LOPT) -std-compile-opts | $(LOPT) -strip -f -o Output/$*.t.bc
$(LDIS) Output/$*.t.bc -f -o Output/$*.first.ll
- $(LOPT) Output/$*.bc -strip-nondebug -std-compile-opts -strip-debug -strip -f -o Output/$*.t.bc
+ $(LOPT) Output/$*.bc -strip-nondebug | $(LOPT) -std-compile-opts | $(LOPT) -strip-debug -strip -f -o Output/$*.t.bc
$(LDIS) Output/$*.t.bc -f -o Output/$*.second.ll
@-if diff Output/$*.first.ll Output/$*.second.ll > Output/$*.diff; then \
echo "--------- TEST-PASS: $*"; \
@@ -32,9 +32,9 @@
Output/%.diff: %.c Output/.dir $(LLVMGCC) $(LOPT) $(LDIS)
$(LLVMGCC) $*.c -g --emit-llvm -c -o Output/$*.bc
- $(LOPT) Output/$*.bc -strip-nondebug -strip-debug -std-compile-opts -strip -f -o Output/$*.t.bc
+ $(LOPT) Output/$*.bc -strip-nondebug -strip-debug | $(LOPT) -std-compile-opts | $(LOPT) -strip -f -o Output/$*.t.bc
$(LDIS) Output/$*.t.bc -f -o Output/$*.first.ll
- $(LOPT) Output/$*.bc -strip-nondebug -std-compile-opts -strip-debug -strip -f -o Output/$*.t.bc
+ $(LOPT) Output/$*.bc -strip-nondebug | $(LOPT) -std-compile-opts | $(LOPT) -strip-debug -strip -f -o Output/$*.t.bc
$(LDIS) Output/$*.t.bc -f -o Output/$*.second.ll
@-if diff Output/$*.first.ll Output/$*.second.ll > Output/$*.diff; then \
echo "--------- TEST-PASS: $*"; \
More information about the llvm-commits
mailing list