[llvm] [IR] Replace uses of IRBuilder::getInt8PtrTy with getPtrTy. NFC (PR #73154)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 22 10:51:13 PST 2023
================
@@ -165,7 +165,7 @@ static Value *callAppendStringN(IRBuilder<> &Builder, Value *Desc, Value *Str,
static Value *appendString(IRBuilder<> &Builder, Value *Desc, Value *Arg,
bool IsLast) {
Arg = Builder.CreateBitCast(
- Arg, Builder.getInt8PtrTy(Arg->getType()->getPointerAddressSpace()));
+ Arg, Builder.getPtrTy(Arg->getType()->getPointerAddressSpace()));
----------------
nikic wrote:
This one as well.
https://github.com/llvm/llvm-project/pull/73154
More information about the llvm-commits
mailing list