[all-commits] [llvm/llvm-project] 5a6e52: [mlir] Nits on uses of llvm::raw_string_ostream (NFC)

Youngsuk Kim via All-commits all-commits at lists.llvm.org
Sun Sep 15 18:58:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a6e52d6ef96d2bcab6dc50bdb369662ff17d2a0
      https://github.com/llvm/llvm-project/commit/5a6e52d6ef96d2bcab6dc50bdb369662ff17d2a0
  Author: JOE1994 <joseph942010 at gmail.com>
  Date:   2024-09-15 (Sun, 15 Sep 2024)

  Changed paths:
    M mlir/lib/AsmParser/Parser.cpp
    M mlir/lib/Bindings/Python/IRAttributes.cpp
    M mlir/lib/TableGen/CodeGenHelpers.cpp
    M mlir/lib/TableGen/Predicate.cpp
    M mlir/lib/Target/LLVM/ModuleToObject.cpp
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMPCommon.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
    M mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
    M mlir/lib/Tools/PDLL/Parser/Parser.cpp
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    M mlir/lib/Transforms/ViewOpGraph.cpp

  Log Message:
  -----------
  [mlir] Nits on uses of llvm::raw_string_ostream (NFC)

* Strip calls to raw_string_ostream::flush(), which is essentially a no-op
* Strip unneeded calls to raw_string_ostream::str(), to avoid excess indirection.



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