[PATCH] D114361: [MachineCSE] Add an option to enable global CSE
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 22 05:09:08 PST 2021
jrtc27 added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineCSE.cpp:55
+static cl::opt<bool>
+ EnableGlobalCSE("enable-global-cse", cl::Hidden, cl::init(false),
+ cl::desc("Enable CSE on the whole function."));
----------------
Putting this behaviour behind a cl::opt is a great way to ensure it's never used...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114361/new/
https://reviews.llvm.org/D114361
More information about the llvm-commits
mailing list