[PATCH] D47878: [DAGCombiner] Fix for PR37667

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 7 12:09:10 PDT 2018


RKSimon added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:4005
+      bool HasValue = false;
+      for (unsigned i = 0; i < NodeToMask->getNumValues(); ++i) {
+        MVT VT = SDValue(NodeToMask, i).getSimpleValueType();
----------------
Minor style issue:
```
for (unsigned i = 0, e = NodeToMask->getNumValues(); i < e; ++i) {
```


https://reviews.llvm.org/D47878





More information about the llvm-commits mailing list