[all-commits] [llvm/llvm-project] 9f70e7: [LoongArch] Make ISD::FSQRT a legal operation with...
wanglei via All-commits
all-commits at lists.llvm.org
Thu Dec 7 22:16:40 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9f70e708a7d3fce97d63b626520351501455fca0
https://github.com/llvm/llvm-project/commit/9f70e708a7d3fce97d63b626520351501455fca0
Author: wanglei <wanglei at loongson.cn>
Date: 2023-12-08 (Fri, 08 Dec 2023)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
A llvm/test/CodeGen/LoongArch/lasx/fsqrt.ll
M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/fdiv.ll
A llvm/test/CodeGen/LoongArch/lsx/fsqrt.ll
M llvm/test/CodeGen/LoongArch/lsx/ir-instruction/fdiv.ll
Log Message:
-----------
[LoongArch] Make ISD::FSQRT a legal operation with lsx/lasx feature (#74795)
And add some patterns:
1. (fdiv 1.0, vector)
2. (fdiv 1.0, (fsqrt vector))
More information about the All-commits
mailing list