[all-commits] [llvm/llvm-project] 6e78fd: [GVN][VNCoercion] Remove load widening leftovers (...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Apr 12 07:33:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e78fd58cd06e84a4358ef189543e080d2b913aa
      https://github.com/llvm/llvm-project/commit/6e78fd58cd06e84a4358ef189543e080d2b913aa
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-04-12 (Wed, 12 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/lib/Transforms/Utils/VNCoercion.cpp

  Log Message:
  -----------
  [GVN][VNCoercion] Remove load widening leftovers (NFCI)

GVN load widening was disabled in D24096. This removes various
support code that is no longer relevant.

The way this works nowadays is that we return PartialAlias with
an offset from BasicAA and this gets passed on as a clobber by
MDA. However, PartialAlias will only be returned if the load is
properly nested inside the other load.

This just removes the bulk of the code, but some additional
cleanup can be done here now that we don't need to distinguish
between load and store cases.




More information about the All-commits mailing list