diff options
author | Dale Johannesen <dalej@apple.com> | 2008-02-14 23:35:16 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-02-14 23:35:16 +0000 |
commit | 161badc0f9cb57829b7a6b070a14ffa76ef32981 (patch) | |
tree | dfe018bb9bdd766ec53dd61d3679b1c160f85cd8 /lib/Target/CellSPU/SPUSubtarget.h | |
parent | 351a3f214be8d61df7c4ee87e4604c9d0fd132a4 (diff) | |
download | external_llvm-161badc0f9cb57829b7a6b070a14ffa76ef32981.zip external_llvm-161badc0f9cb57829b7a6b070a14ffa76ef32981.tar.gz external_llvm-161badc0f9cb57829b7a6b070a14ffa76ef32981.tar.bz2 |
Rewrite tblgen handling of subtarget features so
it follows the order of the enum, not alphabetical.
The motivation is to make -mattr=+ssse3,+sse41
select SSE41 as it ought to. Added "ignored"
enum values of 0 to PPC and SPU to avoid compiler
warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU/SPUSubtarget.h')
-rw-r--r-- | lib/Target/CellSPU/SPUSubtarget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/CellSPU/SPUSubtarget.h b/lib/Target/CellSPU/SPUSubtarget.h index 2ee7bb8..51dd44c 100644 --- a/lib/Target/CellSPU/SPUSubtarget.h +++ b/lib/Target/CellSPU/SPUSubtarget.h @@ -26,6 +26,7 @@ namespace llvm { namespace SPU { enum { + PROC_NONE, DEFAULT_PROC }; } |