[all-commits] [llvm/llvm-project] f776d8: [Legalizer] Promote result type in expanding FP_TO...

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Sun Jan 17 20:02:35 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f776d8b12f0ec19cfff60c967565788ce4f926e6
      https://github.com/llvm/llvm-project/commit/f776d8b12f0ec19cfff60c967565788ce4f926e6
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll

  Log Message:
  -----------
  [Legalizer] Promote result type in expanding FP_TO_XINT

This patch promotes result integer type of FP_TO_XINT in expanding.
So crash in conversion from ppc_fp128 to i1 will be fixed.

Reviewed By: steven.zhang

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




More information about the All-commits mailing list