diff options
author | Chaitanya Koparkar <ckoparkar@gmail.com> | 2025-08-07 04:23:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-07 09:23:46 +0100 |
commit | 6ce68d3a12fb70a8a1247823e2c90a5a1dd4531d (patch) | |
tree | 6a2624d45f7e959c0ecd0da85e1650e553afabd9 /llvm/lib | |
parent | 0b3ee2093954dd3c5a201eba4b7641adadd9b2c6 (diff) | |
download | llvm-6ce68d3a12fb70a8a1247823e2c90a5a1dd4531d.zip llvm-6ce68d3a12fb70a8a1247823e2c90a5a1dd4531d.tar.gz llvm-6ce68d3a12fb70a8a1247823e2c90a5a1dd4531d.tar.bz2 |
[DAG] canCreateUndefOrPoison - add FP_EXTEND (#152249)
Fixes https://github.com/llvm/llvm-project/issues/152141
Diffstat (limited to 'llvm/lib')
-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 649a310..bfa72bf 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5630,6 +5630,7 @@ bool SelectionDAG::canCreateUndefOrPoison(SDValue Op, const APInt &DemandedElts, case ISD::FDIV: case ISD::FREM: case ISD::FCOPYSIGN: + case ISD::FP_EXTEND: // No poison except from flags (which is handled above) return false; |