[all-commits] [llvm/llvm-project] ed1aab: remove expensive copy of options passed (#82577)

mahesh-attarde via All-commits all-commits at lists.llvm.org
Mon Feb 26 22:39:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed1aabef1da1b074b71ad523978ea836d6e7d2e7
      https://github.com/llvm/llvm-project/commit/ed1aabef1da1b074b71ad523978ea836d6e7d2e7
  Author: mahesh-attarde <145317060+mahesh-attarde at users.noreply.github.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp

  Log Message:
  -----------
  remove expensive copy of options passed (#82577)

Codegen option is passed copy by value which 138 bytes of copy and used
as read-only. Making pass by const reference.



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