[all-commits] [llvm/llvm-project] c86a1e: [GVN] Do not combine convergent calls in GVN/NewGVN

Jay Foad via All-commits all-commits at lists.llvm.org
Fri May 19 13:29:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c86a1e6903e9935b808c1406f480c769279b69fa
      https://github.com/llvm/llvm-project/commit/c86a1e6903e9935b808c1406f480c769279b69fa
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/lib/Transforms/Scalar/NewGVN.cpp
    M llvm/test/Transforms/GVN/convergent.ll
    M llvm/test/Transforms/NewGVN/convergent.ll

  Log Message:
  -----------
  [GVN] Do not combine convergent calls in GVN/NewGVN

Note that this is very conservative since it will not even combine
convergent calls that appear in the same basic block, but EarlyCSE will
handle that case.

Differential Revision: https://reviews.llvm.org/D150974




More information about the All-commits mailing list