aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/addressingmodes.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2020-03-24 16:45:38 +0000
committerKeith Randall <khr@golang.org>2020-03-24 19:05:50 +0000
commitf975485ad13d09a828120b573386d15ac669df6a (patch)
tree432dd1231bb2fb84e00d516a7a9a9d0a96e1c8b1 /src/cmd/compile/internal/ssa/addressingmodes.go
parent9dcd6b32c80bd481602a959995af7c898ed62503 (diff)
downloadgo-f975485ad13d09a828120b573386d15ac669df6a.tar.gz
go-f975485ad13d09a828120b573386d15ac669df6a.zip
Revert "cmd/compile: disable addressingmodes pass for 386"
This reverts commit CL 225057. Reason for revert: Undoing partial reverts of CL 222782 Update #37881 Change-Id: Iee024cab2a580a37a0fc355e0e3c5ad3d8fdaf7d Reviewed-on: https://go-review.googlesource.com/c/go/+/225197 Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/addressingmodes.go')
-rw-r--r--src/cmd/compile/internal/ssa/addressingmodes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssa/addressingmodes.go b/src/cmd/compile/internal/ssa/addressingmodes.go
index 87f9611ef3..77d14dcfb8 100644
--- a/src/cmd/compile/internal/ssa/addressingmodes.go
+++ b/src/cmd/compile/internal/ssa/addressingmodes.go
@@ -11,7 +11,7 @@ func addressingModes(f *Func) {
default:
// Most architectures can't do this.
return
- case "amd64":
+ case "amd64", "386":
// TODO: s390x?
}