[llvm] [RISCV][GISEL] Legalization, register bank selection, and instruction selection for scalable G_SELECT (PR #85540)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 16 10:23:40 PDT 2024


tschuett wrote:

G_SELECT is defined as:
```
// Generic select
def G_SELECT : GenericInstruction {
  let OutOperandList = (outs type0:$dst);
  let InOperandList = (ins type1:$tst, type0:$src1, type0:$src2);
  let hasSideEffects = false;
}
```
It picks one of the two inputs. It is up to you to specify the relation between $type1 and $type0.

https://github.com/llvm/llvm-project/pull/85540


More information about the llvm-commits mailing list