[all-commits] [llvm/llvm-project] 419f90: [LoongArch] Support llvm.is.fpclass for f32 and f64
Lu Weining via All-commits
all-commits at lists.llvm.org
Thu Sep 14 00:44:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 419f90e93aad0c53ae5a54504710d9b8cf779256
https://github.com/llvm/llvm-project/commit/419f90e93aad0c53ae5a54504710d9b8cf779256
Author: Weining Lu <luweining at loongson.cn>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
A llvm/test/CodeGen/LoongArch/is_fpclass_f32.ll
A llvm/test/CodeGen/LoongArch/is_fpclass_f64.ll
Log Message:
-----------
[LoongArch] Support llvm.is.fpclass for f32 and f64
is_fpclass (fj, mask)
->
sltu (r0, and (movfr2gr.[sd] (fclass.[sd] fj), (to_fclass_mask mask)))
[1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#_fclass_sd
Reviewed By: wangleiat
Differential Revision: https://reviews.llvm.org/D159183
More information about the All-commits
mailing list