[llvm-commits] CVS: llvm/include/llvm/ADT/BitVector.h

Anton Korobeynikov asl at math.spbu.ru
Wed Apr 4 14:15:13 PDT 2007



Changes in directory llvm/include/llvm/ADT:

BitVector.h updated: 1.18 -> 1.19
---
Log message:

Properly emit range comparisons for switch cases, where neighbour cases 
go to the same destination. Now we're producing really good code for 
switch-lower-feature.ll testcase


---
Diffs of the changes:  (+2 -0)

 BitVector.h |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/include/llvm/ADT/BitVector.h
diff -u llvm/include/llvm/ADT/BitVector.h:1.18 llvm/include/llvm/ADT/BitVector.h:1.19
--- llvm/include/llvm/ADT/BitVector.h:1.18	Mon Mar 19 21:10:56 2007
+++ llvm/include/llvm/ADT/BitVector.h	Wed Apr  4 16:14:49 2007
@@ -15,6 +15,8 @@
 #define LLVM_ADT_BITVECTOR_H
 
 #include "llvm/Support/MathExtras.h"
+#include <algorithm>
+#include <cstdlib>
 
 namespace llvm {
 






More information about the llvm-commits mailing list