The SCEV-based salvaging method caches dbg.value information pre-LSR so that salvaging may be attempted on those dbg.value if necessary post-LSR. If the dbg.value are already undef pre-LSR then a salvage attempt would be fruitless, so avoid caching them.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Sensible; unfortunately, it probably needs a test - including an extra undef dbg.value in the test on the previous patch will probably do.
Comment Actions
Update patch to apply on top of https://github.com/llvm/llvm-project/commit/914066fe38a93c004b742a696ec337701eb738ec