1 // errorcheck -0 -d=ssa/tighten/debug=1
5 // Copyright 2023 The Go Authors. All rights reserved.
6 // Use of this source code is governed by a BSD-style
7 // license that can be found in the LICENSE file.
16 func moveValuesWithMemoryArg(len int) {
17 for n := 0; n < len; n++ {
18 // Load of e.data is lowed as a MOVDload op, which has a memory
19 // argument. It's moved near where it's used.
20 _ = e != ts // ERROR "MOVDload is moved$" "MOVDaddr is moved$"