diff options
author | Ryotaro Kasuga <kasuga.ryotaro@fujitsu.com> | 2025-01-29 19:21:45 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-29 19:21:45 +0900 |
commit | 89e767f1277b43862ca417810f23f70596536b81 (patch) | |
tree | 4fe99e629640dd8c20e451377ee8326c1b703e92 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | db567eaca07133a374991153635a119d9eec066b (diff) | |
download | llvm-89e767f1277b43862ca417810f23f70596536b81.zip llvm-89e767f1277b43862ca417810f23f70596536b81.tar.gz llvm-89e767f1277b43862ca417810f23f70596536b81.tar.bz2 |
[LoopIdiom] Move up atomic checks for memcpy/memmove (NFC) (#124535)
This patch moves up the checks that verify if it is legal to replace the
atomic load/store with memcpy. Currently these checks are done after we
determine to convert the load/store to memcpy/memmove, which makes the
logic a bit confusing.
This patch is a prelude to #50892
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions