[all-commits] [llvm/llvm-project] 522c7b: [RISCV][NFC] Consistently use Opcode local variabl...
Alex Bradbury via All-commits
all-commits at lists.llvm.org
Tue Apr 18 22:34:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 522c7b1e76dac1f08f6bc675681b39fbd19796a9
https://github.com/llvm/llvm-project/commit/522c7b1e76dac1f08f6bc675681b39fbd19796a9
Author: Alex Bradbury <asb at igalia.com>
Date: 2023-04-19 (Wed, 19 Apr 2023)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV][NFC] Consistently use Opcode local variable in RISCVAsmParser::validateInstruction
As we already do `unsigned Opcode = Inst.getOpcode();`, we may as well
use that variable.
More information about the All-commits
mailing list