[PATCH] D132275: [clang] Create alloca to pass into static lambda

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 8 22:04:03 PDT 2023


efriedma added a comment.

> The first argument in the call is an undef but the argument type is also marked as noundef, so this is unreachable

It looks like your code was getting miscompiled?  If I'm understanding correctly, without this patch, we assume the lambda body is unreachable, and simply delete all the corresponding code.  (That does save space, but not in a useful way.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132275/new/

https://reviews.llvm.org/D132275



More information about the cfe-commits mailing list