[llvm] [RISCV][MC] Implement ISA mapping symbols (PR #67541)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 25 22:05:06 PST 2024
================
@@ -34,7 +34,7 @@ void RISCVTargetStreamer::emitDirectiveOptionNoRVC() {}
void RISCVTargetStreamer::emitDirectiveOptionRelax() {}
void RISCVTargetStreamer::emitDirectiveOptionNoRelax() {}
void RISCVTargetStreamer::emitDirectiveOptionArch(
- ArrayRef<RISCVOptionArchArg> Args) {}
+ const ArrayRef<RISCVOptionArchArg> &Args) {}
----------------
topperc wrote:
ArrayRef should always be passed by value. It's cheap to copy. It's a pointer and size.
https://github.com/llvm/llvm-project/pull/67541
More information about the llvm-commits
mailing list