[PATCH] D136998: Try to implement lambdas with inalloca parameters by inlining the call operator function.
Nuno Lopes via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 29 01:29:25 PDT 2022
nlopes added inline comments.
================
Comment at: clang/lib/CodeGen/CGClass.cpp:3080
+ if (I.getName().equals("this")) {
+ VMap[&I] = llvm::UndefValue::get(I.getType());
+ }
----------------
Please use PoisonValue instead whenever possible, as we are trying to remove undef from LLVM.
Thank you!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136998/new/
https://reviews.llvm.org/D136998
More information about the cfe-commits
mailing list