[all-commits] [llvm/llvm-project] da3f2b: [ARM][MVE] Fix a corner case of checking for MVE-I...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Tue Feb 11 04:03:53 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: da3f2b414ace1f24054ae9255f811b653d9cff99
      https://github.com/llvm/llvm-project/commit/da3f2b414ace1f24054ae9255f811b653d9cff99
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2020-02-11 (Tue, 11 Feb 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    M clang/test/Driver/arm-mfpu.c
    M clang/test/Preprocessor/arm-target-features.c

  Log Message:
  -----------
  [ARM][MVE] Fix a corner case of checking for MVE-I with -mfpu=none

-march=armv8.1-m.main+mve.fp+nomve -mfpu=none should disable FP
registers and instructions moving to/from FP registers.

This patch fixes the case when "+mve" (added to the feature list by
"+mve.fp"), is followed by "-mve" (added by "+nomve").

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




More information about the All-commits mailing list