Files
clang-p2996/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
Ryotaro Kasuga 89e767f127 [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
2025-01-29 19:21:45 +09:00

115 KiB