[all-commits] [llvm/llvm-project] 621360: [RISCV] Move IsGPRAsFPR into RegOp struct in RISCV...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Jan 29 12:41:55 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 621360657bc4b00a4f978d60ed3dc63d873967bd
https://github.com/llvm/llvm-project/commit/621360657bc4b00a4f978d60ed3dc63d873967bd
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-01-29 (Sun, 29 Jan 2023)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV] Move IsGPRAsFPR into RegOp struct in RISCVOperand. NFC
This field is only initialized for register operands, move it into
the struct to make that clear.
This also fixes a potential bug where the field wasn't copied by
the RISCVOperand copy constructor.
More information about the All-commits
mailing list