[PATCH] D145071: [clang][RISCV] Set HasLegalHalfType to true if zfh is enabled

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 09:28:07 PST 2023


craig.topper added inline comments.


================
Comment at: clang/lib/Basic/Targets/RISCV.cpp:318
 
+  if (ISAInfo->hasExtension("zfh"))
+    HasLegalHalfType = true;
----------------
kito-cheng wrote:
> Oh, don't forgot `zhinx`, I almost forgot that too.
I don't think CodeGen for zhinx is done yet.


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

https://reviews.llvm.org/D145071



More information about the llvm-commits mailing list