[PATCH] D159399: [RISCV] Only emit .option when extension is supported

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 3 23:49:34 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp:284
+
+  bool NeedEmitOptionArch = emitDirectiveOptionArch();
 
----------------
`NeedEmitOptionArch` -> `EmittedOptionArch`

since we already emitted it in the function.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159399/new/

https://reviews.llvm.org/D159399



More information about the llvm-commits mailing list