craig.topper added a comment.

Need to add Zcd command lines to compress-rv32d.s



================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoC.td:881
 
 let Predicates = [HasStdExtC, HasStdExtD] in {
 def : CompressPat<(FLD FPR64:$rd, SP:$rs1, uimm9_lsb000:$imm),
----------------
CompressPats need their predicates updated too. They are used by the assembler 
so they are MC layer.


================
Comment at: llvm/test/MC/RISCV/rv32dc-valid.s:1
 # RUN: llvm-mc %s -triple=riscv32 -mattr=+c,+d -riscv-no-aliases 
-show-encoding \
 # RUN:     | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
----------------
Need to add Zcd command lines


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134177

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to