llvm-project
5f5a6413 - Revert "[DAGCombiner] Simplifying `{si|ui}tofp` when only signbit is needed"

Commit
1 year ago
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!"
Author
d0k d0k
Parents
Loading