[all-commits] [llvm/llvm-project] de7bf7: [RISCV] Add error checking for extensions missing ...

Simon Cook via All-commits all-commits at lists.llvm.org
Wed Jul 15 01:25:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: de7bf722c23a1ab006bd306165c094669071577f
      https://github.com/llvm/llvm-project/commit/de7bf722c23a1ab006bd306165c094669071577f
  Author: Simon Cook <simon.cook at embecosm.com>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
    M clang/test/Driver/riscv-arch.c

  Log Message:
  -----------
  [RISCV] Add error checking for extensions missing separating underscores

Currently if two multi-letter extensions are provided in a -march=
string, the verification code checks the version of the first and
consumes the second, resulting in that part of the architecture
string being ignored. This adds a test that when a version number has
been parsed for an extension, there are no subsequent characters.

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




More information about the All-commits mailing list