================ @@ -950,6 +950,11 @@ argument is always boolean mask vector. The ``__builtin_masked_load`` builtin takes an optional third vector argument that will be used for the result of the masked-off lanes. These builtins assume the memory is always aligned. +The ``__builtin_masked_expand_load`` and ``__builtin_masked_compress_store`` +builtins have the same interface but store the result in consecutive indices. +Effectively this performs the ``if (cond.i) v.i = a[j++]`` and ``if (cond.i) ---------------- erichkeane wrote:
could you elaborate what `i`, `v`, and `j` mean here? Just give them more descriptive names would be helpful. https://github.com/llvm/llvm-project/pull/156042 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits