[llvm] ee51aef - [RISCV][NFC] Minor formatting fix
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 08:27:08 PDT 2022
Author: Fraser Cormack
Date: 2022-03-31T16:15:22+01:00
New Revision: ee51aefba043bbbf44863baa9608d90413ed3faa
URL: https://github.com/llvm/llvm-project/commit/ee51aefba043bbbf44863baa9608d90413ed3faa
DIFF: https://github.com/llvm/llvm-project/commit/ee51aefba043bbbf44863baa9608d90413ed3faa.diff
LOG: [RISCV][NFC] Minor formatting fix
Added:
Modified:
llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
index ac6dc2476329d..5826a2c2a4ef4 100644
--- a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+++ b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
@@ -128,8 +128,8 @@ static inline unsigned getFormat(uint64_t TSFlags) {
}
/// \returns the constraint for the instruction.
static inline VConstraintType getConstraint(uint64_t TSFlags) {
- return static_cast<VConstraintType>
- ((TSFlags & ConstraintMask) >> ConstraintShift);
+ return static_cast<VConstraintType>((TSFlags & ConstraintMask) >>
+ ConstraintShift);
}
/// \returns the LMUL for the instruction.
static inline VLMUL getLMul(uint64_t TSFlags) {
More information about the llvm-commits
mailing list