[PATCH] D26524: [AArch64] Sink sext when foldable in user GEPs
Jun Bum Lim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 2 11:49:47 PST 2016
junbuml added a comment.
Before we perform this transformation in CGP, I think we need to move this pass into CGP first. So, my plan is to extend moveExtToFormExtLoad() to cover the transformation done in this pass. Instead of just looking for a mergeable load in extLdPromotion() , I will look up heads of chains like analyzeSExtension() in aarch64-type-promotion using existing code (TypePromotionTransaction and TypePromotionHelper) and then promote SExts which derived from the same header. The new extension in CGP will be enabled in AArch64 at first. Please let me know if there is any suggestion or concern regarding the migration of this pass into CGP.
https://reviews.llvm.org/D26524
More information about the llvm-commits
mailing list