On AArch64, doing the vector truncate separately after the fptoui
conversion can be lowered more efficiently using tbl.4, building on
D133495.
https://alive2.llvm.org/ce/z/T538CC
Depends on D133495
Paths
| Differential D133496
[AArch64] Use tbl for truncating vector FPtoUI conversions. ClosedPublic Authored by fhahn on Sep 8 2022, 7:58 AM.
Details Summary On AArch64, doing the vector truncate separately after the fptoui https://alive2.llvm.org/ce/z/T538CC Depends on D133495
Diff Detail
Event TimelineComment Actions One simplification, but otherwise seems OK.
This revision is now accepted and ready to land.Sep 15 2022, 2:19 AM This revision was landed with ongoing or failed builds.Sep 16 2022, 6:58 AM Closed by commit rG6b86b481e3d0: [AArch64] Use tbl for truncating vector FPtoUI conversions. (authored by fhahn). · Explain Why This revision was automatically updated to reflect the committed changes. fhahn marked an inline comment as done.
Revision Contents
Diff 460738 llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
|
VectorType::getInteger(DstTy) is slightly simpler.