[all-commits] [llvm/llvm-project] a5b35d: [AA] Rename FunctionModRefBehavior to MemoryEffect...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Oct 19 01:38:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5b35dee7a945452fd0c0183cad9bcc598a6ecd6
      https://github.com/llvm/llvm-project/commit/a5b35dee7a945452fd0c0183cad9bcc598a6ecd6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-10-19 (Wed, 19 Oct 2022)

  Changed paths:
    M llvm/include/llvm/IR/ModRef.h

  Log Message:
  -----------
  [AA] Rename FunctionModRefBehavior to MemoryEffects (NFC)

As part of https://discourse.llvm.org/t/rfc-unify-memory-effect-attributes/65579,
the FunctionModRefBehavior class sees a good bit of additional use,
and I've found the name to be something of a mouthful. This patch
renames it to MemoryEffects, which has a couple of advantages over
the old name:
 * It is more concise.
 * It decouples it from modelling only functions.
 * It matches the terminology of the aforementioned RFC.
 * The meaning should be more obvious to people not familiar with
   our particular AA lingo.

This patch just updates the class definition. Other uses of the
name will be updated separately.

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




More information about the All-commits mailing list