[PATCH] D27792: IfConversion: Use reverse_iterator to simplify. NFC

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 20 06:07:36 PST 2016


fhahn added inline comments.


================
Comment at: lib/CodeGen/IfConversion.cpp:682
+  TIE = ++RTIE.getReverse();
+  FIE = ++RFIE.getReverse();
   return true;
----------------
If you are going to use std::next at line 648-651, it would be good to use it here as well to keep it consistent. I would prefer to use std::next personally.


https://reviews.llvm.org/D27792





More information about the llvm-commits mailing list