[all-commits] [llvm/llvm-project] 0cff3e: [NFC][Support] Move ModRef/MemoryEffects printers ...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Wed Aug 21 04:26:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cff3e85db00b5f425cc4ed0d6921445afa891ca
      https://github.com/llvm/llvm-project/commit/0cff3e85db00b5f425cc4ed0d6921445afa891ca
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-08-21 (Wed, 21 Aug 2024)

  Changed paths:
    M llvm/include/llvm/Support/ModRef.h
    M llvm/lib/Analysis/AliasAnalysis.cpp
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/ModRef.cpp

  Log Message:
  -----------
  [NFC][Support] Move ModRef/MemoryEffects printers to their own file (#105367)

- Move raw_ostream << operators for `ModRef` and `MemoryEffects` to a
new ModRef.cpp file under llvm/Support (instead of AliasAnalysis.cpp)

- This enables calling these operators from `Core` files like
Instructions.cpp (for instance for debugging). Currently, they live in
`LLVMAnalysis` which cannot be linked with `Core`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list