craig.topper added inline comments.

================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:17569
+      // The order of intrinsic operands is (maskedoff, op1, op2, mask, vl).
+      SmallVector<llvm::Value*, 4> ShuffleOps(Ops.size());
+      ShuffleOps[0] = Ops[1];
----------------
I think this whole sequence is equivalent to

```
std::rotate(Ops.begin(), Ops.begin() + 1, Ops.end() - 1);
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93446

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

Reply via email to