[PATCH] D57178: [GISel]: Change how CSE is enabled by default for each pass
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 24 13:30:29 PST 2019
arsenm added inline comments.
================
Comment at: lib/CodeGen/GlobalISel/IRTranslator.cpp:1712-1716
+ bool EnableCSE;
+ if (EnableCSEInIRTranslator.getNumOccurrences())
+ EnableCSE = EnableCSEInIRTranslator;
+ else
+ EnableCSE = TPC->isGISelCSEEnabled();
----------------
Ternary operator?
================
Comment at: lib/CodeGen/GlobalISel/Legalizer.cpp:164-168
+ bool EnableCSE;
+ if (EnableCSEInLegalizer.getNumOccurrences())
+ EnableCSE = EnableCSEInLegalizer;
+ else
+ EnableCSE = TPC.isGISelCSEEnabled();
----------------
Ditto
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57178/new/
https://reviews.llvm.org/D57178
More information about the llvm-commits
mailing list