[llvm] [IR] Replace of PointerType::getUnqual(Type) with opaque version (NFC) (PR #123909)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 01:50:29 PST 2025
================
@@ -1763,7 +1763,7 @@ void ObjCARCOpt::MoveCalls(Value *Arg, RRInfo &RetainsToMove,
SmallVectorImpl<Instruction *> &DeadInsts,
Module *M) {
Type *ArgTy = Arg->getType();
- Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext()));
+ Type *ParamTy = PointerType::getUnqual(ArgTy->getContext());
----------------
nikic wrote:
Can drop the bitcast below.
https://github.com/llvm/llvm-project/pull/123909
More information about the llvm-commits
mailing list