compiler: move LLVM math builtin support into the compiler

This simplifies src/runtime/math.go, which I eventually want to remove
entirely by moving the given functionality into the compiler.
This commit is contained in:
Ayke van Laethem
2021-08-06 15:49:02 +02:00
committed by Ron Evans
parent ca7c849da3
commit 58565b42cc
7 changed files with 138 additions and 37 deletions
+2
View File
@@ -48,6 +48,8 @@ func TestCompiler(t *testing.T) {
{"pragma.go", ""},
{"goroutine.go", "wasm"},
{"goroutine.go", "cortex-m-qemu"},
{"intrinsics.go", "cortex-m-qemu"},
{"intrinsics.go", "wasm"},
}
for _, tc := range tests {