tinygo/compiler/testdata
Ayke van Laethem 0db4b13e37 compiler: do not emit nil checks for *ssa.Alloc instructions
An allocated object is never nil, so there is no need for a nil check.
This probably does not result in any better optimization (the nil check
is easily optimized away by LLVM because the result of runtime.alloc is
marked nonnull) but it makes the slice tests a bit cleaner.
2021-03-22 11:35:06 +01:00
..
basic.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
basic.ll builder, compiler: compile and cache packages in parallel 2021-03-21 11:51:35 +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 builder, compiler: compile and cache packages in parallel 2021-03-21 11:51:35 +01:00
pointer.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00
pointer.ll builder, compiler: compile and cache packages in parallel 2021-03-21 11:51:35 +01:00
slice.go compiler: add some more slice tests 2021-03-22 11:35:06 +01:00
slice.ll compiler: do not emit nil checks for *ssa.Alloc instructions 2021-03-22 11:35:06 +01:00
string.go compiler: add tests for strings 2021-03-22 11:35:06 +01:00
string.ll compiler: add tests for strings 2021-03-22 11:35:06 +01:00