Add implementations for generic function of emitWcsLen on the similar lines to the existing helper functions of different types.
Diff Detail
Diff Detail
Event Timeline
llvm/include/llvm/IR/IRBuilder.h | ||
---|---|---|
565 ↗ | (On Diff #337493) | These two don't carry their weight. |
llvm/include/llvm/IR/IRBuilder.h | ||
---|---|---|
565 ↗ | (On Diff #337493) | Is there another substitute type for the PointerType if this is going to be removed? |
llvm/include/llvm/IR/IRBuilder.h | ||
---|---|---|
565 ↗ | (On Diff #337493) | I meant, the pointers will loose their pointee type. |
llvm/include/llvm/Transforms/Utils/BuildLibCalls.h | ||
---|---|---|
53 |
can we assert that? |
Comment Actions
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.
can we assert that?