dart-sdk/tests
Alexander Markov 38d05280e5 [vm/compiler] Fix materialization of Float32List
Before value is stored into Float32List, it is converted to 32-bit
float using DoubleToFloat instruction. If allocation sinking
eliminated the allocation of Float32List but we need to deoptimize,
the list is materialized and elements are filled. In such case,
we shouldn't perform double->float conversion as it already happened.

This change also updates the assertion in DoubleToFloatInstr::Canonicalize
which verifies that DoubleToFloat instruction can be used only
in certain cases.

TEST=tests/language/vm/allocation_sinking_arrays_test.dart
Fixes https://github.com/dart-lang/sdk/issues/45547

Change-Id: I9a1bd28a9fc09bccad6aa3c91a7880abd002f7c9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193831
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2021-04-02 01:36:28 +00:00
..
co19 [co19] remove skips is a status files motivated by language issue 115 2021-03-30 16:37:41 +00:00
co19_2 [co19] Obsolete entries removed from co19_2-kernel.status file according to co19 issue #1041 2021-03-31 04:14:42 +00:00
corelib Add efficient entries and keys.contains to SplayTreeMap. 2021-03-22 13:20:13 +00:00
corelib_2 Add efficient entries and keys.contains to SplayTreeMap. 2021-03-22 13:20:13 +00:00
dartdevc First version of incremental DDC mode for expression compilation 2021-03-09 17:23:05 +00:00
dartdevc_2 [cfe] Allow experiments only in current sdk version 2021-03-31 15:20:08 +00:00
ffi [analyzer/ffi] Inline array annotation const dimensions 2021-03-30 00:28:57 +00:00
ffi_2 [analyzer/ffi] Inline array annotation const dimensions 2021-03-30 00:28:57 +00:00
language [vm/compiler] Fix materialization of Float32List 2021-04-02 01:36:28 +00:00
language_2 [vm/compiler] Fix materialization of Float32List 2021-04-02 01:36:28 +00:00
lib [pkg:js] Filter promise_reject_null_test from CSP 2021-03-25 22:00:19 +00:00
lib_2 [pkg:js] Filter promise_reject_null_test from CSP 2021-03-25 22:00:19 +00:00
modular [dart2js] Handle super access in mixin declarations 2021-01-07 13:45:18 +00:00
standalone [io/lookup] Ensure public type InternetAddress is used in lookup methods. 2021-03-31 19:43:42 +00:00
standalone_2 [io/lookup] Ensure public type InternetAddress is used in lookup methods. 2021-03-31 19:43:42 +00:00
web [dart2js] Remove unused 'classesOnlyNeededForRti' field. 2021-03-31 17:30:29 +00:00
web_2 [dart2js] Fix variable allocator live-range bug 2021-03-23 15:38:36 +00:00
legacy_status_dart2js.csv
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.