[all-commits] [llvm/llvm-project] e9afdf: [GlobalOpt] Enable evaluation of atomic loads

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Thu Jul 21 14:38:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9afdf838eb9bb0914f58c762b676aa31b9d41d1
      https://github.com/llvm/llvm-project/commit/e9afdf838eb9bb0914f58c762b676aa31b9d41d1
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2022-07-21 (Thu, 21 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/Evaluator.cpp
    M llvm/test/Transforms/GlobalOpt/ctor-list-opt.ll

  Log Message:
  -----------
  [GlobalOpt] Enable evaluation of atomic loads

Relax the check to allow evaluation of atomic loads
(but still skip volatile loads).

Test plan:
1/ ninja check-llvm check-clang
2/ Bootstrapped LLVM/Clang pass tests

Differential revision: https://reviews.llvm.org/D130211




More information about the All-commits mailing list