OSDN Git Service

[ValueLattice] Simplify canTrackGlobalVariableInterprocedurally (NFC).
authorFlorian Hahn <flo@fhahn.com>
Thu, 9 Jul 2020 17:31:23 +0000 (18:31 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 9 Jul 2020 17:33:09 +0000 (18:33 +0100)
commit0b72b9d07fcdf888a7020f16f8e497f1e83d2d90
tree49a4b20b2aa476093e97cbcf51155d2cc4b9e9a6
parentfccd29dddee92ffa7cd8a9adec6e626760538dae
[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.
llvm/lib/Analysis/ValueLatticeUtils.cpp