[all-commits] [llvm/llvm-project] d37e7e: [LowerMemIntrinsics] Respect the volatile argument...

Fabian Ritter via All-commits all-commits at lists.llvm.org
Wed Jul 3 04:37:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d37e7ec2c5c3ecfd6a4612c1798d62d343ceb254
      https://github.com/llvm/llvm-project/commit/d37e7ec2c5c3ecfd6a4612c1798d62d343ceb254
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
    M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll

  Log Message:
  -----------
  [LowerMemIntrinsics] Respect the volatile argument of llvm.memmove (#97545)

So far, we ignored if a memmove intrinsic is volatile when lowering it
to loops in the IR. This change generates volatile loads and stores in
this case (similar to how memcpy is handled) and adds tests for volatile
memmoves and memcpys.



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