[all-commits] [llvm/llvm-project] bac979: [CaptureTracking] Avoid duplicate shouldExplode() ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Nov 7 01:17:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bac97993ca9351b71efbaac07632ef62e0fdb02a
      https://github.com/llvm/llvm-project/commit/bac97993ca9351b71efbaac07632ef62e0fdb02a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-11-07 (Sat, 07 Nov 2020)

  Changed paths:
    M llvm/lib/Analysis/CaptureTracking.cpp

  Log Message:
  -----------
  [CaptureTracking] Avoid duplicate shouldExplode() check (NFCI)

We check shouldExplore() before adding uses to the worklist, so
uses that should not be explored will not reach captured() in the
first place.




More information about the All-commits mailing list