compiler: intrinsify sync/atomic functions
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 30 May 2019 17:26:46 +0000 (17:26 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 30 May 2019 17:26:46 +0000 (17:26 +0000)
commitc9c41a6b1bf681e319b3b3df035eeb9ad754ea0d
treecc9924b9e6db08472f57e49e27d42a3d6dc7f6b4
parentd05b516e5310dad3348d6d198d59c55fd28a2c6e
compiler: intrinsify sync/atomic functions

    Let the Go frontend recognize sync/atomic functions and turn them
    into intrinsics.

    Also make sure not to intrinsify calls in go or defer statements.

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

From-SVN: r271784
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/statements.cc