diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2006-12-16 02:20:50 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2006-12-16 02:20:50 +0000 |
| commit | 851e589edaf1206808f67fa5e4533c677c39611c (patch) | |
| tree | 31017d38d50894c46e0386ad43f59f9a83e3b7d4 /llvm/lib/CodeGen | |
| parent | 29192e627423eef31acc422e679c91103bc162bb (diff) | |
| download | bcm5719-llvm-851e589edaf1206808f67fa5e4533c677c39611c.tar.gz bcm5719-llvm-851e589edaf1206808f67fa5e4533c677c39611c.zip | |
Expand FP undef
llvm-svn: 32623
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 4f4942710fa..1808dacc2b5 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -4523,6 +4523,7 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){ assert(0 && "Do not know how to expand this operator!"); abort(); case ISD::UNDEF: + NVT = TLI.getTypeToExpandTo(VT); Lo = DAG.getNode(ISD::UNDEF, NVT); Hi = DAG.getNode(ISD::UNDEF, NVT); break; |

