You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The end result is that the function isn't recognized as a libcall as there's a mismatch.
I believe the code shouldn't be using the index type for the last argument.
The text was updated successfully, but these errors were encountered:
TargetLibraryInfo computes the size of size_t as unsigned SizeTBits = M.getDataLayout().getPointerSizeInBits(/*AddrSpace=*/0);.
We should be consistent... but it's not obvious to me what's actually likely to be correct. We don't actually have any in-tree targets where the index size is smaller than the pointer size.
Take, e.g.,
Transforms/LoopIdiom/unroll-custom-dl.ll
. It creates this call:TargetLibraryInfo.def has this:
The end result is that the function isn't recognized as a libcall as there's a mismatch.
I believe the code shouldn't be using the index type for the last argument.
The text was updated successfully, but these errors were encountered: