[all-commits] [llvm/llvm-project] fdaa23: [RISCV] Remove VConstraintType enum and getConstra...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Apr 20 00:24:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fdaa23a7bd4e500f72df1eb02c236f79084ac17a
      https://github.com/llvm/llvm-project/commit/fdaa23a7bd4e500f72df1eb02c236f79084ac17a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h

  Log Message:
  -----------
  [RISCV] Remove VConstraintType enum and getConstraint. NFC

Fold the 3 flag defines into the enum that defines TSFlags. Then
we don't have to extract them we can just test the bits directly
in TSFlags.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D148765




More information about the All-commits mailing list