[PATCH] D21432: [ARM] Do not test for CPUs, use SubtargetFeatures (Part 1). NFC

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 11:08:32 PDT 2016


rengolin accepted this revision.
rengolin added a reviewer: rengolin.
rengolin added a comment.

I'm happy with the patch, too. LGTM. Thanks!


================
Comment at: lib/Target/ARM/ARMSubtarget.h:221-237
@@ -220,1 +220,19 @@
 
+  /// If true, if conversion may decide to leave some instructions unpredicated.
+  bool IsProfitableToUnpredicate;
+
+  /// If true, VMOV will be favored over VGETLNi32.
+  bool HasSlowVGETLNi32;
+
+  /// If true, VMOV will be favored over VDUP.
+  bool HasSlowVDUP32;
+
+  /// If true, VMOVSR will be favored over VMOVDRR.
+  bool PreferVMOVSR;
+
+  /// If true, ISHST barriers will be used for Release semantics.
+  bool PreferISHST;
+
+  /// If true, VMOVRS, VMOVSR and VMOVS will be converted from VFP to NEON.
+  bool UseNEONForFPMovs;
+
----------------
rovka wrote:
> MatzeB wrote:
> > I find member initializers a lot less error prone than having the initializers in a separate method. But we can fix that in another commit.
> Ok, I'll try to look into that after I'm done with the subtarget features.
Would be good to create a bugzilla about this, so we don't forget.


http://reviews.llvm.org/D21432





More information about the llvm-commits mailing list