We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b27b9 commit 6fddcd0Copy full SHA for 6fddcd0
llvm/include/llvm/CodeGen/SDPatternMatch.h
@@ -14,6 +14,7 @@
14
#define LLVM_CODEGEN_SDPATTERNMATCH_H
15
16
#include "llvm/ADT/APInt.h"
17
+#include "llvm/ADT/ArrayRef.h"
18
#include "llvm/ADT/STLExtras.h"
19
#include "llvm/ADT/SmallBitVector.h"
20
#include "llvm/CodeGen/SelectionDAG.h"
@@ -1175,9 +1176,8 @@ template <typename... PatternTs> struct ReassociatableOpc_match {
1175
1176
}
1177
1178
- template <size_t N>
1179
[[nodiscard]] inline bool
1180
- reassociatableMatchHelper(const std::array<SmallBitVector, N> &Matches,
+ reassociatableMatchHelper(const ArrayRef<SmallBitVector> Matches,
1181
SmallBitVector &Used, size_t Curr = 0) {
1182
if (Curr == Matches.size())
1183
return true;
0 commit comments