[llvm] [DA] do not handle GEPs with different types (PR #144088)
Sjoerd Meijer via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 2 06:14:51 PDT 2025
sjoerdmeijer wrote:
@sebpop, @kasuga-fj: I am picking this up now and will continue the work in this direction, because I am interested in a short term bandaid. The reason is that I am expecting the work that communicates array declarations to take a few months.
And even if we do have that type information, I expect we do not look for "are we doing type punning", so expect that the checks would not be too different.
So, I am going to take a look at that other example that @kasuga-fj provided and how we can detect that, and see if I can come up with some more examples of that.
Please let me know if you have thoughts on this.
https://github.com/llvm/llvm-project/pull/144088
More information about the llvm-commits
mailing list