[all-commits] [llvm/llvm-project] 3627c9: [ARM][TargetParser] Improve handling of dependenci...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Wed Feb 5 08:08:06 PST 2020


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

  Changed paths:
    M clang/lib/Basic/Targets/ARM.cpp
    M clang/test/Driver/arm-mfpu.c
    M clang/test/Preprocessor/arm-target-features.c
    M llvm/lib/Support/ARMTargetParser.cpp
    M llvm/unittests/Support/TargetParserTest.cpp

  Log Message:
  -----------
  [ARM][TargetParser] Improve handling of dependencies between target features

The patch at https://reviews.llvm.org/D64048 added "negative"
dependency handling in `ARM::appendArchExtFeatures`: feature "noX"
removes all features, which imply "X".

This patch adds the "positive" handling: feature "X" adds all the
feature strings implied by "X".

(This patch also comes from the suggestion here
https://reviews.llvm.org/D72633#inline-658582)

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




More information about the All-commits mailing list