Skip to content

Commit bce2539

Browse files
committed
C++: Fix __builtin_shuffle qldoc
1 parent afdd21e commit bce2539

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/ql/lib/semmle/code/cpp/exprs/BuiltInOperations.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,8 @@ class BuiltInOperationBuiltInShuffleVector extends BuiltInOperation, @builtinshu
502502
* for more information.
503503
* ```
504504
* // Concatenate every other element of 4-element vectors V1 and V2.
505-
* V3 = __builtin_shufflevector(V1, V2, {0, 2, 4, 6});
505+
* M = {0, 2, 4, 6};
506+
* V3 = __builtin_shuffle(V1, V2, M);
506507
* ```
507508
*/
508509
class BuiltInOperationBuiltInShuffle extends BuiltInOperation, @builtinshuffle {

0 commit comments

Comments
 (0)