Add implementations for generic function of emitWcsLen on the similar lines to the existing helper functions of different types.
Diff Detail
Event Timeline
llvm/include/llvm/IR/IRBuilder.h | ||
---|---|---|
565 | These two don't carry their weight. |
llvm/include/llvm/IR/IRBuilder.h | ||
---|---|---|
565 | Is there another substitute type for the PointerType if this is going to be removed? |
llvm/include/llvm/IR/IRBuilder.h | ||
---|---|---|
565 | I meant, the pointers will loose their pointee type. |
llvm/include/llvm/Transforms/Utils/BuildLibCalls.h | ||
---|---|---|
53 |
can we assert that? |
I have a patch (D88460) that replaces strlen idiom (for i8s), but shortly after I want to add another patch for generic type (i16/i32/wchar), this will be reqd there.
These two don't carry their weight.
In LLVM IR, pointer types are going away soon.