[PATCH] D19268: [DAGCombiner] Do not remove the load of stored values when optimizations are disabled
Etienne Bergeron via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 29 12:53:57 PDT 2016
etienneb added a subscriber: etienneb.
etienneb added a comment.
Tom, who is the right reviewer for this?
================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:10002
@@ -10002,1 +10001,3 @@
+ if (OptLevel != CodeGenOpt::None &&
+ ISD::isNormalLoad(N) && !LD->isVolatile()) {
if (ISD::isNON_TRUNCStore(Chain.getNode())) {
----------------
nit: please indent this correctly.
Repository:
rL LLVM
http://reviews.llvm.org/D19268
More information about the llvm-commits
mailing list