[all-commits] [llvm/llvm-project] 299d3d: [RISCV] Simplify some control flow in RISCVISAInfo...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Jul 1 18:23:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 299d3ddc618e9a95aa1050e4c1a7dfddbcd94395
      https://github.com/llvm/llvm-project/commit/299d3ddc618e9a95aa1050e4c1a7dfddbcd94395
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/TargetParser/RISCVISAInfo.cpp

  Log Message:
  -----------
  [RISCV] Simplify some control flow in RISCVISAInfo::parseArchString. NFC

Merge handling of the baseline ISA into the switch that checks if
the baseline is valid.

Invert a condition to allow a better early out to reduce curly braces.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list