summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2022-06-23 12:12:52 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-06-28 03:24:24 -0400
commitdf762ae9e2d5263fb71f6df38323ac3ca400cc47 (patch)
tree417edc0c63a185422b7b8f49ddfce655abebac79 /testsuite/tests/codeGen
parent57a5f88cf70ec6dd65ff4a2df0c11805ec1db018 (diff)
downloadhaskell-df762ae9e2d5263fb71f6df38323ac3ca400cc47.tar.gz
-ddump-llvm shouldn't imply -fllvm
Previously -ddump-llvm would change the backend used, which contrasts with all other dump flags. This is quite surprising and cost me quite a bit of time. Dump flags should not change compiler behavior. Fixes #21776.
Diffstat (limited to 'testsuite/tests/codeGen')
-rw-r--r--testsuite/tests/codeGen/should_compile/all.T3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/codeGen/should_compile/all.T b/testsuite/tests/codeGen/should_compile/all.T
index a18451b98e..78d96f83ff 100644
--- a/testsuite/tests/codeGen/should_compile/all.T
+++ b/testsuite/tests/codeGen/should_compile/all.T
@@ -55,7 +55,8 @@ test('T15155',
[ unless(have_ncg(), skip)
], makefile_test, [])
-test('T15155l', [ when(unregisterised(), skip), unless(have_llvm(), skip)],
+test('T15155l',
+ [when(unregisterised(), skip), unless(have_llvm(), skip), only_ways(llvm_ways)],
makefile_test, [])
test('T16449_1', normal, compile, [''])