[all-commits] [llvm/llvm-project] 974dbb: [IR] Call DenseMap::erase directly (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Jun 12 10:47:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 974dbb20bd67d23ae933f1165273c1e6c990e697
      https://github.com/llvm/llvm-project/commit/974dbb20bd67d23ae933f1165273c1e6c990e697
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-06-12 (Sun, 12 Jun 2022)

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

  Log Message:
  -----------
  [IR] Call DenseMap::erase directly (NFC)

We can erase an item in DenseMap without checking its membership first.




More information about the All-commits mailing list