[llvm] TargetLibraryInfo: Use pointer index size to determine getSizeTSize(). (PR #118747)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 00:57:21 PST 2024


https://github.com/nikic commented:

This LGTM conceptually, but I think you do need to also switch calls in SLC to use getSizeTSize in places that currently use getIntPtrType. These values previously happened to be the same, but they won't be now (if the pointer and index size differ) and that will lead to assertion failures.

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


More information about the llvm-commits mailing list