File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1882,9 +1882,10 @@ LLVM_ABI SDValue peekThroughExtractSubvectors(SDValue V);
1882
1882
LLVM_ABI SDValue peekThroughTruncates (SDValue V);
1883
1883
1884
1884
// / Recursively peek through INSERT_VECTOR_ELT nodes, returning the source
1885
- // / vector operand of \p V, as long as \p V is an does INSERT_VECTOR_ELT
1886
- // / operation that do not insert into any of the demanded vector elts.
1887
- LLVM_ABI SDValue peekThroughInsertVectorElt (SDValue V, APInt DemandedElts);
1885
+ // / vector operand of \p V, as long as \p V is an INSERT_VECTOR_ELT operation
1886
+ // / that do not insert into any of the demanded vector elts.
1887
+ LLVM_ABI SDValue peekThroughInsertVectorElt (SDValue V,
1888
+ const APInt &DemandedElts);
1888
1889
1889
1890
// / Returns true if \p V is a bitwise not operation. Assumes that an all ones
1890
1891
// / constant is canonicalized to be operand 1.
Original file line number Diff line number Diff line change @@ -12516,7 +12516,8 @@ SDValue llvm::peekThroughTruncates(SDValue V) {
12516
12516
return V;
12517
12517
}
12518
12518
12519
- SDValue llvm::peekThroughInsertVectorElt(SDValue V, APInt DemandedElts) {
12519
+ SDValue llvm::peekThroughInsertVectorElt(SDValue V,
12520
+ const APInt &DemandedElts) {
12520
12521
while (V.getOpcode() == ISD::INSERT_VECTOR_ELT) {
12521
12522
SDValue InVec = V.getOperand(0);
12522
12523
SDValue EltNo = V.getOperand(2);
You can’t perform that action at this time.
0 commit comments