[all-commits] [llvm/llvm-project] 15f1cf: [MemoryDependency] Relax the re-ordering with vola...

serguei-katkov via All-commits all-commits at lists.llvm.org
Tue Feb 15 19:59:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15f1cffb3afd361bf368cc7acfd6cfbfe8f77863
      https://github.com/llvm/llvm-project/commit/15f1cffb3afd361bf368cc7acfd6cfbfe8f77863
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
    M llvm/test/Analysis/MemoryDependenceAnalysis/reorder-volatile.ll

  Log Message:
  -----------
  [MemoryDependency] Relax the re-ordering with volatile store.

Volatile store does not provide any special rules for reordering with
atomics. Usual must alias anaylsis is enough here.

This makes the bahavior similar to how volatile load is handled.

Reviewers: reames, nikic
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D119818




More information about the All-commits mailing list