[RISCV][NFC] Use RISCVSubtarget method for predicate in RISCVFeatures.td when available
authorAlex Bradbury <asb@igalia.com>
Wed, 5 Apr 2023 13:46:44 +0000 (14:46 +0100)
committerAlex Bradbury <asb@igalia.com>
Wed, 5 Apr 2023 13:49:17 +0000 (14:49 +0100)
commit2ceaa13effe47377b8813167f6677e2aa5d07089
tree14350f3de333153cc40b9b925ada297f9f66ded9
parent74a8a1e038022fb4ca9b8e444489e910f16a9741
[RISCV][NFC] Use RISCVSubtarget method for predicate in RISCVFeatures.td when available

As RISCVSubtarget defines hasStdExtZfhOrZfhmin() and hasStdExtCOrZca(),
just use these for the matching Predicate definitions rather than
repeating the logic.
llvm/lib/Target/RISCV/RISCVFeatures.td