[PATCH] D47099: Disable casting of alloca for ActiveFlag

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 21 14:16:38 PDT 2018


rjmccall added inline comments.


================
Comment at: lib/CodeGen/CGExpr.cpp:80
   auto Alloca = CreateTempAlloca(Ty, Name, ArraySize);
   Alloca->setAlignment(Align.getQuantity());
   if (AllocaAddr)
----------------
Could you change this to call CreateTempAllocaWithoutCast?


https://reviews.llvm.org/D47099





More information about the cfe-commits mailing list