PredCC is meant to be 2 bits wide, like PredCC1.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 12 Aug 2009 18:35:50 +0000 (18:35 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 12 Aug 2009 18:35:50 +0000 (18:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78829 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/Thumb2SizeReduction.cpp

index c9f3ad2de2da6d781eb47758e19034e9f5b9c5d0..fd6bcf0f5ed9f17e878bd667307da05fd5ab5490 100644 (file)
@@ -48,7 +48,7 @@ namespace {
     unsigned PredCC1  : 2; // 0 - If predicated, cc is on and vice versa.
                            // 1 - No cc field.
                            // 2 - Always set CPSR.
-    unsigned PredCC2  : 1;
+    unsigned PredCC2  : 2;
     unsigned Special  : 1; // Needs to be dealt with specially
   };