diff options
author | T.J. Alumbaugh <talumbau@google.com> | 2021-05-01 03:53:34 +0300 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2021-05-01 03:53:53 +0300 |
commit | 70e3b87abb64f94441d00f8cf1824c8cc4db61a0 (patch) | |
tree | b30c14701d918c181d499978c488652604c8a13b | |
parent | 5a6516e51990540429b07a1298c5201b548bbed0 (diff) |
Remove runtime assertion on size of shift in reference code
PiperOrigin-RevId: 371435881
-rw-r--r-- | ruy/apply_multiplier.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ruy/apply_multiplier.cc b/ruy/apply_multiplier.cc index 19bfd88..b28c3b0 100644 --- a/ruy/apply_multiplier.cc +++ b/ruy/apply_multiplier.cc @@ -49,7 +49,6 @@ std::int32_t MultiplyByQuantizedMultiplier(std::int32_t x, std::int32_t quantized_multiplier, int shift) { RUY_CHECK_GE(shift, -31); - RUY_CHECK_LE(shift, 7); int total_shift = 31 - shift; |