[llvm] Forward-declare ICFLoopSafetyInfo (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 23 Jan 2021 18:56:29 +0000 (10:56 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 23 Jan 2021 18:56:30 +0000 (10:56 -0800)
commit2f1ffa94d74d03417b60caa8706f84d42ee66e22
treec434ab17b53c7f651afb981ce1eabcb7b539b4ff
parentd60b74c28a076062259ba8a8b80a9bdd802c7497
[llvm] Forward-declare ICFLoopSafetyInfo (NFC)

LoopUtils.h needs ICFLoopSafetyInfo but relies on a forward
declaration of ICFLoopSafetyInfo in IVDescriptors.h.  This patch adds
a forward declaration right in LoopUtils.h.

While we are at it, this patch removes the one in IVDescriptors.h,
where it is unnecessary.
llvm/include/llvm/Analysis/IVDescriptors.h
llvm/include/llvm/Transforms/Utils/LoopUtils.h