[all-commits] [llvm/llvm-project] c82403: [gvn] PRE needs to skip convergent intrinsics/calls.

darkbuck via All-commits all-commits at lists.llvm.org
Fri Oct 30 08:25:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c82403d025f34d24197d634e1e166cb7b5c480ca
      https://github.com/llvm/llvm-project/commit/c82403d025f34d24197d634e1e166cb7b5c480ca
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2020-10-30 (Fri, 30 Oct 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp
    A llvm/test/Transforms/GVN/pre-skip-convergent.ll

  Log Message:
  -----------
  [gvn] PRE needs to skip convergent intrinsics/calls.

- As convergent intrinsics/calls could only be moved to
  control-equivalent blocks, or more precisely the same divergent
  branch, PRE needs to skip them.

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




More information about the All-commits mailing list