mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
[SVE] Lower fixed length vector floating point rounding operations.
Adds lowering for: llvm.ceil llvm.floor llvm.nearbyint llvm.rint llvm.round llvm.trunc Differential Revision: https://reviews.llvm.org/D88671
This commit is contained in:
parent
0d00b6a497
commit
829e52e19e
@ -1226,12 +1226,18 @@ void AArch64TargetLowering::addTypeForFixedLengthSVE(MVT VT) {
|
||||
setOperationAction(ISD::AND, VT, Custom);
|
||||
setOperationAction(ISD::ANY_EXTEND, VT, Custom);
|
||||
setOperationAction(ISD::FADD, VT, Custom);
|
||||
setOperationAction(ISD::FCEIL, VT, Custom);
|
||||
setOperationAction(ISD::FDIV, VT, Custom);
|
||||
setOperationAction(ISD::FFLOOR, VT, Custom);
|
||||
setOperationAction(ISD::FMA, VT, Custom);
|
||||
setOperationAction(ISD::FMAXNUM, VT, Custom);
|
||||
setOperationAction(ISD::FMINNUM, VT, Custom);
|
||||
setOperationAction(ISD::FMUL, VT, Custom);
|
||||
setOperationAction(ISD::FNEARBYINT, VT, Custom);
|
||||
setOperationAction(ISD::FRINT, VT, Custom);
|
||||
setOperationAction(ISD::FROUND, VT, Custom);
|
||||
setOperationAction(ISD::FSUB, VT, Custom);
|
||||
setOperationAction(ISD::FTRUNC, VT, Custom);
|
||||
setOperationAction(ISD::LOAD, VT, Custom);
|
||||
setOperationAction(ISD::MUL, VT, Custom);
|
||||
setOperationAction(ISD::OR, VT, Custom);
|
||||
|
1619
test/CodeGen/AArch64/sve-fixed-length-fp-rounding.ll
Normal file
1619
test/CodeGen/AArch64/sve-fixed-length-fp-rounding.ll
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user