[CodeGen][SystemZ] Replace PointerType::getUnqual(Type) with opaque version (NFC) (#126280)

Follow-up to #126278
This commit is contained in:
Mats Jun Larsen 2025-02-08 22:22:53 +09:00 committed by GitHub
parent 4e29148cca
commit 54e0c2bbe2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -272,7 +272,7 @@ RValue SystemZABIInfo::EmitVAArg(CodeGenFunction &CGF, Address VAListAddr,
SZCGI.handleExternallyVisibleObjABI(Ty.getTypePtr(), CGT.getCGM(),
/*IsParam*/true);
if (IsIndirect) {
DirectTy = llvm::PointerType::getUnqual(DirectTy);
DirectTy = llvm::PointerType::getUnqual(DirectTy->getContext());
UnpaddedSize = DirectAlign = CharUnits::fromQuantity(8);
} else {
if (AI.getCoerceToType())