[all-commits] [llvm/llvm-project] 2a586a: [TableGen][DecoderEmitter] Remove dead OPC_Fail (#...
Sergei Barannikov via All-commits
all-commits at lists.llvm.org
Mon Aug 25 09:15:57 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a586a81181fb69c26ba3ea87e051cd4d59e70f8
https://github.com/llvm/llvm-project/commit/2a586a81181fb69c26ba3ea87e051cd4d59e70f8
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/include/llvm/MC/MCDecoderOps.h
M llvm/test/TableGen/FixedLenDecoderEmitter/additional-encoding.td
M llvm/test/TableGen/FixedLenDecoderEmitter/big-filter.td
M llvm/test/TableGen/HwModeEncodeDecode.td
M llvm/test/TableGen/HwModeEncodeDecode2.td
M llvm/test/TableGen/HwModeEncodeDecode3.td
M llvm/test/TableGen/VarLenDecoder.td
M llvm/test/TableGen/trydecode-emission.td
M llvm/test/TableGen/trydecode-emission2.td
M llvm/test/TableGen/trydecode-emission3.td
M llvm/test/TableGen/trydecode-emission4.td
M llvm/utils/TableGen/DecoderEmitter.cpp
Log Message:
-----------
[TableGen][DecoderEmitter] Remove dead OPC_Fail (#155229)
It can never be reached. It could be reached if we emitted an opcode
that could fall outside the outermost scope, but emission of all such
opcodes is guarded by `!isOutermostScope()`.
That also means we never add fixups to the outermost scope, so avoid
pushing an entry for it onto the stack.
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