[all-commits] [llvm/llvm-project] 5f5a64: Revert "[DAGCombiner] Simplifying `{si|ui}tofp` wh...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Wed Mar 20 07:10:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f5a64134b679d0b97d8fbd4ea65da361bb22cae
      https://github.com/llvm/llvm-project/commit/5f5a64134b679d0b97d8fbd4ea65da361bb22cae
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/X86/combine-sse41-intrinsics.ll
    M llvm/test/CodeGen/X86/int-to-fp-demanded.ll

  Log Message:
  -----------
  Revert "[DAGCombiner] Simplifying `{si|ui}tofp` when only signbit is needed"

This reverts commit 353fbeb0a294d2c7cef6d88607fa0fd50ee81462. It crashes
when it encounters an UINT_TO_FP.

llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1618 in SDValue llvm::SelectionDAG::getConstant(const ConstantInt &, const SDLoc &, EVT, bool, bool): VT.isInteger() && "Cannot create FP integer constant!"



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list