[llvm] c265d7a - [SelectionDAG] Add SDTCisInt<1> to SDTVecReduce and SDTCisEltOfVec to SDTFPVecReduce. NFC (#162761)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 10 09:02:12 PDT 2025
Author: Craig Topper
Date: 2025-10-10T09:02:08-07:00
New Revision: c265d7aebf8c5bc136805d75cd009bee82df8613
URL: https://github.com/llvm/llvm-project/commit/c265d7aebf8c5bc136805d75cd009bee82df8613
DIFF: https://github.com/llvm/llvm-project/commit/c265d7aebf8c5bc136805d75cd009bee82df8613.diff
LOG: [SelectionDAG] Add SDTCisInt<1> to SDTVecReduce and SDTCisEltOfVec to SDTFPVecReduce. NFC (#162761)
Added:
Modified:
llvm/include/llvm/Target/TargetSelectionDAG.td
Removed:
################################################################################
diff --git a/llvm/include/llvm/Target/TargetSelectionDAG.td b/llvm/include/llvm/Target/TargetSelectionDAG.td
index f380bd5cedfce..632be7ad9e350 100644
--- a/llvm/include/llvm/Target/TargetSelectionDAG.td
+++ b/llvm/include/llvm/Target/TargetSelectionDAG.td
@@ -301,10 +301,10 @@ def SDTVecInsert : SDTypeProfile<1, 3, [ // vector insert
SDTCisEltOfVec<2, 1>, SDTCisSameAs<0, 1>, SDTCisPtrTy<3>
]>;
def SDTVecReduce : SDTypeProfile<1, 1, [ // vector reduction
- SDTCisInt<0>, SDTCisVec<1>
+ SDTCisInt<0>, SDTCisVec<1>, SDTCisInt<1>
]>;
def SDTFPVecReduce : SDTypeProfile<1, 1, [ // FP vector reduction
- SDTCisFP<0>, SDTCisVec<1>
+ SDTCisFP<0>, SDTCisEltOfVec<0, 1>
]>;
def SDTVecReverse : SDTypeProfile<1, 1, [ // vector reverse
More information about the llvm-commits
mailing list