Files
clang-p2996/mlir/test/Dialect/ArmSVE
Benjamin Maxwell 7811330373 [mlir][ArmSVE] Add arm_sve.psel operation (#95764)
This adds a new operation for the SME/SVE2.1 psel instruction. This
allows selecting a predicate based on a bit within another predicate,
essentially allowing for 2-D predication. Informally, the semantics are:

```mlir
%pd = arm_sve.psel %p1, %p2[%index] : vector<[4]xi1>, vector<[8]xi1>
```

=>

```
if p2[index % num_elements(p2)] == 1:
  pd = p1 : type(p1)
else:
  pd = all-false : type(p1)
```
2024-06-19 13:33:23 +01:00
..