dart-sdk/runtime
Tess Strickland 93b84b5b52 [vm/compiler] Simplify range analysis for IntConverter.
We can simplify and improve the range analysis in IntConverter if we
generalize based on the sizes and signs of the source and target
representations and whether the operation truncates or deoptimizes.

Adds RepresentationUtils::MinValue() and ::MaxValue(), which return the
minimum and maximum value (as an int64_t) for an unboxed integer
representation.

TEST=ci

Cq-Include-Trybots: luci.dart.try:vm-aot-linux-debug-simarm_x64-try,vm-aot-linux-release-x64-try,vm-aot-linux-debug-x64-try,vm-aot-linux-debug-x64c-try,vm-win-release-x64-try,vm-gcc-linux-try,vm-ffi-qemu-linux-release-arm-try,vm-ffi-android-debug-arm-try
Change-Id: Ic8dc0d58059e30d85fb2816e15ab3c19fbee461c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/332203
Commit-Queue: Tess Strickland <sstrickl@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
2023-10-26 17:39:49 +00:00
..
bin [io/doc/test] Modify the Windows symlink resolution behavior so that resolving a link that points to a non-existent file results in a type of notFound, which is consistent with all other platforms. 2023-10-25 23:14:38 +00:00
docs Revert "[vm, gc] Mark through new-space." 2023-10-18 07:47:39 +00:00
include [vm] Separate for-snapshot vs embed-sources bools when compiling to kernel 2023-07-28 10:01:53 +00:00
lib Reland "[vm/compiler] Change MemoryCopy to also take untagged addresses." 2023-10-17 07:41:49 +00:00
observatory [observatory] Avoid deprecated UnmodifiableUint8ListView 2023-10-26 01:31:29 +00:00
platform [vm] Fix Windows ARM64 MSVC build. 2023-10-20 19:45:49 +00:00
tests [vm/tests] Fix vm/dart/regress_306327173_il_test for ASAN. 2023-10-26 17:03:18 +00:00
third_party Roll double-conversion to 032fa6a7d2c319b20d3928f5d762648fa4029acf. 2023-09-13 14:54:27 +00:00
tools Stop using deprecated 'element2' that will be removed. 2023-10-25 14:21:42 +00:00
vm [vm/compiler] Simplify range analysis for IntConverter. 2023-10-26 17:39:49 +00:00
.clang-tidy
.gitignore
BUILD.gn [vm] Fix build for gcc 13.2.0. 2023-10-25 08:38:28 +00:00
codereview.settings
configs.gni [Runtime] Add extra_product_deps and extra_nonproduct_deps params to "library_for_all_configs_with_compiler" template 2023-04-14 19:51:40 +00:00
CPPLINT.cfg [cpplint] Disable runtime/references lint 2023-01-23 18:21:48 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py Reland "Reland "[VM] Begin supporting Perfetto file recorder"" 2023-04-18 19:39:05 +00:00
runtime_args.gni Add a GN flag for the non-debug optimization level 2023-07-15 14:14:59 +00:00