Skip to content

Commit 08f72fe

Browse files
committed
[TableGen] Remove unnecessary use of MVT::SimpleTy. NFC
This was missed in 0ef522f
1 parent b9107bf commit 08f72fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/Common/CodeGenDAGPatterns.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ struct MachineValueTypeSet {
8686
}
8787
std::pair<MachineValueTypeSet &, bool> insert(MVT T) {
8888
assert(T.SimpleTy < Capacity && "Capacity needs to be enlarged");
89-
bool V = count(T.SimpleTy);
89+
bool V = count(T);
9090
Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth);
9191
return {*this, V};
9292
}

0 commit comments

Comments
 (0)