projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b60774
)
Expand FP undef
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 16 Dec 2006 02:20:50 +0000
(
02:20
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 16 Dec 2006 02:20:50 +0000
(
02:20
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32623
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 4f4942710faa1a2b714dcfd0030de01b2a9550dd..1808dacc2b54ad6a847d0987a9e49487ef687c0f 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
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;