From 5efe19801eb1025c8ba1921a9fe6ecbbcbd59c18 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Thu, 8 Nov 2001 18:14:20 +0000 Subject: [PATCH] Run cleaning pass only when linking multiple files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1209 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Makefile.target | 3 +-- test/Makefile.tests | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/Makefile.target b/test/Makefile.target index 7194cdbe206..394956c5d9b 100644 --- a/test/Makefile.target +++ b/test/Makefile.target @@ -88,9 +88,8 @@ clean : %.bc: %.ll $(LAS) -f $< -## There is just one file so omit link step and just clean %.linked.bc: %.bc - $(LOPT) -cleangcc -raise -constprop -dce $< -o $@ + $(CP) $< $@ %.clean.bc: %.bc $(LOPT) -cleangcc -raise -constprop -dce $< -o $@ diff --git a/test/Makefile.tests b/test/Makefile.tests index 7194cdbe206..394956c5d9b 100644 --- a/test/Makefile.tests +++ b/test/Makefile.tests @@ -88,9 +88,8 @@ clean : %.bc: %.ll $(LAS) -f $< -## There is just one file so omit link step and just clean %.linked.bc: %.bc - $(LOPT) -cleangcc -raise -constprop -dce $< -o $@ + $(CP) $< $@ %.clean.bc: %.bc $(LOPT) -cleangcc -raise -constprop -dce $< -o $@