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:
e825fb3
)
f16 FREM can now be legalized by promoting to f32
author
Pete Cooper
<peter_cooper@apple.com>
Wed, 4 Apr 2012 19:36:31 +0000
(19:36 +0000)
committer
Pete Cooper
<peter_cooper@apple.com>
Wed, 4 Apr 2012 19:36:31 +0000
(19:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154039
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 246255b6a119759df99b8b620e57de605302b55c..cf845c12462b026873374c3e788a783b9df9a7d1 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-3633,6
+3633,7
@@
void SelectionDAGLegalize::PromoteNode(SDNode *Node) {
break;
}
case ISD::FDIV:
+ case ISD::FREM:
case ISD::FPOW: {
Tmp1 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(0));
Tmp2 = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(1));