For PR950:
[oota-llvm.git] / lib / Transforms / Utils / SimplifyCFG.cpp
index 867455e3e738d7c6a95efa35e7e2a4ea87e4c230..de2ab0645c0775e49daafadaeb7963fb156f966e 100644 (file)
@@ -1160,7 +1160,7 @@ namespace {
   /// applications that sort ConstantInt's to ensure uniqueness.
   struct ConstantIntOrdering {
     bool operator()(const ConstantInt *LHS, const ConstantInt *RHS) const {
-      return LHS->getRawValue() < RHS->getRawValue();
+      return LHS->getZExtValue() < RHS->getZExtValue();
     }
   };
 }