File restore-llvm10-abi.patch of Package llvm10
diff --git a/include/llvm/Analysis/ValueLattice.h b/include/llvm/Analysis/ValueLattice.h
index 415c32e..b8e538a 100644
--- a/include/llvm/Analysis/ValueLattice.h
+++ b/include/llvm/Analysis/ValueLattice.h
@@ -31,6 +31,11 @@ class ValueLatticeElement {
/// "nothing known yet".
unknown,
+ /// This Value is an UndefValue constant or produces undef. Undefined values
+ /// can be merged with constants (or single element constant ranges),
+ /// assuming all uses of the result will be replaced.
+ undef,
+
/// This Value has a specific constant value. (For constant integers,
/// constantrange is used instead. Integer typed constantexprs can appear
/// as constant.)
@@ -45,12 +50,7 @@ class ValueLatticeElement {
constantrange,
/// We can not precisely model the dynamic values this value might take.
- overdefined,
-
- /// This Value is an UndefValue constant or produces undef. Undefined values
- /// can be merged with constants (or single element constant ranges),
- /// assuming all uses of the result will be replaced.
- undef
+ overdefined
};
ValueLatticeElementTy Tag;