[all-commits] [llvm/llvm-project] 6a42dc: [TableGen] Simplify emitULEB128 in DecoderEmitter....
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Mar 7 11:09:57 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a42dc694cffb4658ef72db308cfae7bfbba16b5
https://github.com/llvm/llvm-project/commit/6a42dc694cffb4658ef72db308cfae7bfbba16b5
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-03-07 (Fri, 07 Mar 2025)
Changed paths:
M llvm/utils/TableGen/DecoderEmitter.cpp
Log Message:
-----------
[TableGen] Simplify emitULEB128 in DecoderEmitter.cpp. NFC (#130214)
Instead of returning the number of bytes emitted, just take the iterator
by reference so the increments in emitULEB128 will update the copy in
the caller.
Also pass the iterator by reference to emitNumToSkip so we don't need a
separate I += 3 in the caller.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list