[all-commits] [llvm/llvm-project] 0b72b9: [ValueLattice] Simplify canTrackGlobalVariableInte...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jul 9 10:33:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b72b9d07fcdf888a7020f16f8e497f1e83d2d90
      https://github.com/llvm/llvm-project/commit/0b72b9d07fcdf888a7020f16f8e497f1e83d2d90
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

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

  Log Message:
  -----------
  [ValueLattice] Simplify canTrackGlobalVariableInterprocedurally (NFC).

using all_of and checking for valid users in the lambda seems more
straight forward. Also adds a comment explaining what we are checking.




More information about the All-commits mailing list