[PATCH] D91417: [IRGen] Add !annotation metadata for auto-init stores.
Florian Hahn via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 16 02:39:50 PST 2020
fhahn added inline comments.
================
Comment at: clang/lib/CodeGen/CGDecl.cpp:1267
assert(!isa<llvm::UndefValue>(constant));
- emitStoresForConstant(CGM, D, Loc, isVolatile, Builder, constant);
+ emitStoresForConstant(CGM, D, Loc, isVolatile, Builder, constant, true);
}
----------------
jdoerfert wrote:
> Nit: `/* AutoInit */` also other places
Thanks, I added a comment to all places where constants are passed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91417/new/
https://reviews.llvm.org/D91417
More information about the cfe-commits
mailing list