[PATCH] D91417: [IRGen] Add !annotation metadata for auto-init stores.
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 13:57:19 PST 2020
jdoerfert 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);
}
----------------
Nit: `/* AutoInit */` also other places
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91417/new/
https://reviews.llvm.org/D91417
More information about the llvm-commits
mailing list