[all-commits] [llvm/llvm-project] 07605e: [X86] Improved lowering for saturating float to int.

Bevin Hansson via All-commits all-commits at lists.llvm.org
Tue Jan 12 06:50:26 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 07605ea1f3c94e0a23450f5c9ab3902862d7ff03
      https://github.com/llvm/llvm-project/commit/07605ea1f3c94e0a23450f5c9ab3902862d7ff03
  Author: Bevin Hansson <bevin.hansson at ericsson.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

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

  Log Message:
  -----------
  [X86] Improved lowering for saturating float to int.

Adapted from D54696 by @nikic.

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

Reviewed By: craig.topper

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




More information about the All-commits mailing list