summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/VectorUtils.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-07-13 02:53:19 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-07-13 02:53:19 +0000
commit3c8ea5f3f8e8a875637045862edd6ba2196c4d5b (patch)
treeb3b4f2e4eade407dee7475303b2f3c01c7e03662 /llvm/lib/Analysis/VectorUtils.cpp
parent599ca4426cb5c0cf90c8d0e409142e2649dc7dd6 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud