[llvm] [CodeGenPrepare] Unmerging GEPs across indirect branches must respect types (PR #68587)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 07:42:37 PDT 2023


https://github.com/nikic commented:

High level comment: Would bailing out of the transform is the source element types don't match be "good enough"?

I'd prefer not to add the extra logic if we don't particularly care about making it work with mismatching GEP types. (Longer term this will be automatically fixed by migration to ptradd.)

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


More information about the llvm-commits mailing list