[all-commits] [llvm/llvm-project] bf60a5: [X86] Covert unsigned int 0 to float-point with FI...

MorningLiu via All-commits all-commits at lists.llvm.org
Wed Apr 13 05:06:45 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf60a5af0a21323f257719a08d57b28a3389b283
  Author: Liu, Chen3 <chen3.liu at intel.com>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fp-intrinsics.ll
    M llvm/test/CodeGen/X86/fp-strict-scalar-inttofp.ll

  Log Message:
  [X86] Covert unsigned int 0 to float-point with FILD instruction.

unsinged int 0 will be convert to float/double -0.0 when the rounding
mode is set to 'FE_DOWNWARD'. Using FILD instruction instead of SSE
instructions on 32-bit target if the strictfp is enabled.

Differential Revision: https://reviews.llvm.org/D123660

More information about the All-commits mailing list