[PATCH] D114361: [MachineCSE] Add an option to enable global CSE
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 22 04:17:42 PST 2021
lebedev.ri added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineCSE.cpp:914-916
+ // Enable global CSE when optimizing for size.
+ if (F.hasOptSize())
+ EnableGlobalCSE = true;
----------------
You can not modify global variables like that
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