tinygo/compiler/testdata
Ayke van Laethem 1d7543e2bf all: switch to LLVM 16
This commit adds support for LLVM 16 and switches to it by default. That
means three LLVM versions are supported at the same time: LLVM 14, 15,
and 16.

This commit includes work by QuLogic:

  * Part of this work was based on a PR by QuLogic:
    https://github.com/tinygo-org/tinygo/pull/3649
    But I also had parts of this already implemented in an old branch I
    already made for LLVM 16.
  * QuLogic also provided a CGo fix here, which is also incorporated in
    this commit:
    https://github.com/tinygo-org/tinygo/pull/3869

The difference with the original PR by QuLogic is that this commit is
more complete:
  * It switches to LLVM 16 by default.
  * It updates some things to also make it work with a self-built LLVM.
  * It fixes the CGo bug in a slightly different way, and also fixes
    another one not included in the original PR.
  * It does not keep compiler tests passing on older LLVM versions. I
    have found this to be quite burdensome and therefore don't generally
    do this - the smoke tests should hopefully catch most regressions.
2023-09-18 21:58:02 +02:00
..
basic.go compiler: fix stack overflow when creating recursive pointer types 2022-12-22 17:45:05 +01:00
basic.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02: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 16 2023-09-18 21:58:02 +02:00
defer-cortex-m-qemu.ll compiler: update test outputs 2023-04-11 18:54:05 -07:00
defer.go compiler: insert basic blocks at an appropriate location 2022-06-16 07:59:21 +02:00
errors.go compiler: disallow most types in //go:wasmimport 2023-05-20 11:24:20 +02: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 16 2023-09-18 21:58:02 +02:00
func.go compiler: add func tests 2021-04-12 12:07:42 +02:00
func.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
gc.go transform: remove switched func lowering 2022-01-19 14:42:02 -05:00
gc.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
generics.go compiler: implement unsafe.Alignof and unsafe.Sizeof for generic code 2022-07-28 15:43:51 +02:00
generics.ll compiler: implement unsafe.Alignof and unsafe.Sizeof for generic code 2022-07-28 15:43:51 +02:00
go1.20.go compiler: add support for new unsafe slice/string functions 2023-01-17 08:38:54 +01:00
go1.20.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
go1.21.go compiler: implement clear builtin for maps 2023-08-04 11:59:11 +02:00
go1.21.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
goroutine-cortex-m-qemu-tasks.ll compiler: add alloc attributes to runtime.alloc 2023-03-22 00:34:43 +01:00
goroutine-wasm-asyncify.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02: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 16 2023-09-18 21:58:02 +02:00
pointer.go compiler: remove unsafe.Pointer(uintptr(v) + idx) optimization 2023-03-03 16:55:13 +01:00
pointer.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
pragma.go wasm: fix functions exported through //export 2023-07-28 13:57:24 +02:00
pragma.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
slice.go all: drop support for Go 1.16 and Go 1.17 2022-08-30 12:38:06 +02:00
slice.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
string.go compiler: fix indices into strings and arrays 2021-11-13 11:04:24 +01:00
string.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02:00
zeromap.go compiler: zero struct padding during map operations 2023-02-25 22:40:08 +01:00
zeromap.ll all: switch to LLVM 16 2023-09-18 21:58:02 +02:00