[all-commits] [llvm/llvm-project] 89e767: [LoopIdiom] Move up atomic checks for memcpy/memmo...

Ryotaro Kasuga via All-commits all-commits at lists.llvm.org
Wed Jan 29 02:22:07 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89e767f1277b43862ca417810f23f70596536b81
      https://github.com/llvm/llvm-project/commit/89e767f1277b43862ca417810f23f70596536b81
  Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

  Log Message:
  -----------
  [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



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list