[commit: ghc] wip/T15155a: better criterion by checking for ncg (5ce06aa)

git at git.haskell.org git at git.haskell.org
Sun Mar 31 15:06:54 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T15155a
Link       : http://ghc.haskell.org/trac/ghc/changeset/5ce06aa80466ea0eb23a0bce24879ca5ed2e4210/ghc

>---------------------------------------------------------------

commit 5ce06aa80466ea0eb23a0bce24879ca5ed2e4210
Author: Gabor Greif <ggreif at gmail.com>
Date:   Mon Dec 24 09:39:44 2018 +0100

    better criterion by checking for ncg


>---------------------------------------------------------------

5ce06aa80466ea0eb23a0bce24879ca5ed2e4210
 testsuite/tests/codeGen/should_compile/all.T | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/testsuite/tests/codeGen/should_compile/all.T b/testsuite/tests/codeGen/should_compile/all.T
index 33d9ade..44f8e7c 100644
--- a/testsuite/tests/codeGen/should_compile/all.T
+++ b/testsuite/tests/codeGen/should_compile/all.T
@@ -44,7 +44,7 @@ test('T14999',
 
 # Verify that we optimize away redundant jumps for unordered comparisons.
 test('T15196',
-  [ unless(arch('x86_64'),skip),
+  [ unless(arch('x86_64'), skip),
     only_ways('normal'),
   ], run_command, ['$MAKE -s --no-print-directory T15196'])
 
@@ -54,9 +54,8 @@ test('T15723',
   ], run_command, ['$MAKE -s --no-print-directory T15723'])
 
 test('T15155',
-  [ [ when(unregisterised(), skip) ],
+  [ unless(have_ncg(), skip)
   ], run_command, ['$MAKE -s --no-print-directory T15155'])
 
-test('T15155l',
-  [ only_ways(llvm_ways),
-  ], run_command, ['$MAKE -s --no-print-directory T15155l'])
+test('T15155l', only_ways(llvm_ways),
+     run_command, ['$MAKE -s --no-print-directory T15155l'])



More information about the ghc-commits mailing list