[RISCV] Use OperandTransform field of ImmLeaf to slightly simplify a couple bitmanip...
authorCraig Topper <craig.topper@sifive.com>
Thu, 11 Feb 2021 01:34:05 +0000 (17:34 -0800)
committerCraig Topper <craig.topper@sifive.com>
Thu, 11 Feb 2021 01:52:07 +0000 (17:52 -0800)
commit350ab4e617ba99a78ea5397a51333091559fada4
tree0e874919598e4a828f130069d4e138e6e981f2c2
parentb1aaed023e98ee9989532c8d3914c3bec7bbf964
[RISCV] Use OperandTransform field of ImmLeaf to slightly simplify a couple bitmanip patterns. NFC

This binds the SDNodeXForm to the ImmLeaf so we only need to mention
the ImmLeaf in both the input and output pattern.
llvm/lib/Target/RISCV/RISCVInstrInfoB.td