projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Codegen] Add intrinsics 'absdiff' and corresponding SDNodes for absolute difference...
[oota-llvm.git]
/
lib
/
CodeGen
/
SelectionDAG
/
LegalizeVectorTypes.cpp
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index 4348ab79f7d19091a21624d5610608b2a9a38cf5..5f9afc9cfc51435f3bd5627e6602bb02561644da 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@
-678,6
+678,8
@@
void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) {
case ISD::SMAX:
case ISD::UMIN:
case ISD::UMAX:
+ case ISD::UABSDIFF:
+ case ISD::SABSDIFF:
SplitVecRes_BinOp(N, Lo, Hi);
break;
case ISD::FMA: