[PATCH] D20172: [AArch64] Disable narrow load merge by default

Jun Bum Lim via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 08:43:17 PDT 2016


junbuml added a comment.

> Have you considered deciding this as a MachineCombiner pattern? This would be a good place to know if the loop is arithmetic or load/store heavy.


I think MachineCombiner is also good place to perform this optimization with minor changes in the profitability check. As of now, however,  I don't have any case impacted by this optimization. So, I will deprioritize doing it until I can find the cases.


http://reviews.llvm.org/D20172





More information about the llvm-commits mailing list