[PATCH] D81939: [deadargelim] Attach dbg info to the insert/extractvalue instructions
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 1 09:42:48 PDT 2020
aprantl added inline comments.
================
Comment at: llvm/test/Transforms/DeadArgElim/multdeadretval.ll:12
+; DEBUG: %oldret = extractvalue { i16, i32 } %B, 1, !dbg
+; DEBUG: %oldret = extractvalue { i32, i16 } %B, 0, !dbg
+; DEBUG: %oldret = insertvalue { i16, i32 } undef, i32 %ret, 1, !dbg
----------------
Thanks!
Should we also check that the !dbg attachment is the same as some other instruction? Or are we really fine with just *any* !dbg location?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81939/new/
https://reviews.llvm.org/D81939
More information about the llvm-commits
mailing list