[all-commits] [llvm/llvm-project] c16fd6: Rename doesNotReadMemory to onlyWritesMemory globa...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Jan 5 08:53:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c16fd6a3762cce432319c1f0ea7aeff6666d9c26
      https://github.com/llvm/llvm-project/commit/c16fd6a3762cce432319c1f0ea7aeff6666d9c26
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2022-01-05 (Wed, 05 Jan 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/AliasAnalysis.h
    M llvm/include/llvm/IR/Function.h
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/lib/Analysis/AliasAnalysis.cpp
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/lib/IR/Instruction.cpp
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    M llvm/lib/Transforms/Scalar/LoopInterchange.cpp
    M llvm/lib/Transforms/Utils/BuildLibCalls.cpp

  Log Message:
  -----------
  Rename doesNotReadMemory to onlyWritesMemory globally [NFC]

The naming has come up as a source of confusion in several recent reviews.  onlyWritesMemory is consist with onlyReadsMemory which we use for the corresponding readonly case as well.




More information about the All-commits mailing list