[llvm] [SROA] Fix incorrect offsets for structured binding variables (PR #69007)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 01:29:01 PDT 2023


OCHyams wrote:

> 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?

Yeah that's right (though it's slightly better than that - we only do the wrong thing when offsets are present. Expressions with fragments without offsets _should_ be split up properly).

https://github.com/llvm/llvm-project/pull/69007


More information about the llvm-commits mailing list