[all-commits] [llvm/llvm-project] ee3e01: [Clang][ARM] Define __VFP_FP__ macro unconditionally

Victor Campos via All-commits all-commits at lists.llvm.org
Wed Apr 21 07:04:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee3e01627ff876ef2225d691fc4d0a127c4abc78
      https://github.com/llvm/llvm-project/commit/ee3e01627ff876ef2225d691fc4d0a127c4abc78
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

  Changed paths:
    M clang/lib/Basic/Targets/ARM.cpp
    M clang/test/Preprocessor/arm-target-features.c

  Log Message:
  -----------
  [Clang][ARM] Define __VFP_FP__ macro unconditionally

Clang only defines __VFP_FP__ when the FPU is enabled. However, gcc
defines it unconditionally.

This patch aligns Clang with gcc.

Reviewed By: peter.smith, rengolin

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




More information about the All-commits mailing list