aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-02-14 23:35:16 +0000
committerDale Johannesen <dalej@apple.com>2008-02-14 23:35:16 +0000
commitdb01c8ba26f288636d3f574a96af3499ee6d2579 (patch)
treedfe018bb9bdd766ec53dd61d3679b1c160f85cd8 /lib/Target/PowerPC/PPCSubtarget.h
parent9b03daa2a3a668e4313e0d869bb10aad5b08262a (diff)
downloadexternal_llvm-db01c8ba26f288636d3f574a96af3499ee6d2579.zip
external_llvm-db01c8ba26f288636d3f574a96af3499ee6d2579.tar.gz
external_llvm-db01c8ba26f288636d3f574a96af3499ee6d2579.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/PowerPC/PPCSubtarget.h')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h
index c55e097..be4c21c 100644
--- a/lib/Target/PowerPC/PPCSubtarget.h
+++ b/lib/Target/PowerPC/PPCSubtarget.h
@@ -27,6 +27,7 @@ namespace llvm {
namespace PPC {
// -m directive values.
enum {
+ DIR_NONE,
DIR_32,
DIR_601,
DIR_602,