Typo in an unused field.
[oota-llvm.git] / include / llvm / Target / TargetRegisterInfo.h
index 7d8a46b49ac9d587446fcfe78945adfade1e46e2..6ddd36451b5c1ebafc01f9a13d14f17950462118 100644 (file)
@@ -205,7 +205,7 @@ struct TargetRegisterInfoDesc {
 /// Each TargetRegisterClass has a per register weight, and weight
 /// limit which must be less than the limits of its pressure sets.
 struct RegClassWeight {
-  unsigned RegWeigt;
+  unsigned RegWeight;
   unsigned WeightLimit;
 };