aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorJamie Schmeiser <schmeise@ca.ibm.com>2020-11-18 14:08:42 -0500
committerJamie Schmeiser <schmeise@ca.ibm.com>2020-11-18 14:08:42 -0500
commitd4ba28bddc89a14885218b9eaa4fbf6654c2a5bd (patch)
treeaa29f1ef1793089199eb2b0549a3414d223626c9 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent85ccdcaa502ee2c478f2d0ba2b1e217117b69032 (diff)
downloadllvm-d4ba28bddc89a14885218b9eaa4fbf6654c2a5bd.zip
llvm-d4ba28bddc89a14885218b9eaa4fbf6654c2a5bd.tar.gz
llvm-d4ba28bddc89a14885218b9eaa4fbf6654c2a5bd.tar.bz2
Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug.
Summary: Expand existing loopsink testing to also test loopsinking using new pass manager. Enable memoryssa for loopsink with new pass manager. This combination exposed a bug that was previously fixed for loopsink without memoryssa. When sinking an instruction into a loop, the source block may not be part of the loop but still needs to be checked for pointer invalidation. This is the fix for bugzilla #39695 (PR 54659) expanded to also work with memoryssa. Respond to review comments. Enable Memory SSA in legacy Loop Sink pass under EnableMSSALoopDependency option control. Update tests accordingly. Respond to review comments. Add options controlling whether memoryssa is used for loop sink, defaulting to off. Expand testing based on these options. Respond to review comments. Properly indicated preserved analyses. Author: Jamie Schmeiser <schmeise@ca.ibm.com> Reviewed By: asbirlea (Alina Sbirlea) Differential Revision: https://reviews.llvm.org/D90249
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions