[PATCH] D86078: [AArch64] Improved lowering for saturating float to int.

Bevin Hansson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 06:19:21 PDT 2020


ebevhan updated this revision to Diff 291556.
ebevhan added a comment.

Now only uses FP_TO_INT_SAT nodes for lowering. The nodes are selected in isel.

LowerVectorFP_TO_INT was extended to also handle the _SAT nodes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86078/new/

https://reviews.llvm.org/D86078

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/fptosi-sat-scalar.ll
  llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
  llvm/test/CodeGen/AArch64/fptoui-sat-scalar.ll
  llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86078.291556.patch
Type: text/x-patch
Size: 188683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200914/fdddb72c/attachment-0001.bin>


More information about the llvm-commits mailing list