[all-commits] [llvm/llvm-project] 59f91d: [InstCombine] Preserve alignment in atomicrmw -> s...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jan 9 06:37:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59f91ddf90d470e113f9322314ce7c36e21ff0b3
      https://github.com/llvm/llvm-project/commit/59f91ddf90d470e113f9322314ce7c36e21ff0b3
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp
    M llvm/test/Transforms/InstCombine/atomicrmw.ll

  Log Message:
  -----------
  [InstCombine] Preserve alignment in atomicrmw -> store fold

Preserve the alignment of the original atomicrmw, rather than using
the ABI alignment.

The same problem exists for loads, but that code is being removed
in D141277 anyway.




More information about the All-commits mailing list