[llvm] a276d1f - [RISCV][NFC] Fix formatting on one line

Fraser Cormack via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 05:29:08 PDT 2022


Author: Fraser Cormack
Date: 2022-03-31T13:17:37+01:00
New Revision: a276d1f44ba7507508e05ac18877e7e59535c6cb

URL: https://github.com/llvm/llvm-project/commit/a276d1f44ba7507508e05ac18877e7e59535c6cb
DIFF: https://github.com/llvm/llvm-project/commit/a276d1f44ba7507508e05ac18877e7e59535c6cb.diff

LOG: [RISCV][NFC] Fix formatting on one line

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp b/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
index ab0a0fcd9c446..2954f9d1a1f6f 100644
--- a/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+++ b/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
@@ -2598,8 +2598,7 @@ bool RISCVAsmParser::validateInstruction(MCInst &Inst,
   }
 
   const MCInstrDesc &MCID = MII.get(Inst.getOpcode());
-  RISCVII::VConstraintType Constraints =
-      RISCVII::getConstraint(MCID.TSFlags);
+  RISCVII::VConstraintType Constraints = RISCVII::getConstraint(MCID.TSFlags);
   if (Constraints == RISCVII::NoConstraint)
     return false;
 


        


More information about the llvm-commits mailing list