diff options
author | Ian Lance Taylor <iant@golang.org> | 2022-02-06 18:25:25 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2022-02-08 20:13:11 -0800 |
commit | 869fb813039e8933a85f5f2a3a53cde156030b0a (patch) | |
tree | ac6fbc1784a8cfd0c39e029b8e079de3789ceec7 /gcc/gimple-range-path.cc | |
parent | 3ab49b1c822cf8c5748fa4de0ac970c948de6f8a (diff) | |
download | gcc-869fb813039e8933a85f5f2a3a53cde156030b0a.zip gcc-869fb813039e8933a85f5f2a3a53cde156030b0a.tar.gz gcc-869fb813039e8933a85f5f2a3a53cde156030b0a.tar.bz2 |
compiler: recognize Go 1.18 runtime/internal/atomic methods
The Go 1.18 library introduces specific types in runtime/internal/atomic.
Recognize and optimize the methods on those types, as we do with the
functions in runtime/internal/atomic.
While we're here avoid getting confused by methods in any other
package that we recognize specially.
* go-gcc.cc (Gcc_backend::Gcc_backend): Define builtins
__atomic_load_1 and __atomic_store_1.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/383654
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions