[PATCH] D85165: [X86][MC][Target] Initial backend support a tune CPU to support -mtune

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 13:37:11 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/include/llvm/Target/Target.td:1515
+
+  // HasTuneCPU - Controls whether this target supports a tune CPU.
+  int HasTuneCPU = 0;
----------------
This should elaborate more on what  tune cpu is


================
Comment at: llvm/include/llvm/Target/Target.td:1582
+
+  // TuneFeatures - list of features for tuning for this CPU.
+  list<SubtargetFeature> TuneFeatures = tunef;
----------------
Ditto


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85165/new/

https://reviews.llvm.org/D85165



More information about the llvm-commits mailing list