[all-commits] [llvm/llvm-project] 6676f7: [IR] Use single map in PredIteratorCache (NFC) (#1...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Aug 5 04:01:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6676f794dcdab9ad78d59e044dfdc355dc0916a2
      https://github.com/llvm/llvm-project/commit/6676f794dcdab9ad78d59e044dfdc355dc0916a2
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
    M llvm/include/llvm/IR/PredIteratorCache.h

  Log Message:
  -----------
  [IR] Use single map in PredIteratorCache (NFC) (#101950)

Use a single map storing ArrayRef instead of two separate maps for the
base pointer and size. This saves one map lookup per cache accesses.

This is an alternative to
https://github.com/llvm/llvm-project/pull/101885 with a similar
compile-time improvement.



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