[llvm] [SROA] Fix incorrect offsets for structured binding variables (PR #69007)
Felipe de Azevedo Piovezan via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 20:59:33 PDT 2023
felipepiovezan wrote:
> using this new approach, dbg.declares describing variable fragments that contain any non-offset non-fragment opcodes backed by allocas that are split are now dropped.
> If this is not an acceptable trade off, I suggest we simply undef/kill split alloca dbg.declares with offsets
Just to double check something: under the current implementation prior to this patch, ignoring the bug fixed by this patch, we do the right thing in the presence of non-offset non-fragment opcodes?
https://github.com/llvm/llvm-project/pull/69007
More information about the llvm-commits
mailing list