[clang] [lld] [llvm] [RISCV] Support .note.gnu.property for enable Zicfiss and Zicfilp extension (PR #77414)

Jessica Clarke via cfe-commits cfe-commits at lists.llvm.org
Fri May 10 16:10:27 PDT 2024


================
@@ -118,6 +147,19 @@ void RISCVTargetELFStreamer::finish() {
   }
 
   MCA.setELFHeaderEFlags(EFlags);
+
+  unsigned GNUNoteFlags = 0;
+
+  // check ZICFILP or ZICFISS with features
----------------
jrtc27 wrote:

Not sure this adds anything, but if it's staying please properly style it (e.g. start with a capital letter)

https://github.com/llvm/llvm-project/pull/77414


More information about the cfe-commits mailing list