aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2021-01-18 18:53:07 +0100
committerAyke <[email protected]>2021-01-24 15:39:15 +0100
commitd8cc48b09b6d22d0a145ffaa04879f2b07c69a43 (patch)
tree58b580f5a6a5b6a0dc4e6291e84c25dd1e8e2e76 /Makefile
parent9bd36597d67f76230033adab4c3481536a755f71 (diff)
downloadtinygo-d8cc48b09b6d22d0a145ffaa04879f2b07c69a43.tar.gz
tinygo-d8cc48b09b6d22d0a145ffaa04879f2b07c69a43.zip
compiler: remove ir package
This package was long making the design of the compiler more complicated than it needs to be. Previously this package implemented several optimization passes, but those passes have since moved to work directly with LLVM IR instead of Go SSA. The only remaining pass is the SimpleDCE pass. This commit removes the *ir.Function type that permeated the whole compiler and instead switches to use *ssa.Function directly. The SimpleDCE pass is kept but is far less tightly coupled to the rest of the compiler so that it can easily be removed once the switch to building and caching packages individually happens.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 565217162..69eacadf0 100644
--- a/Makefile
+++ b/Makefile
@@ -86,7 +86,7 @@ endif
clean:
@rm -rf build
-FMT_PATHS = ./*.go builder cgo compiler interp ir loader src/device/arm src/examples src/machine src/os src/reflect src/runtime src/sync src/syscall src/internal/reflectlite transform
+FMT_PATHS = ./*.go builder cgo compiler interp loader src/device/arm src/examples src/machine src/os src/reflect src/runtime src/sync src/syscall src/internal/reflectlite transform
fmt:
@gofmt -l -w $(FMT_PATHS)
fmt-check: