• David Chase's avatar
    cmd/compile: Repurpose old sliceopt.go for prove phase. · 0f299424
    David Chase authored
    Adapt old test for prove's bounds check elimination.
    Added missing rule to generic rules that lead to differences
    between 32 and 64 bit platforms on sliceopt test.
    Added debugging to prove.go that was helpful-to-necessary to
    discover that missing rule.
    Lowered debugging level on prove.go from 3 to 1; no idea
    why it was previously 3.
    
    Change-Id: I09de206aeb2fced9f2796efe2bfd4a59927eda0c
    Reviewed-on: https://go-review.googlesource.com/23290
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    0f299424
prove.go 6.77 KB