[all-commits] [llvm/llvm-project] 9f4ba8: [llvm][metadata][NFC] Minimize local variable scop...

Paul Kirth via All-commits all-commits at lists.llvm.org
Thu Nov 9 09:00:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f4ba8d04e4612285042fe56642add8632daded4
      https://github.com/llvm/llvm-project/commit/9f4ba8d04e4612285042fe56642add8632daded4
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M llvm/lib/IR/Metadata.cpp

  Log Message:
  -----------
  [llvm][metadata][NFC] Minimize local variable scopes (#68438)

Don't eagerly construct the MDBuilder until it is used, and reduce the
scope of local variables.




More information about the All-commits mailing list