[all-commits] [llvm/llvm-project] 2b077e: [MC] Avoid useless triple copy (#103026)

Alexis Engelke via All-commits all-commits at lists.llvm.org
Tue Aug 13 03:15:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b077ede083b4185f51a2fe648a27e4c85352a2f
      https://github.com/llvm/llvm-project/commit/2b077ede083b4185f51a2fe648a27e4c85352a2f
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/lib/MC/MCObjectFileInfo.cpp

  Log Message:
  -----------
  [MC] Avoid useless triple copy (#103026)

Copying a triple is cheap, but not free, so let's not do that if there's
no reason to do so. Trivial cleanup.



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