njames93 added inline comments.

================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:10811-10813
+    Ops.reserve(Ops.size() + 1);
     Ops.push_back(Ops[0]);
     Ops.erase(Ops.begin());
----------------
Probably a little off topic, but shouldn't this be refactored as a rotate. Has 
the advantage that it will never allocate.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84293/new/

https://reviews.llvm.org/D84293

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to