[PATCH] D53794: [TargetLowering] expandFP_TO_UINT - avoid FPE due to out of range conversion (PR17686)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 5 06:39:26 PST 2018


RKSimon updated this revision to Diff 172579.
RKSimon edited the summary of this revision.
RKSimon added a comment.

Updated to only use the 'strict' FP_TO_UINT path when the TLI shouldUseStrictFP_TO_INT helper is true.


Repository:
  rL LLVM

https://reviews.llvm.org/D53794

Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/fp-cvt.ll
  test/CodeGen/X86/scalar-fp-to-i64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53794.172579.patch
Type: text/x-patch
Size: 17153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181105/9910ec0d/attachment.bin>


More information about the llvm-commits mailing list