diff options
| author | Craig Topper <craig.topper@sifive.com> | 2025-11-23 00:11:20 -0800 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2025-11-23 00:13:36 -0800 |
| commit | 08f72fe77a53762c94dc04f9fc7c6e038141aa55 (patch) | |
| tree | aa68b68e9a089e91a8438a4d62773214a7953c14 /llvm | |
| parent | b9107bfc1faa8aa74e736169626e0cf7eb0925ba (diff) | |
This was missed in 0ef522ff68fff4266bf85e7b7a507a16a8fd34ee
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/utils/TableGen/Common/CodeGenDAGPatterns.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.h b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.h index bfd737ee928a..2cd7ec1521fe 100644 --- a/llvm/utils/TableGen/Common/CodeGenDAGPatterns.h +++ b/llvm/utils/TableGen/Common/CodeGenDAGPatterns.h @@ -86,7 +86,7 @@ struct MachineValueTypeSet { } std::pair<MachineValueTypeSet &, bool> insert(MVT T) { assert(T.SimpleTy < Capacity && "Capacity needs to be enlarged"); - bool V = count(T.SimpleTy); + bool V = count(T); Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); return {*this, V}; } |
