[llvm] [TableGen][NFC] Replace hardcoded opcode numbering. (PR #81065)

Jason Eckhardt via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 16:49:59 PST 2024


nvjle wrote:

Hi @wangpc-pp (or anyone else interested)-- this NFC patch just updates a couple instances of the hardcoded enum value setting with `CodeGenTarget::getInstrIntValue` (introduced in PR #80486) to eliminate duplicate code. If someone would kindly commit on my behalf, thank you.

https://github.com/llvm/llvm-project/pull/81065


More information about the llvm-commits mailing list