]> granicus.if.org Git - llvm/commit
[Loop Utils] Move utilty addStringMetadataToLoop to LoopUtils.cpp. NFC.
authorSerguei Katkov <serguei.katkov@azul.com>
Fri, 26 Jul 2019 06:10:08 +0000 (06:10 +0000)
committerSerguei Katkov <serguei.katkov@azul.com>
Fri, 26 Jul 2019 06:10:08 +0000 (06:10 +0000)
commit6616cc8d3c045a325cf32ff65ec30c8938f138a7
tree7c9774fae4cabfb2230ab97e4eeffbfe7598e0b1
parent1358034f7adf2c7efb7ef77a771c802a87e6879d
[Loop Utils] Move utilty addStringMetadataToLoop to LoopUtils.cpp. NFC.

Just move the utility function to LoopUtils.cpp to re-use it in loop peeling.

Reviewers: reames, Ashutosh
Reviewed By: reames
Subscribers: hiraditya, asbirlea, llvm-commits
Differential Revision: https://reviews.llvm.org/D65264

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367085 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopVersioningLICM.cpp
lib/Transforms/Utils/LoopUtils.cpp