Skip to content

Commit 8794962

Browse files
committed
fixup! Use SDTCisEltOfVec for SDTFPVecReduce.
1 parent 5cb8df8 commit 8794962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Target/TargetSelectionDAG.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def SDTVecReduce : SDTypeProfile<1, 1, [ // vector reduction
303303
SDTCisInt<0>, SDTCisVec<1>, SDTCisInt<1>
304304
]>;
305305
def SDTFPVecReduce : SDTypeProfile<1, 1, [ // FP vector reduction
306-
SDTCisFP<0>, SDTCisVec<1>, SDTCisFP<1>
306+
SDTCisFP<0>, SDTCisEltOfVec<0, 1>
307307
]>;
308308

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

0 commit comments

Comments
 (0)