Make processInstruction from LCSSA.cpp externally available.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Fri, 15 Jul 2016 21:08:41 +0000 (21:08 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Fri, 15 Jul 2016 21:08:41 +0000 (21:08 +0000)
commita78937afb2a884d093c5e69b055f73035b3a326e
tree0a224df294d806bc40e1a399b4e179c416e85af6
parent3cbf3f1f597e7ba95a2c8161d8b14a9b8a4e904b
Make processInstruction from LCSSA.cpp externally available.

Summary:
When a pass tries to keep LCSSA form it's often convenient to be able to update
LCSSA for a set of instructions rather than for the entire loop. This patch makes the
processInstruction from LCSSA externally available under a name
formLCSSAForInstruction.

Reviewers: chandlerc, sanjoy, hfinkel

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D22378

llvm-svn: 275613
llvm/include/llvm/Transforms/Utils/LoopUtils.h
llvm/lib/Transforms/Utils/LCSSA.cpp