[all-commits] [llvm/llvm-project] 3d43c7: [X86] Remove override of shouldUseStrictFP_TO_INT ...

topperc via All-commits all-commits at lists.llvm.org
Wed Dec 4 17:59:00 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d43c73f26f2ef3ce8c972d1dfe7013571a01bbc
      https://github.com/llvm/llvm-project/commit/3d43c73f26f2ef3ce8c972d1dfe7013571a01bbc
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h

  Log Message:
  -----------
  [X86] Remove override of shouldUseStrictFP_TO_INT for fp80. NFC

I suspect this became unnecessary after r354161. Prior to that
we may have been going through the default expansion of FP_TO_UINT
on 64-bit targets and then ending up back in Custom X86 handling
to handle the FP_TO_SINT for it. Now we just Custom handle the
FP_TO_UINT directly. We already need to handle it for 32-bit mode
during type legalization so we wouldn't save any code by using
the default expansion on 64-bit.




More information about the All-commits mailing list