diff options
author | Ayke van Laethem <[email protected]> | 2021-03-28 19:56:03 -0400 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-11-30 21:53:16 +0100 |
commit | 5127b9d65b132547d5b4c1a60a8be381871d8ac8 (patch) | |
tree | 669de102bb57f0e897514dde11d7c67fad0163b7 /interp | |
parent | 74b20ca234d901b5f9d4c202321a611ca60ee6a7 (diff) | |
download | tinygo-5127b9d65b132547d5b4c1a60a8be381871d8ac8.tar.gz tinygo-5127b9d65b132547d5b4c1a60a8be381871d8ac8.zip |
all: add LLVM 12 support
Originally based on a PR by @QuLogic, but extended a lot to get all
tests to pass.
Diffstat (limited to 'interp')
-rw-r--r-- | interp/interp_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interp/interp_test.go b/interp/interp_test.go index 516fdd119..ae2635afb 100644 --- a/interp/interp_test.go +++ b/interp/interp_test.go @@ -71,6 +71,7 @@ func runTest(t *testing.T, pathPrefix string) { defer pm.Dispose() pm.AddGlobalOptimizerPass() pm.AddDeadStoreEliminationPass() + pm.AddAggressiveDCEPass() pm.Run(mod) // Read the expected output IR. |