File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 &&
You can’t perform that action at this time.
0 commit comments