[llvm] Add `visitGEPOfAlloc` to restore the `visitGEPOfBitcast` part of the behavior of non-opaque pointers. (PR #65764)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 8 10:09:52 PDT 2023
https://github.com/nikic requested changes to this pull request.
We definitely shouldn't do this. From the issue, it's not clear where the problem actually is (given lack of reproducer), but I expect that this needs to be solved by teaching some transform to use offset-based reasoning for GEPs (or alternatively, by canonicalizing to i8 GEPs).
https://github.com/llvm/llvm-project/pull/65764
More information about the llvm-commits
mailing list