Skip to content

Commit

Permalink
Remove the LLVM JIT compiler ("trace compiler") test suite.
Browse files Browse the repository at this point in the history
This is a very fragile test suite that percolates throughout the
existing trace compiler in a way that makes it quite hard to make
changes to it (e.g. to support software tracing).

In the short term we want to tweak the LLVM trace compiler to make it easier
to support software tracing. In the medium term we want to remove the
LLVM trace compiler entirely. Fixing the test suite is rather annoying
because of its fragility, and not particularly beneficial to us, so it's
easiest to remove it now and be done with it.

There are probably more bits we can remove and simplify, but this commit
does enough of a job on its own to be a noticeable help.
  • Loading branch information
ltratt committed Feb 1, 2024
1 parent 11371eb commit 1dce7f8
Show file tree
Hide file tree
Showing 31 changed files with 0 additions and 986 deletions.
5 changes: 0 additions & 5 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ name = "c_tests"
path = "langtest_c.rs"
harness = false

[[test]]
name = "trace_compiler_tests"
path = "langtest_trace_compiler.rs"
harness = false

[[test]]
name = "ir_lowering_tests"
path = "langtest_ir_lowering.rs"
Expand Down
68 changes: 0 additions & 68 deletions tests/langtest_trace_compiler.rs

This file was deleted.

49 changes: 0 additions & 49 deletions tests/src/bin/run_trace_compiler_test.rs

This file was deleted.

29 changes: 0 additions & 29 deletions tests/trace_compiler/call_ext.ll

This file was deleted.

54 changes: 0 additions & 54 deletions tests/trace_compiler/direct_recursion.ll

This file was deleted.

29 changes: 0 additions & 29 deletions tests/trace_compiler/global_immut.ll

This file was deleted.

27 changes: 0 additions & 27 deletions tests/trace_compiler/global_mut.ll

This file was deleted.

46 changes: 0 additions & 46 deletions tests/trace_compiler/guard_eq.ll

This file was deleted.

52 changes: 0 additions & 52 deletions tests/trace_compiler/guard_switch_default.ll

This file was deleted.

Loading

0 comments on commit 1dce7f8

Please sign in to comment.