[RISCV] Merge emitDirectiveOptionArchPlus and emitDirectiveOptionArchMinus into a...
authorCraig Topper <craig.topper@sifive.com>
Wed, 31 May 2023 05:45:42 +0000 (22:45 -0700)
committerCraig Topper <craig.topper@sifive.com>
Wed, 31 May 2023 05:45:42 +0000 (22:45 -0700)
commitac1df22315a55c799239090097b6d6e0e9a916d8
tree96217d8bbfdb1c4b22d5d08359d8507cec36fd79
parent0706a53a1b02a70ac3ab163a29c5a3ab5b4f18e8
[RISCV] Merge emitDirectiveOptionArchPlus and emitDirectiveOptionArchMinus into a single interface. NFC

Probably going to do some other refactors after this, but this one
was easy and clearly reduces duplicate code.

Reviewed By: StephenFan

Differential Revision: https://reviews.llvm.org/D151771
llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h