[PATCH] D77597: [SveEmitter] Add ExpandOp1SVALL and builtin for svptrue

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 15 15:27:52 PDT 2020


efriedma added inline comments.


================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:7683
+    if (TypeFlags.isExpandOp1SVALL()) {
+      if (Ops.size() <= 1)
+        Ops.push_back(Builder.getInt32(31));
----------------
The `Ops.size() <= 1` seems to return the same result for all the intrinsics you're implementing now. Does it become relevant later?


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

https://reviews.llvm.org/D77597





More information about the cfe-commits mailing list