summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplStg/Makefile
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2016-12-15 10:57:43 -0800
committerJoachim Breitner <mail@joachim-breitner.de>2017-01-05 09:13:47 -0500
commit19d5c7312bf0ad9ae764168132aecf3696d5410b (patch)
tree4ca88418e91ce41b026389d75f985d0bd9a72292 /testsuite/tests/simplStg/Makefile
parentbaf9ebe55a51827c0511b3a670e60b9bb3617ab5 (diff)
downloadhaskell-19d5c7312bf0ad9ae764168132aecf3696d5410b.tar.gz
Add a CSE pass to Stg (#9291)
This CSE pass only targets data constructor applications. This is probably the best we can do, as function calls and primitive operations might have side-effects. Introduces the flag -fstg-cse, enabled by default with -O for now. It might also be a good candiate for -O2. Differential Revision: https://phabricator.haskell.org/D2871
Diffstat (limited to 'testsuite/tests/simplStg/Makefile')
-rw-r--r--testsuite/tests/simplStg/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/simplStg/Makefile b/testsuite/tests/simplStg/Makefile
new file mode 100644
index 0000000000..9a36a1c5fe
--- /dev/null
+++ b/testsuite/tests/simplStg/Makefile
@@ -0,0 +1,3 @@
+TOP=../..
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/test.mk