diff options
author | Philip Reames <listmail@philipreames.com> | 2019-05-17 02:09:03 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2019-05-17 02:09:03 +0000 |
commit | 45e76907966bc8a4cce2df48e7b2d94d8c4df4a9 (patch) | |
tree | c550dce8356165c01548ebb914a341b38bf452d2 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | bbf154cf9cf46ac0003ab44fbf7268b1415e35ad (diff) | |
download | llvm-45e76907966bc8a4cce2df48e7b2d94d8c4df4a9.zip llvm-45e76907966bc8a4cce2df48e7b2d94d8c4df4a9.tar.gz llvm-45e76907966bc8a4cce2df48e7b2d94d8c4df4a9.tar.bz2 |
[IndVars] Don't reimplement Loop::isLoopInvariant [NFC]
Using dominance vs a set membership check is indistinguishable from a compile time perspective, and the two queries return equivelent results. Simplify code by using the existing function.
llvm-svn: 360976
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions