[PATCH] D70466: [PowerPC] Separate Features that are known to be Power9 specific from Future CPU

qshanz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 02:41:04 PST 2019


steven.zhang added a comment.

The feature list here assume that, new processor will contain superset of features of those that came before it. And we are trying to break the assumption here. Can we do it another way. That is, keep the TD unchanged and check the CPU Directive in PPCSubtarget ? i.e.

  PPCSubtarget::vectorsUseTwoUnits() const { return VectorsUseTwoUnits && DarwinDirective == PPC::DIR_PWR9; }


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

https://reviews.llvm.org/D70466





More information about the llvm-commits mailing list