https://github.com/arsenm commented:
I didn't follow the whole story here. Introducing the flag for the pass pipeline seems OK, though I feel like this is avoiding solving problems in other places. I would expect SROA to avoid introducing store of undefined values, but I would also expect the rest of the pass pipeline to deal with partially undefined stores. (side point, I went to look at memcpyopt to see if the problem was obvious and noticed https://github.com/llvm/llvm-project/issues/197683) https://github.com/llvm/llvm-project/pull/165159 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
