diff options
author | woruyu <99597449+woruyu@users.noreply.github.com> | 2025-07-14 22:28:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-14 15:28:52 +0100 |
commit | b22b103c3dd5ba4c20fba2a77e0c38896cd45901 (patch) | |
tree | 38d436dad5e73ffe7ef311eee96c0855bb0c0d6c /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 4177bfdb466855fed5e498774ac517b5cad2a995 (diff) | |
download | llvm-b22b103c3dd5ba4c20fba2a77e0c38896cd45901.zip llvm-b22b103c3dd5ba4c20fba2a77e0c38896cd45901.tar.gz llvm-b22b103c3dd5ba4c20fba2a77e0c38896cd45901.tar.bz2 |
[DAG] SelectionDAG::canCreateUndefOrPoison - add ISD::FCOPYSIGN (#148617)
### Summary
This PR resolves https://github.com/llvm/llvm-project/issues/147694
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 58be4fb..3656500 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5620,6 +5620,7 @@ bool SelectionDAG::canCreateUndefOrPoison(SDValue Op, const APInt &DemandedElts, case ISD::FMUL: case ISD::FDIV: case ISD::FREM: + case ISD::FCOPYSIGN: // No poison except from flags (which is handled above) return false; |