[all-commits] [llvm/llvm-project] 36eedf: [PowerPC] Fix powerpcspe subtarget enablement in l...

Justin Hibbits via All-commits all-commits at lists.llvm.org
Tue Jan 14 20:09:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 36eedfcb3cea6d4fb0c5998e63596502eb7d32f0
      https://github.com/llvm/llvm-project/commit/36eedfcb3cea6d4fb0c5998e63596502eb7d32f0
  Author: Justin Hibbits <chmeeedalf at gmail.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPC.td
    M llvm/lib/Target/PowerPC/PPCSubtarget.cpp

  Log Message:
  -----------
  [PowerPC] Fix powerpcspe subtarget enablement in llvm backend

Summary:
As currently written, -target powerpcspe will enable SPE regardless of
disabling the feature later on in the command line.  Instead, change
this to just set a default CPU to 'e500' instead of a generic CPU.

As part of this, add FeatureSPE to the e500 definition.

Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D72673




More information about the All-commits mailing list