[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
================
@@ -1481,7 +1481,7 @@ static void handleNoSuspendCoroutine(coro::Shape &Shape) {
IRBuilder<> Builder(AllocInst);
auto *Frame = Builder.CreateAlloca(Shape.FrameTy);
Frame->setAlignment(Shape.FrameAlign);
- auto *VFrame = Builder.CreateBitCast(Frame, Builder.getInt8PtrTy());
+ auto *VFrame = Builder.CreateBitCast(Frame, Builder.getPtrTy());
----------------
nikic wrote:
This one as well.
https://github.com/llvm/llvm-project/pull/73154
More information about the llvm-commits
mailing list