diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-07-13 02:53:19 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-07-13 02:53:19 +0000 |
| commit | 3c8ea5f3f8e8a875637045862edd6ba2196c4d5b (patch) | |
| tree | b3b4f2e4eade407dee7475303b2f3c01c7e03662 /llvm/lib/Analysis/VectorUtils.cpp | |
| parent | 599ca4426cb5c0cf90c8d0e409142e2649dc7dd6 (diff) | |
| download | bcm5719-llvm-3c8ea5f3f8e8a875637045862edd6ba2196c4d5b.tar.gz bcm5719-llvm-3c8ea5f3f8e8a875637045862edd6ba2196c4d5b.zip | |
Intrin.h: Clean up our atomic intrinsics
Three things:
- The atomic intrinsics mandate memory barriers, let's start emitting
some.
- We don't need to manually create RMW operations, we can just do
__atomic_fetch_foo instead of performing __atomic_foo_fetch and
undoing foo.
- Don't use inline assembly, we don't need it for these intrinsics.
This fixes PR24101.
llvm-svn: 242009
Diffstat (limited to 'llvm/lib/Analysis/VectorUtils.cpp')
0 files changed, 0 insertions, 0 deletions

