-
Keith Randall authored
Find comparisons to constants and propagate that information down the dominator tree. Use it to resolve other constant comparisons on the same variable. So if we know x >= 7, then a x > 4 condition must return true. This change allows us to use "_ = b[7]" hints to eliminate bounds checks. Fixes #14900 Change-Id: Idbf230bd5b7da43de3ecb48706e21cf01bf812f7 Reviewed-on: https://go-review.googlesource.com/21008Reviewed-by: Alexandru Moșoi <alexandru@mosoi.ro>
47c9e139
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
binary.go | ||
binary_test.go | ||
example_test.go | ||
varint.go | ||
varint_test.go |