[PATCH] D16874: [NVPTX] Disable performance optimizations when OptLevel==None
Eli Bendersky via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 3 18:27:28 PST 2016
eliben accepted this revision.
This revision is now accepted and ready to land.
================
Comment at: lib/Target/NVPTX/NVPTXTargetMachine.cpp:146
@@ -145,3 +145,3 @@
private:
- // if the opt level is aggressive, add GVN; otherwise, add EarlyCSE.
+ // If the opt level is aggressive, add GVN; otherwise, add EarlyCSE.
void addEarlyCSEOrGVNPass();
----------------
Is EarlyCSE required for correctness? Might worth pointing out why it stays in non-opt mode
http://reviews.llvm.org/D16874
More information about the llvm-commits
mailing list