mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 00:13:43 +00:00
all: add LLVM 12 support
Originally based on a PR by @QuLogic, but extended a lot to get all tests to pass.
This commit is contained in:
committed by
Ron Evans
parent
74b20ca234
commit
5127b9d65b
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user