[PATCH] D155688: [PATCH] [llvm] [InstCombine] Canonicalise ADD+GEP

Dave Green via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 22 03:35:11 PST 2023


dmgreen added a comment.

I hadn't realized this came from someone at Arm. The performance results I had were overall roughly flat, with some improvements and regressions. I think there were still some people working through some fixes for some of the knock-on effects but with those nothing large would stick out in what I saw.

I would expect Loop Strength Reduction (maybe with CGP) to be able to optimize the addressing modes back to something that is optimal for the loop if it can. It's not always super reliable though. Might there be something going wrong in that pass?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155688/new/

https://reviews.llvm.org/D155688



More information about the cfe-commits mailing list