[RISCV] Change riscv_vid_vl isel pattern to use _MASK instruction.
authorCraig Topper <craig.topper@sifive.com>
Wed, 7 Jun 2023 19:48:43 +0000 (12:48 -0700)
committerCraig Topper <craig.topper@sifive.com>
Wed, 7 Jun 2023 19:50:26 +0000 (12:50 -0700)
commitb03e6e65e7430e032fca58f0982d1918a0ccba08
tree84ab2ed413874233f49e63e87cd87f7da61a29c5
parentc10a7772bd7603cb6b252ef89e2009fa0c60dc94
[RISCV] Change riscv_vid_vl isel pattern to use _MASK instruction.

The post isel peephole can convert it to the unmasked form.

We don't have any way to test the masked version right now because
we always use a true mask.

This makes the isel pattern consistent with many other instructions
that select the mask form.
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td