commit | 338e4baf88a4ae676205dff601dbef2d31b19d2d | [log] [tgz] |
---|---|---|
author | Cherry Zhang <cherryyz@google.com> | Fri Mar 29 22:40:55 2019 -0400 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Jun 24 16:53:38 2019 +0000 |
tree | dd0f21f98b17a4ff09935f0066b13bfb38adf966 | |
parent | 1232eef628227ef855c5fa6d94b31778b2e74a85 [diff] |
compiler: use builtin memcmp directly Instead of going through a C function __go_memcmp, we can just use __builtin_memcmp directly. This allows more optimizations in the compiler backend. Change-Id: I1e3497a64c3d325407c83479bdb4880f7f3885c3 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/183537 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>