File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ Non-comprehensive list of changes in this release
115115-------------------------------------------------
116116- Added ``__builtin_elementwise_fshl `` and ``__builtin_elementwise_fshr ``.
117117
118- - Added ` __builtin_elementwise_abs `.
118+ - `` __builtin_elementwise_abs `` can now be used in constant expression .
119119
120120- Added ``__builtin_elementwise_minnumnum `` and ``__builtin_elementwise_maxnumnum ``.
121121
Original file line number Diff line number Diff line change @@ -11634,12 +11634,6 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr *E) {
1163411634 APValue(APSInt(Elt.reverseBits(),
1163511635 DestEltTy->isUnsignedIntegerOrEnumerationType())));
1163611636 break;
11637- case Builtin::BI__builtin_elementwise_abs: {
11638- APInt Val = Source.getVectorElt(EltNum).getInt().abs();
11639- ResultElements.push_back(APValue(
11640- APSInt(Val, DestEltTy->isUnsignedIntegerOrEnumerationType())));
11641- break;
11642- }
1164311637 }
1164411638 }
1164511639
You can’t perform that action at this time.
0 commit comments