Skip to content

Commit 34be441

Browse files
committed
Fix lit test
1 parent 1535051 commit 34be441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/TableGen/DecoderEmitterBitwidthSpecialization.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def Inst3 : Instruction16Bit<3> {
132132
// CHECK-SPECIALIZE-NO-TABLE-LABEL: template <typename InsnType>
133133
// CHECK-SPECIALIZE-NO-TABLE-NEXT: decodeInstruction
134134
// CHECK-SPECIALIZE-NO-TABLE: uint32_t BitWidth = decodeULEB128AndIncUnsafe(Ptr);
135-
// CHECK-SPECIALIZE-NO-TABLE-NEXT: if (InsnBitWidth<InsnType> != BitWidth)
135+
// CHECK-SPECIALIZE-NO-TABLE-NEXT: assert(InsnBitWidth<InsnType> == BitWidth &&
136136

137137
// -----------------------------------------------------------------------------
138138
// Per bitwidth specialization with function table.
@@ -186,4 +186,4 @@ def Inst3 : Instruction16Bit<3> {
186186
// CHECK-SPECIALIZE-TABLE-LABEL: template <typename InsnType>
187187
// CHECK-SPECIALIZE-TABLE-NEXT: decodeInstruction
188188
// CHECK-SPECIALIZE-TABLE: uint32_t BitWidth = decodeULEB128AndIncUnsafe(Ptr);
189-
// CHECK-SPECIALIZE-TABLE-NEXT: if (InsnBitWidth<InsnType> != BitWidth)
189+
// CHECK-SPECIALIZE-TABLE-NEXT: assert(InsnBitWidth<InsnType> == BitWidth &&

0 commit comments

Comments
 (0)