diff options
author | Jinsong Ji <jji@us.ibm.com> | 2021-06-25 01:08:32 +0000 |
---|---|---|
committer | Jinsong Ji <jji@us.ibm.com> | 2021-06-25 01:08:48 +0000 |
commit | f3ef4f5bff26ac4196a15dad7773a03b9d6df21d (patch) | |
tree | f92101871d4664204cc991700267847ada5a3c53 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | f225367305c82ce391bb470f735b19e924ff7372 (diff) | |
download | llvm-f3ef4f5bff26ac4196a15dad7773a03b9d6df21d.zip llvm-f3ef4f5bff26ac4196a15dad7773a03b9d6df21d.tar.gz llvm-f3ef4f5bff26ac4196a15dad7773a03b9d6df21d.tar.bz2 |
[PowerPC] Add XL compat __compare_and_swap builtins
Prototype
int __compare_and_swap (volatile int* addr, int* old_val_addr, int
new_val);
int __compare_and_swaplp (volatile long* addr, long* old_val_addr, long
new_val);
Refer to
https://www.ibm.com/docs/en/xl-c-and-cpp-aix/16.1?topic=functions-compare-swap-compare-swaplp
Reviewed By: w2yehia
Differential Revision: https://reviews.llvm.org/D104837
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions