tinygo/compiler/testdata
Ayke van Laethem ebd4969cde all: switch to LLVM 13
This adds support for building with `-tags=llvm13` and switches to LLVM
13 for tinygo binaries that are statically linked against LLVM.

Some notes on this commit:

  * Added `-mfloat-abi=soft` to all Cortex-M targets because otherwise
    nrfx would complain that floating point was enabled on Cortex-M0.
    That's not the case, but with `-mfloat-abi=soft` the `__SOFTFP__`
    macro is defined which silences this warning.
    See: https://reviews.llvm.org/D100372
  * Changed from `--sysroot=<root>` to `-nostdlib -isystem <root>` for
    musl because with Clang 13, even with `--sysroot` some system
    libraries are used which we don't want.
  * Changed all `-Xclang -internal-isystem -Xclang` to simply
    `-isystem`, for consistency with the above change. It appears to
    have the same effect.
  * Moved WebAssembly function declarations to the top of the file in
    task_asyncify_wasm.S because (apparently) the assembler has become
    more strict.
2022-01-09 11:04:10 +01:00
..
basic.go compiler: properly implement div and rem operations 2021-10-28 15:55:02 +02:00
basic.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
channel.go compiler: avoid zero-sized alloca in channel operations 2021-09-09 11:24:52 +02:00
channel.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
float.go compiler: test float to int conversions and fix upper-bound calculation 2021-01-19 14:02:32 +01:00
float.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
func-coroutines.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
func.go compiler: add func tests 2021-04-12 12:07:42 +02:00
gc.go compiler: fix emission of large object layouts 2022-01-03 21:22:49 +01:00
gc.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
go1.17.go compiler: add support for new language features of Go 1.17 2021-08-30 09:18:58 +02:00
go1.17.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
goroutine-cortex-m-qemu-tasks.ll internal/task: swap stack chain when switching goroutines 2021-12-17 10:01:11 +01:00
goroutine-wasm-asyncify.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
goroutine-wasm-coroutines.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
goroutine.go compiler: add support for the go keyword on interface methods 2021-10-31 14:17:25 +01:00
interface.go compiler: simplify interface lowering 2021-10-31 14:17:25 +01:00
interface.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
intrinsics-cortex-m-qemu.ll targets: match LLVM triple to the one Clang uses 2021-11-05 09:42:00 +01:00
intrinsics-wasm.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
intrinsics.go compiler: move LLVM math builtin support into the compiler 2021-08-10 20:08:27 +02:00
pointer.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
pointer.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
pragma.go compiler: add function and global section pragmas 2021-06-24 15:00:30 +02:00
pragma.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
slice.go compiler: add *ssa.MakeSlice bounds tests 2021-08-17 08:16:27 +02:00
slice.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00
string.go compiler: fix indices into strings and arrays 2021-11-13 11:04:24 +01:00
string.ll all: switch to LLVM 13 2022-01-09 11:04:10 +01:00