v8/test/unittests
Nico Hartmann 88eac4b870 [turboshaft] Basic TypedOptimization and new DeadCodeElimination
This CL introduces typed optimizations for Turboshaft, which replaces all operations that produce a constant output (and don't have side effects) by the corresponding constant.

In addition, a new pass for eliminating dead code is introduced that cannot only remove dead operations, but also rewrite branches that are not required into GotoOps.

Drive-by: Introduce -0 as a "special value" for Float32Type and Float64Type to fix a few issues where 0 and -0 have been treated as identical.

Bug: v8:12783
Change-Id: Ia1450ad7a9abb5d58c7d753596ed08a33a73184f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4110993
Reviewed-by: Darius Mercadier <dmercadier@chromium.org>
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85143}
2023-01-09 13:23:56 +00:00
..
api Fix a failing DCHECK 2022-12-15 14:06:59 +00:00
asmjs [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
assembler [riscv] Fix disasm unittest error 2023-01-05 09:10:11 +00:00
base Adds flag for which sin/cos implementation to use 2022-12-15 15:00:17 +00:00
codegen [heap] Enable conservative stack scanning on tests 2022-12-14 16:14:12 +00:00
compiler [turboshaft] Basic TypedOptimization and new DeadCodeElimination 2023-01-09 13:23:56 +00:00
compiler-dispatcher [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
date
debug [debug] Use context isolate when creating PropertyIterator 2022-11-03 19:37:55 +00:00
deoptimizer [deoptimizer] Remove deoptimized code list 2022-11-17 13:32:17 +00:00
diagnostics
execution [execution] Pushed microtask queue suppression must be for current queue 2022-11-07 16:30:13 +00:00
flags [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
heap [heap] Remove Push/Pop for EmbedderHeapTracer wrapper object 2023-01-09 12:12:02 +00:00
inspector [inspector] Remove experimental_async_stack_tagging_api flag 2022-10-24 05:23:50 +00:00
interpreter [ShadowRealm] side-effect-free inspection on cross-realm exceptions 2022-12-20 17:25:10 +00:00
js-atomics [shared-struct, api] Support shared isolates in API 2022-08-26 23:41:57 +00:00
libplatform [Tracing w/SDK] Replace TraceStateObserver with TrackEventSessionObserver 2022-12-01 11:18:24 +00:00
libsampler [test] move cctest/libsampler to unittests/libsampler 2022-05-17 09:51:27 +00:00
logging [logging] Use v8_flags for accessing flag values 2022-09-15 12:44:51 +00:00
numbers [test] Move cctest/test-diy-fp to unittests/numbers/ 2022-05-31 07:34:19 +00:00
objects [heap] Enable conservative stack scanning on tests 2022-12-14 16:14:12 +00:00
parser [heap] Enable conservative stack scanning on tests 2022-12-14 16:14:12 +00:00
profiler
regexp [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
regress
runtime [wasm] Fix inspection of imported wasm tables created in JS 2022-09-22 12:01:44 +00:00
sandbox [sandbox] Initialize sandbox during V8::Initialize 2022-07-15 09:29:32 +00:00
strings [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
tasks [unittests] Use v8_flags for accessing flag values 2022-09-15 17:51:59 +00:00
temporal [Temporal] Clean up parser 2022-09-27 20:38:54 +00:00
torque
tracing [test] Move cctest/test-traced-value to unittests/tracing/ 2022-05-30 06:03:18 +00:00
utils Reland "[heap] Transition/Shortcut strings only during GCs without stack" 2022-11-22 16:37:57 +00:00
wasm [wasm] Do not build loop exits for non-innermost loops 2023-01-05 20:04:09 +00:00
web-snapshot [heap] Enable conservative stack scanning on tests 2022-12-14 16:14:12 +00:00
zone
avoid-windows-h-includes.cc
BUILD.gn [api, heap, handles] Remove deprecated EmbedderHeapTracer 2023-01-02 15:17:40 +00:00
DEPS Reland "Reland "[test] Move tracing cctest to unittests"" 2022-05-31 16:16:57 +00:00
gay-fixed.cc [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-fixed.h [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-precision.cc [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-precision.h [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-shortest.cc [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-shortest.h [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
run-all-unittests.cc [test] Add perfetto initialisation to unittest runner 2022-06-01 12:32:17 +00:00
test-helpers.cc
test-helpers.h
test-utils.cc [heap] Convert unittest to avoid using deprecated APIs 2022-12-20 08:12:07 +00:00
test-utils.h [heap] Enable conservative stack scanning on tests 2022-12-14 16:14:12 +00:00
testcfg.py [heap] Run unittests for MinorMC variant 2022-11-25 19:47:56 +00:00
unittests.status [turbofan] Fix bugs of ToBigIntConvertNumber 2022-12-12 17:01:54 +00:00
v8_unittests.cml [fuchsia][v8_unittests] migrate v8_unittests.cmx to .cml 2022-08-24 13:36:40 +00:00