[PATCH] D129636: Fix a LSR debug invariance issue

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 09:21:46 PDT 2022


fhahn added a comment.

I think I am missing some context here, but this looks a bit suspicious. I am not sure if exposing and checking whether a SCEV exists is the right way to go.

IIUC the main issue seems to be that we try to create SCEVs for all dbg intrinsics? Would it be possible to instead only get SCEV expressions for values we really need (that/s the induction variable I assume, for which there already should be SCEV expression)?


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

https://reviews.llvm.org/D129636



More information about the llvm-commits mailing list