hiraditya added inline comments.
Comment at: libcxx/include/algorithm:1499
+// Load the first element from __first2 outside the loop because it is
loop invariant
+typename iterator_traits<_RandomAccessIterator1>::value_type
__firstElement2 = *__first2;
+
---
This revision was automatically updated to reflect the committed changes.
Closed by commit rL288143: [libcxx] remove unused code (authored by hiraditya).
Changed prior to commit:
https://reviews.llvm.org/D26991?vs=79565&id=79566#toc
Repository:
rL LLVM
https://reviews.llvm.org/D26991
Files:
hiraditya retitled this revision from "Hoist redundant load" to "Remove unused
code".
hiraditya updated this revision to Diff 79565.
https://reviews.llvm.org/D26991
Files:
include/algorithm
Index: include/algorithm
===
--- includ