[PATCH] D61879: WIP: Prototype of DSE optimizations for -ftrivial-auto-var-init
Alexander Potapenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 3 03:12:00 PDT 2019
glider added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/DeadStoreEliminationExpGlobal.cpp:20
+
+static const GlobalValue::GUID GUIDS_LOOKUP[] = {
+// grep -P -o "(?<=LOOKUP_FN: ).*" <logfile> | sort -u >
----------------
error: zero-size array ‘llvm::GUIDS_LOOKUP’
Can you please provide an example of DeadStoreEliminationExpGlobalGUIDListGen.h? The instruction seems insufficient.
================
Comment at: llvm/lib/Transforms/Scalar/DeadStoreEliminationExpGlobal.cpp:27
+static const char GlobalArgumentMemAccess[] = {
+// grep -P -o "(?<=FUNCTION_INFO: ).*" <logfile> | sort -u >
+// ../llvm-project/llvm/lib/Transforms/Scalar/DeadStoreEliminationExpData.h
----------------
Ditto.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61879/new/
https://reviews.llvm.org/D61879
More information about the cfe-commits
mailing list