[all-commits] [llvm/llvm-project] 380b8a: [DFAJumpThreading] Use SmallPtrSet for Visited (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Aug 2 12:30:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 380b8a603c6e8997819726b15a76b8f6c94aa21a
      https://github.com/llvm/llvm-project/commit/380b8a603c6e8997819726b15a76b8f6c94aa21a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

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

  Log Message:
  -----------
  [DFAJumpThreading] Use SmallPtrSet for Visited (NFC)

This set is only used for contains checks, so there is no need to
use std::set.




More information about the All-commits mailing list