[PATCH] D86079: [X86] Improved lowering for saturating float to int.

Bevin Hansson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 08:00:15 PDT 2020


ebevhan created this revision.
ebevhan added a reviewer: craig.topper.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
ebevhan requested review of this revision.

Adapted from D54696 <https://reviews.llvm.org/D54696> by @nikic.

This patch improves lowering of saturating float to
int conversions, FP_TO_[SU]INT_SAT, for X86.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86079

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/test/CodeGen/X86/fptosi-sat-scalar.ll
  llvm/test/CodeGen/X86/fptoui-sat-scalar.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86079.286023.patch
Type: text/x-patch
Size: 66617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200817/94049c5b/attachment.bin>


More information about the llvm-commits mailing list