[RISCV] Verify that policy operands only exist on instructions with tied passthru...
authorPhilip Reames <preames@rivosinc.com>
Thu, 6 Oct 2022 22:11:34 +0000 (15:11 -0700)
committerPhilip Reames <listmail@philipreames.com>
Thu, 6 Oct 2022 22:18:43 +0000 (15:18 -0700)
commit027516553da4d380a9a7ea673342dba61318cc47
treea7a8b54a30bf118e3cb8d5d9bebedd01772c821f
parent76ac3b89173e93a04bdd99522792fdc6634629cf
[RISCV] Verify that policy operands only exist on instructions with tied passthru operands

This is a non-trivial property relied upon by D135396. I wrote this to convince myself it was true.

Differential Revision: https://reviews.llvm.org/D135403
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp