[PATCH] D39595: [DAGCombine] Refactor ReduceLoadWidth

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 02:51:34 PST 2017


RKSimon added a comment.

Very minor comment



================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:8031
+    EVT LoadedVT;
+    auto NarrowLoad = false;
+    ExtType = ISD::ZEXTLOAD;
----------------
use bool here - we typically only use auto for casts


https://reviews.llvm.org/D39595





More information about the llvm-commits mailing list