Skip to content

Commit 2d50846

Browse files
jurahulvar-const
authored andcommitted
[NFC][TableGen] Refactor DecoderEmitter.cpp (llvm#135510)
- Add helper functions to insert ULEB128 encoded value and NumToSkip. - Use ArrayRef<> instead of const vector references as function arguments. - Return `OpHasCompleteDecoder` by value instead of by reference. - Use range for loops. - Remove {} around single line if/else bodies. - In `emitSoftFailTableEntry`, unconditionally emit the Positive and Negative mask values, instead of explicitly emitting a 0 byte when the mask is not needed.
1 parent 8d15f12 commit 2d50846

File tree

1 file changed

+96
-139
lines changed

1 file changed

+96
-139
lines changed

0 commit comments

Comments
 (0)