[all-commits] [llvm/llvm-project] 345861: [MC] Optimize loops in MC (#98114)

Dmitriy Chestnykh via All-commits all-commits at lists.llvm.org
Fri Jul 12 00:49:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 345861b186645f82c0b812427fdafe6ebd62a058
      https://github.com/llvm/llvm-project/commit/345861b186645f82c0b812427fdafe6ebd62a058
  Author: Dmitriy Chestnykh <dm.chestnykh at gmail.com>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCParser/MasmParser.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp

  Log Message:
  -----------
  [MC] Optimize loops in MC (#98114)

https://llvm.org/docs/CodingStandards.html tells us that we should avoid
evaluating `.end()` each time if possible.



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