[all-commits] [llvm/llvm-project] 014f5b: [FunctionAttrs] Replace MemoryAccessKind with FMRB.

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Mar 15 12:36:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 014f5bcf7a8bd5fbc1b2c8bc47472f9ebab1968a
      https://github.com/llvm/llvm-project/commit/014f5bcf7a8bd5fbc1b2c8bc47472f9ebab1968a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionAttrs.h
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp

  Log Message:
  -----------
  [FunctionAttrs] Replace  MemoryAccessKind with FMRB.

Update FunctionAttrs to use FunctionModRefBehavior instead
MemoryAccessKind.

This allows for adding support for inferring argmemonly and others,
see D121415.

Reviewed By: nikic

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




More information about the All-commits mailing list