[PATCH] D134176: Add MC support of RISCV Zcf Extension

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 21 18:15:03 PDT 2022


craig.topper added a comment.

Need to add zcf command lines to compress-rv32f.s



================
Comment at: llvm/lib/Target/RISCV/RISCV.td:366
+                       "'Zcf' (Compressed Single-Precision Floating-Point Instructions)">;
+def HasStdExtZcf : Predicate<"Subtarget->hasStdExtZcf()">,
+                           AssemblerPredicate<(all_of FeatureExtZcf),
----------------
This is never used


================
Comment at: llvm/test/MC/RISCV/rv32fc-valid.s:14
 # RUN: not llvm-mc -triple riscv64 -mattr=+c,+f \
 # RUN:     -riscv-no-aliases -show-encoding < %s 2>&1 \
 # RUN:     | FileCheck -check-prefixes=CHECK-NO-RV32 %s
----------------
Need to add zcf command lines


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134176



More information about the cfe-commits mailing list