[all-commits] [llvm/llvm-project] 3ce97e: [ReachingDefAnalysis][NFC] Use at instead of looku...

Michael Maitland via All-commits all-commits at lists.llvm.org
Wed Jan 29 08:17:31 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ce97e4aa98ad6a3502528818ff11eee89ef2fae
      https://github.com/llvm/llvm-project/commit/3ce97e4aa98ad6a3502528818ff11eee89ef2fae
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M llvm/lib/CodeGen/ReachingDefAnalysis.cpp

  Log Message:
  -----------
  [ReachingDefAnalysis][NFC] Use at instead of lookup for DenseMap access

`at` has an assert that the key exists. Since we are assuming the key exists,
use `at` instead of `lookup`.



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