[clang] [llvm] [LoongArch] [CodeGen] Add options for Clang to generate LoongArch-specific frecipe & frsqrte instructions (PR #109917)

Lu Weining via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 20:22:10 PDT 2024


================
@@ -141,6 +141,22 @@ enum NodeType : unsigned {
   VALL_NONZERO,
   VANY_NONZERO,
 
+  // Floating point approximate reciprocal operation
+  FRECIPE_S,
----------------
SixWeining wrote:

Can we only define two generic nodes (FRECIPE / FRSQRTE)?

https://github.com/llvm/llvm-project/pull/109917


More information about the llvm-commits mailing list