[all-commits] [llvm/llvm-project] 8555e5: [NFC][MemDep] Remove unnecessary Worklist.clear

Max Kazantsev via All-commits all-commits at lists.llvm.org
Thu Jun 2 22:32:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8555e59a7172a7597f5eeecdc620f293297e2294
      https://github.com/llvm/llvm-project/commit/8555e59a7172a7597f5eeecdc620f293297e2294
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2022-06-03 (Fri, 03 Jun 2022)

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

  Log Message:
  -----------
  [NFC][MemDep] Remove unnecessary Worklist.clear

This execution path leads to return 'false' where the Worklist
will be deallocated anyways. No need to clear it separately.




More information about the All-commits mailing list