tra added a comment. In D118084#3272154 <https://reviews.llvm.org/D118084#3272154>, @lebedev.ri wrote:
> My last idea was about allowing splitting > > struct { > int a; > int b[2]; > } a; > > into > > // not in a struct anymore! > int a; > int b[2] This looks like it's a somewhat different problem. In my case this is what bites me: https://godbolt.org/z/x9bWjePGY It's a variant of this issue: https://github.com/llvm/llvm-project/issues/51734 I have a WIP patch that converts a GEP with a dynamic index with a known range of values into a series of comparisons and fixed-index GEPs. I guess I'll need to get it sorted out first. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D118084/new/ https://reviews.llvm.org/D118084 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits