[PATCH] D108189: [RISCV] Add arch attribute support for P extension

Jim Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 22 19:36:41 PDT 2021


Jim added a comment.

In D108189#2948691 <https://reviews.llvm.org/D108189#2948691>, @kito-cheng wrote:

> Could you fix that based on my patch? I believe that would be a universal way to handle all arch string related stuffs: https://reviews.llvm.org/D105168

In P extension, zprvsfextra sub-extension is RV64 only. RV32 + zprvsfextra is invalid. 
It seems have to add specific checking for this.
Do you have any suggestion where should I add checking for it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108189



More information about the llvm-commits mailing list