[llvm] SimplifyLibCalls: Don't require ldexp to emit intrinsic in pow combine (PR #95277)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 15:02:05 PDT 2024


dwblaikie wrote:

Seems to cause some bad IR that crashes SelectionDAG for aarch64?
https://godbolt.org/z/YdP3KxcPq
```
clang++: /root/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:970: void {anonymous}::SelectionDAGLegalize::LegalizeOp(llvm::SDNode*): Assertion `(TLI.getTypeAction(*DAG.getContext(), Op.getValueType()) == TargetLowering::TypeLegal || Op.getOpcode() == ISD::TargetConstant || Op.getOpcode() == ISD::Register) && "Unexpected illegal type!"' failed.
```

https://github.com/llvm/llvm-project/pull/95277


More information about the llvm-commits mailing list