Skip to content

Commit c265d7a

Browse files
authored
[SelectionDAG] Add SDTCisInt<1> to SDTVecReduce and SDTCisEltOfVec to SDTFPVecReduce. NFC (#162761)
1 parent 672672b commit c265d7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/Target/TargetSelectionDAG.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,10 @@ def SDTVecInsert : SDTypeProfile<1, 3, [ // vector insert
301301
SDTCisEltOfVec<2, 1>, SDTCisSameAs<0, 1>, SDTCisPtrTy<3>
302302
]>;
303303
def SDTVecReduce : SDTypeProfile<1, 1, [ // vector reduction
304-
SDTCisInt<0>, SDTCisVec<1>
304+
SDTCisInt<0>, SDTCisVec<1>, SDTCisInt<1>
305305
]>;
306306
def SDTFPVecReduce : SDTypeProfile<1, 1, [ // FP vector reduction
307-
SDTCisFP<0>, SDTCisVec<1>
307+
SDTCisFP<0>, SDTCisEltOfVec<0, 1>
308308
]>;
309309

310310
def SDTVecReverse : SDTypeProfile<1, 1, [ // vector reverse

0 commit comments

Comments
 (0)