[RISCV][NFC] Use templated getSubtarget in RISCVExpandPseudo::runOnMachineFunction
authorAlex Bradbury <asb@igalia.com>
Thu, 20 Jul 2023 13:05:17 +0000 (14:05 +0100)
committerAlex Bradbury <asb@igalia.com>
Thu, 20 Jul 2023 13:08:41 +0000 (14:08 +0100)
commit60152f1983336e7098f0d28343cc0cf7c92af702
treedd8a394378f57eb18e8693f0340c842880d03d90
parent2b1602df0b8fbb88dc1d13436ec67704b08262aa
[RISCV][NFC] Use templated getSubtarget in RISCVExpandPseudo::runOnMachineFunction

This avoids a static_cast.
llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp