[all-commits] [llvm/llvm-project] c17af9: [ConstraintElim] Use SmallDenseMap (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jan 3 08:04:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c17af94b9619997ce7c060ff112988e0ec218c10
      https://github.com/llvm/llvm-project/commit/c17af94b9619997ce7c060ff112988e0ec218c10
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-01-03 (Wed, 03 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp

  Log Message:
  -----------
  [ConstraintElim] Use SmallDenseMap (NFC)

The number of variables in the constraint is usually very small.
Use SmallDenseMap to avoid allocations.




More information about the All-commits mailing list