[all-commits] [llvm/llvm-project] fee906: [X86] Move all the FP_TO_XINT/XINT_TO_FP setOperat...

topperc via All-commits all-commits at lists.llvm.org
Wed Nov 13 14:08:23 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fee9067261cc3d4b3a91301d40534a625c71abc1
      https://github.com/llvm/llvm-project/commit/fee9067261cc3d4b3a91301d40534a625c71abc1
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

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

  Log Message:
  -----------
  [X86] Move all the FP_TO_XINT/XINT_TO_FP setOperationActions into the same !useSoftFloat block. Qualify all of the Promote actions for these with !useSoftFloat too. NFCI

The Promote action doesn't apply until LegalizeDAG. By the time
we get there, we would have already softened all the FP operations
if useSoftFloat was true. So there wouldn't be any operation left
to Promote.


  Commit: 787595b2e78eb202539b284e13cb6da8b5e4d33e
      https://github.com/llvm/llvm-project/commit/787595b2e78eb202539b284e13cb6da8b5e4d33e
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

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

  Log Message:
  -----------
  [X86] Fix typo in comment. NFC


  Commit: f7e9d81a8e222f3c9d4f57e0817f19bbb795e5b6
      https://github.com/llvm/llvm-project/commit/f7e9d81a8e222f3c9d4f57e0817f19bbb795e5b6
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fp-arith.ll
    M llvm/test/CodeGen/X86/fp-cvt.ll

  Log Message:
  -----------
  [X86] Don't set the operation action for i16 SINT_TO_FP to Promote just because SSE1 is enabled.

Instead do custom promotion in the handler so that we can still
allow i16 to be used with fp80. And f64 without sse2.


Compare: https://github.com/llvm/llvm-project/compare/3d30c142e147...f7e9d81a8e22


More information about the All-commits mailing list