aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.target
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.target')
-rw-r--r--test/Makefile.target3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Makefile.target b/test/Makefile.target
index e95724c..f1daa02 100644
--- a/test/Makefile.target
+++ b/test/Makefile.target
@@ -90,6 +90,9 @@ clean :
%.linked.bc: %.bc
$(CP) $< $@
+%.clean.bc: %.bc
+ $(LOPT) -cleangcc -raise -constprop -dce $< -o $@
+
%.s: %.linked.bc
$(LLC) -f $(LLCFLAGS) $< -o $@