diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-12 17:38:28 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-12 17:38:28 -0800 |
commit | 2e35d4be18603af740f30ba63afa62c16ed43950 (patch) | |
tree | 8f306de3e682e5ec2dd20dd517ea963f70c12259 /tests | |
parent | 2e76c41a21c02c4a4736ae5f9683aeca4c2aceb9 (diff) |
prepare to merge to master
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/runner.py b/tests/runner.py index ce76fec0..67af04a2 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -63,8 +63,8 @@ class RunnerCore(unittest.TestCase): def pick_llvm_opts(self, optimization_level): global LLVM_OPT_OPTS - # TA2 should be able to withstand instruction combining, and we do use I64_MODE = 1 there - LLVM_OPT_OPTS = pick_llvm_opts(optimization_level, safe=Settings.USE_TYPED_ARRAYS != 2) + # TODO: TA2 should be able to withstand unsafe opts, and we do use I64_MODE = 1 there + LLVM_OPT_OPTS = pick_llvm_opts(optimization_level, safe=True) def prep_ll_run(self, filename, ll_file, force_recompile=False, build_ll_hook=None): if ll_file.endswith(('.bc', '.o')): @@ -4350,12 +4350,12 @@ TT = %s ''' % (fullname, fullname, fullname, compiler, llvm_opts, embetter, quantum_size, typed_arrays, fullname)) return TT - for llvm_opts in [1]: + for llvm_opts in [0,1]: for name, compiler, quantum, embetter, typed_arrays in [ - #('clang', CLANG, 1, 0, 0), - #('clang', CLANG, 4, 0, 0), - #('clang', CLANG, 1, 1, 1), - #('clang', CLANG, 4, 1, 1), + ('clang', CLANG, 1, 0, 0), + ('clang', CLANG, 4, 0, 0), + ('clang', CLANG, 1, 1, 1), + ('clang', CLANG, 4, 1, 1), ('clang', CLANG, 4, 1, 2), ]: fullname = '%s_%d_%d%s%s' % ( |