Skip to content

Commit 74b08ce

Browse files
committed
Use getSizeInBits
1 parent 991d963 commit 74b08ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/DAGISelMatcherEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ EmitMatcher(const Matcher *N, const unsigned Indent, unsigned CurrentIdx,
582582
switch (VT) {
583583
case MVT::i32:
584584
case MVT::i64:
585-
OS << "OPC_CheckTypeI" << MVT(VT).getScalarSizeInBits() << ",\n";
585+
OS << "OPC_CheckTypeI" << MVT(VT).getSizeInBits() << ",\n";
586586
return 1;
587587
default:
588588
OS << "OPC_CheckType, " << getEnumName(VT) << ",\n";

0 commit comments

Comments
 (0)