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

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 09:12:45 PST 2023


kito-cheng added inline comments.


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


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

https://reviews.llvm.org/D145071



More information about the llvm-commits mailing list