diff options
author | Bryan Mills <bcmills@google.com> | 2023-05-24 12:14:38 +0000 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-05-24 14:39:34 +0000 |
commit | 02d234e34dafe81bffb0165970e4d2a914d5abcd (patch) | |
tree | fb0b19f27cb5fa564a256c0fbba738cbf1f13bdb /test/checkbce.go | |
parent | 220c396ea885158638689fec6db9677d20d568ea (diff) | |
download | go-02d234e34dafe81bffb0165970e4d2a914d5abcd.tar.gz go-02d234e34dafe81bffb0165970e4d2a914d5abcd.zip |
Revert "cmd/compile: sparse conditional constant propagation"
This reverts CL 483875.
Reason for revert: appears to cause internal compiler errors on the ssacheck builder.
Change-Id: I662418384291470c1962c417797a5890dd9aa7a4
Reviewed-on: https://go-review.googlesource.com/c/go/+/497855
Reviewed-by: Keith Randall <khr@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'test/checkbce.go')
-rw-r--r-- | test/checkbce.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/checkbce.go b/test/checkbce.go index ab31d95283..6a126099bc 100644 --- a/test/checkbce.go +++ b/test/checkbce.go @@ -137,10 +137,6 @@ func g4(a [100]int) { useInt(a[i+50]) // The following are out of bounds. - if a[0] == 0xdeadbeef { - // This is a trick to prohibit sccp to optimize out the following out of bound check - continue - } useInt(a[i-11]) // ERROR "Found IsInBounds$" useInt(a[i+51]) // ERROR "Found IsInBounds$" } |