[PATCH] D85555: [InstCombine] Remove dbg.values describing contents of dead allocas

Orlando Cazalet-Hyams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 08:31:37 PDT 2020


Orlando added a comment.

FWIW, ignoring the test style discussion, the change LGTM.
AFAICT, prior to D80264 <https://reviews.llvm.org/D80264> these dbg.value+derefs would've been silently dropped instead of made undef, so we're really just returning to previous behaviour with this patch. I've got a patch brewing which applies this fix to mem2reg which I'll upload shortly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85555



More information about the llvm-commits mailing list