[all-commits] [llvm/llvm-project] bfd2dd: [GVN] Refactor handling of pointer-select in GVN pass

Sergey Kachkov via All-commits all-commits at lists.llvm.org
Tue Jan 17 00:34:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfd2dd49ffc64e0893fa30e7eefd337567372eea
      https://github.com/llvm/llvm-project/commit/bfd2dd49ffc64e0893fa30e7eefd337567372eea
  Author: Sergey Kachkov <sergey.kachkov at syntacore.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
    M llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/test/Transforms/GVN/PRE/pre-load-through-select.ll
    M llvm/test/Transforms/GVN/PRE/pre-loop-load-through-select.ll

  Log Message:
  -----------
  [GVN] Refactor handling of pointer-select in GVN pass

This patch extends Def memory dependency with support of select
instructions to consistently handle pointer-select conversion.

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




More information about the All-commits mailing list