[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:26 PDT 2024


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

This seems like it should be resolved before merging?

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


More information about the cfe-commits mailing list