[PATCH] D16677: Removed incorrect FeatureVFPOnlySP for Cortex-R7

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 01:44:05 PST 2016


SjoerdMeijer created this revision.
SjoerdMeijer added a reviewer: t.p.northover.
SjoerdMeijer added a subscriber: llvm-commits.
SjoerdMeijer set the repository for this revision to rL LLVM.

Removed incorrect FeatureVFPOnlySP from the Cortex-R7 processor model description and changed the regression test accordingly.

Repository:
  rL LLVM

http://reviews.llvm.org/D16677

Files:
  lib/Target/ARM/ARM.td
  test/CodeGen/ARM/build-attributes.ll

Index: test/CodeGen/ARM/build-attributes.ll
===================================================================
--- test/CodeGen/ARM/build-attributes.ll
+++ test/CodeGen/ARM/build-attributes.ll
@@ -1131,16 +1131,15 @@
 ; CORTEX-R7:  .eabi_attribute 7, 82
 ; CORTEX-R7:  .eabi_attribute 8, 1
 ; CORTEX-R7:  .eabi_attribute 9, 2
-; CORTEX-R7:  .fpu vfpv3xd
+; CORTEX-R7:  .fpu vfpv3-d16-fp16
 ; CORTEX-R7-NOT:   .eabi_attribute 19
 ;; We default to IEEE 754 compliance
 ; CORTEX-R7:  .eabi_attribute 20, 1
 ; CORTEX-R7:  .eabi_attribute 21, 1
 ; CORTEX-R7-NOT:  .eabi_attribute 22
 ; CORTEX-R7:  .eabi_attribute 23, 3
 ; CORTEX-R7:  .eabi_attribute 24, 1
 ; CORTEX-R7:  .eabi_attribute 25, 1
-; CORTEX-R7:  .eabi_attribute 27, 1
 ; CORTEX-R7-NOT:  .eabi_attribute 28
 ; CORTEX-R7:  .eabi_attribute 36, 1
 ; CORTEX-R7:  .eabi_attribute 38, 1
Index: lib/Target/ARM/ARM.td
===================================================================
--- lib/Target/ARM/ARM.td
+++ lib/Target/ARM/ARM.td
@@ -618,7 +618,6 @@
 def : ProcessorModel<"cortex-r7",   CortexA8Model,      [ARMv7r, ProcR7,
                                                          FeatureHasRAS,
                                                          FeatureVFP3,
-                                                         FeatureVFPOnlySP,
                                                          FeatureD16,
                                                          FeatureFP16,
                                                          FeatureMP,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16677.46248.patch
Type: text/x-patch
Size: 1512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160128/2cc6b64e/attachment.bin>


More information about the llvm-commits mailing list