summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-10-31 16:14:06 +0000
committerNadav Rotem <nrotem@apple.com>2012-10-31 16:14:06 +0000
commit1265ea8f8ddc6bccc0cfba27f969c73c48255b91 (patch)
tree22ff49d71839e531f6e505fb0aba9bb1248fa5c7 /llvm/lib/Transforms
parent4fef2fec3dd83b05d8b7ab553db33ed2a737cc9e (diff)
downloadbcm5719-llvm-1265ea8f8ddc6bccc0cfba27f969c73c48255b91.tar.gz
bcm5719-llvm-1265ea8f8ddc6bccc0cfba27f969c73c48255b91.zip
Remove enum values since they are not used anymore.
llvm-svn: 167131
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index fd728bd6168..40235ef1043 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -212,12 +212,12 @@ public:
/// This represents the kinds of reductions that we support.
enum ReductionKind {
- NoReduction = -1, /// Not a reduction.
- IntegerAdd = 0, /// Sum of numbers.
- IntegerMult = 1, /// Product of numbers.
- IntegerOr = 2, /// Bitwise or logical OR of numbers.
- IntegerAnd = 3, /// Bitwise or logical AND of numbers.
- IntegerXor = 4 /// Bitwise or logical XOR of numbers.
+ NoReduction, /// Not a reduction.
+ IntegerAdd, /// Sum of numbers.
+ IntegerMult, /// Product of numbers.
+ IntegerOr, /// Bitwise or logical OR of numbers.
+ IntegerAnd, /// Bitwise or logical AND of numbers.
+ IntegerXor /// Bitwise or logical XOR of numbers.
};
/// This POD struct holds information about reduction variables.
OpenPOWER on IntegriCloud