[PATCH] D151414: [RISCV] Add Zvfhmin extension support for llvm RISCV backend.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 01:19:57 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:184
 
-    if (Subtarget.hasVInstructionsF16())
+    if (Subtarget.hasVInstructionsF16Mininal())
       for (MVT VT : F16VecVTs)
----------------
craig.topper wrote:
> Isn't the clang patch have dependent on this?
I ran the zvfhmin.c  from the clang patch through CodeGen and got 

```
fatal error: error in backend: Scalarization of scalable vectors is not supported.
```

The clang patch should be reverted until the CodeGen patch is in.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151414



More information about the llvm-commits mailing list