[llvm] [IR] Add `llvm.sincos` intrinsic (PR #109825)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 06:08:57 PDT 2024
================
@@ -4448,6 +4470,8 @@ void DAGTypeLegalizer::WidenVectorResult(SDNode *N, unsigned ResNo) {
if (!TLI.isOperationLegalOrCustomOrPromote(N->getOpcode(), WideVecVT) &&
TLI.isOperationExpand(N->getOpcode(), VT.getScalarType())) {
Res = DAG.UnrollVectorOp(N, WideVecVT.getVectorNumElements());
+ if (N->getNumValues() == 2)
----------------
MacDue wrote:
I guess not -- I've generalized this, but yeah, there are no nodes that test this path right now.
https://github.com/llvm/llvm-project/pull/109825
More information about the llvm-commits
mailing list