[RISCV] Use PatFrags for variable shift patterns
authorAlex Bradbury <asb@lowrisc.org>
Thu, 25 Oct 2018 12:45:20 +0000 (12:45 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Thu, 25 Oct 2018 12:45:20 +0000 (12:45 +0000)
commit74d4931da2fc5446d37c0335ca4349d10dbc62c7
treedf88611120cecb6ce36eddcee0daa2fa630855b5
parent0573b8d8b689c9ac89a4f83d029cff36307fe7f3
[RISCV] Use PatFrags for variable shift patterns

This follows SystemZ and I think is cleaner vs the multiclass.

llvm-svn: 345262
llvm/lib/Target/RISCV/RISCVInstrInfo.td