Skip to content

Commit 5cb8df8

Browse files
committed
[SelectionDAG] Add SDTCisInt<1>/SDTCisFP<1> to SDTVecReduce/SDTFPVecReduce. NFC
1 parent 37aa347 commit 5cb8df8

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
@@ -300,10 +300,10 @@ def SDTVecInsert : SDTypeProfile<1, 3, [ // vector insert
300300
SDTCisEltOfVec<2, 1>, SDTCisSameAs<0, 1>, SDTCisPtrTy<3>
301301
]>;
302302
def SDTVecReduce : SDTypeProfile<1, 1, [ // vector reduction
303-
SDTCisInt<0>, SDTCisVec<1>
303+
SDTCisInt<0>, SDTCisVec<1>, SDTCisInt<1>
304304
]>;
305305
def SDTFPVecReduce : SDTypeProfile<1, 1, [ // FP vector reduction
306-
SDTCisFP<0>, SDTCisVec<1>
306+
SDTCisFP<0>, SDTCisVec<1>, SDTCisFP<1>
307307
]>;
308308

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

0 commit comments

Comments
 (0)