compiler: open code string equality
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 24 Jun 2019 17:54:07 +0000 (17:54 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 24 Jun 2019 17:54:07 +0000 (17:54 +0000)
commit609c7da9ab08b009fb7a9cacf68a40b3b39231b3
tree35dca03ba85159a6996a182caf07eaaeccfd9728
parentd611cec3de1e54091843019a0d02c23493d288ce
compiler: open code string equality

    Open code string equality with builtin memcmp. This allows
    further optimizations in the backend.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/183538

From-SVN: r272624
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/runtime.def
libgo/go/runtime/alg.go
libgo/go/runtime/stubs.go