From f62ef9d8586fbeb6ffe521a8d6d6d4436b7291dc Mon Sep 17 00:00:00 2001 From: Mirko Brkusanin Date: Wed, 8 Nov 2023 13:30:15 +0100 Subject: [PATCH] Update llpc to handle new version of llvm Handle upstream llvm changes for https://github.com/llvm/llvm-project/commit/7b9d73c2f90c0ed8497339a16fc39785349d9610 [NFC] Remove Type::getInt8PtrTy (#71029) --- shared/continuations/lib/LowerAwait.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/continuations/lib/LowerAwait.cpp b/shared/continuations/lib/LowerAwait.cpp index 57f5e01427..48105aa129 100644 --- a/shared/continuations/lib/LowerAwait.cpp +++ b/shared/continuations/lib/LowerAwait.cpp @@ -171,7 +171,7 @@ static void processContinuations( // co.flag = llvm.coro.suspend.retcon // unreachable auto &Context = M.getContext(); - auto *I8Ptr = Type::getInt8PtrTy(Context); + auto *I8Ptr = PointerType::getUnqual(Context); auto *I32 = Type::getInt32Ty(Context); auto *I64 = Type::getInt64Ty(Context);